Page MenuHomeSolus

initial inclusion of ziglang
ClosedPublic

Authored by nazar on Jan 22 2022, 11:22 PM.
Tags
None
Referenced Files
F10983449: D12744.diff
Sun, Jul 23, 2:24 PM
F10891118: D12744.id31049.diff
Jun 28 2023, 9:46 PM
F10890724: D12744.id31216.diff
Jun 28 2023, 4:04 PM
F10890126: D12744.id31139.diff
Jun 28 2023, 11:20 AM
F10888606: D12744.id31044.diff
Jun 27 2023, 5:16 AM
F10888540: D12744.id31128.diff
Jun 27 2023, 4:19 AM
F10888086: D12744.id31043.diff
Jun 26 2023, 8:56 PM
F10885481: D12744.diff
Jun 25 2023, 11:32 AM
Subscribers
None

Details

Summary

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. Resolves T9346

Test Plan

$workdir/zig init-exe
$workdir/zig build run
$workdir/zig build test

Diff Detail

Repository
R5456 ziglang
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Few small changes needed

package.yml
14

cmake is in system.devel component. Anything in system.base or system.devel doesn't need to be added to builddeps.

16

llvm-clang-devel will bring this in already

17

Won't need the explicit llvm rundep here as libLLVM-13.so is listed in abi_used_libs

20

Could we also pass -DZIG_PREFER_CLANG_CPP_DYLIB=ON to link against libclang-cpp.so as well

This revision now requires changes to proceed.Jan 22 2022, 11:42 PM

applying requested changes

nazar edited the test plan for this revision. (Show Details)

add checks

Just two nits. Otherwise looks good to me, can land post sync.

package.yml
12

nit : correct number of spaces

16

nit: our cmake macro sets RelWithDebug, use optimize : speed if you want to build with -O3.

This revision now requires changes to proceed.Jan 26 2022, 4:36 PM

set build_type to RelWithDebug

Sorry I mean just remove CMAKE_BUILD_TYPE, it gets set in the macro : see https://github.com/getsolus/ypkg/blob/master/ypkg2/rc.yml#L14

CMAKE_BUILD_TYPE is not necessary

This revision is now accepted and ready to land.Feb 1 2022, 9:42 PM
This revision was automatically updated to reflect the committed changes.