diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-13 05:50:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-13 05:50:34 +0100 |
commit | 4b718beb7d5fd4e0b5d741ff3a4c5c570519195e (patch) | |
tree | eb9b412ce4b9457ccbb2a6481d80e5f407fdd499 /dev-lang | |
parent | 241157fae4eae88cefc48b4644bad8b9e53583dc (diff) |
gentoo auto-resync : 13:05:2023 - 05:50:34
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/Manifest.gz | bin | 19479 -> 19478 bytes | |||
-rw-r--r-- | dev-lang/zig-bin/Manifest | 2 | ||||
-rw-r--r-- | dev-lang/zig-bin/zig-bin-0.10.1-r2.ebuild | 13 | ||||
-rw-r--r-- | dev-lang/zig/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/zig/zig-0.10.1-r2.ebuild | 13 | ||||
-rw-r--r-- | dev-lang/zig/zig-9999.ebuild | 32 |
6 files changed, 53 insertions, 11 deletions
diff --git a/dev-lang/Manifest.gz b/dev-lang/Manifest.gz Binary files differindex ccdf2d40979b..59ae6d66ff4a 100644 --- a/dev-lang/Manifest.gz +++ b/dev-lang/Manifest.gz diff --git a/dev-lang/zig-bin/Manifest b/dev-lang/zig-bin/Manifest index 1c9454b41599..133c99febb54 100644 --- a/dev-lang/zig-bin/Manifest +++ b/dev-lang/zig-bin/Manifest @@ -3,5 +3,5 @@ DIST zig-linux-armv7a-0.10.1.tar.xz 50718132 BLAKE2B 76ef431ef8957272b992f6b8619 DIST zig-linux-i386-0.10.1.tar.xz 48367388 BLAKE2B 482ec9e42d9036177f41c459faf82c79ba525f35ed14150d97af9110efab3e9894b8c64f92f9257b224893179134e43306c985ad6a04ae6a7d427d14ef4e7a3f SHA512 97345a8f7f15a83e51635ec667e869833a597511a1b004fa4ab19d78ad234e05e8344823e0c623510c7c5dbeef447d13636223e8d339f6d53f2eca053852a8d3 DIST zig-linux-riscv64-0.10.1.tar.xz 42196008 BLAKE2B a7ae37b1d1db1281b09bbd7e35ecaf390bbe28774bd1a4fa76b4468255be19b07fb514326d48576946f3c4eb04dcef34d6ab14f550407aa33803754fabbd848c SHA512 1a1da96924fa4a16a53721017eadc3363859a4f53671e27b11588200d0302d9065de9ba517ad40940aad98725e617cf853f2e83f732a4e23c33deacb99487ad0 DIST zig-linux-x86_64-0.10.1.tar.xz 44085596 BLAKE2B d689a469dbbe790593a561dd4df01c506212754c48be7de03773c7e690cbab197af10d639e80148f3343204ddf9ecfe09a88a62fb6ef63a262bcc2dd79fecd34 SHA512 1cf88a492b1a47800e213b8801477f4ffabf269f960d27d1849c5aec805b5db3768c83d4daa4a738532b1b7367e8c6812e3eea47c205ea732d7a6269a47e16dc -EBUILD zig-bin-0.10.1-r2.ebuild 2156 BLAKE2B dba9afa322e198097f13282f44815e830a33a1d778ee707f059de306b208a52c975c9ab443ce4182b804e38634eb1de2a51a68d34b37a32528c0dcbae15e6ce6 SHA512 3c1ac27fc3ab62587f78177fad2671038a0f0981dbea2d6b63edefdb3f18394943e19e7b408edc8a2f51c11cceb99dea0bc36b0c9f0d2c509d1d6a8e3c9fcfe5 +EBUILD zig-bin-0.10.1-r2.ebuild 3001 BLAKE2B 4496d25a015e69d858fc0d086740b233de45d8ad6cbd1dc324101d0ed8227e44b2e8b4bd2ba4205ff7750b112a004a0ff83ad3a27b90e5b4f2758e61fb5987eb SHA512 b572c7ea851ca635b5b91f87e74c3fd4b3a37376b39f9714df87e1625d9669ad8c3061f324a7628a40371c6a4941df631dc3d50a58d1eb3fe5e525f37afc7b0f MISC metadata.xml 541 BLAKE2B 6f5c7fbf759f0430f69073a17a0dae4b8bebf335b54c3b43da6b24104dc3de05a3b686cddbbd31e4dae1fc31695a2f08d000d22437ed6f1847de8fa95e3b1952 SHA512 d49cf0a8ad76ac9a6f6fb091effddbbcd812b56f91df6d3c782e15197cb4ff4423fb1076671a232aabcb9833af19ef8c820ad6df312a1e4d72e665680314c083 diff --git a/dev-lang/zig-bin/zig-bin-0.10.1-r2.ebuild b/dev-lang/zig-bin/zig-bin-0.10.1-r2.ebuild index 745201699674..4674b943f38f 100644 --- a/dev-lang/zig-bin/zig-bin-0.10.1-r2.ebuild +++ b/dev-lang/zig-bin/zig-bin-0.10.1-r2.ebuild @@ -12,7 +12,18 @@ SRC_URI=" riscv? ( https://ziglang.org/download/${PV}/zig-linux-riscv64-${PV}.tar.xz ) x86? ( https://ziglang.org/download/${PV}/zig-linux-i386-${PV}.tar.xz )" -LICENSE="MIT" +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" SLOT="$(ver_cut 1-2)" KEYWORDS="-* ~amd64 ~arm ~arm64 ~riscv ~x86" IUSE="doc" diff --git a/dev-lang/zig/Manifest b/dev-lang/zig/Manifest index d1a3b7640e20..89501a0b4d0b 100644 --- a/dev-lang/zig/Manifest +++ b/dev-lang/zig/Manifest @@ -1,5 +1,5 @@ AUX zig-0.10.0-build-dir-install-stage3.patch 1430 BLAKE2B cca909207cadfe1c9b31b9481a705882506363aaf41db7672f42cc66937f85f7b2f2b53346d29a4d748d1aef05e77efcc6e668ac498a7d172a6d8654034d5c4a SHA512 6704adb1f146ed78c8030aad2c739e30d0ec7ffda40273b5520914b16cc67d497afd9b1b59a1acfbb0097d7f5b0a5517973c45ef43ccbc35d8af051500577117 DIST zig-0.10.1.tar.xz 15143112 BLAKE2B 4954d95ad763000eedf73a78e62bc0e99d65bba91c7127cdf1ea4503eb67817265daf572f645b7efbe9e24087e690b2768f0b2bc6c43b5fd76eab33143e964fe SHA512 d443adf61556bc95470537c6b0371a0ac99d19a06b15635cf1e5055ae7849039680c9006105e06e1bd6ba0fc12da14c54c1d28ac597c7dee17ee3a5cd9cf79f8 -EBUILD zig-0.10.1-r2.ebuild 5020 BLAKE2B e1bd6c9a3f256bd6a0a8d3ed3ef0313a30b1570f14e838d496ce618f6104af570b201d88bd6f31711ef55eb94d96796be230ae7c1d04b9eb7a0dd1ffc5188be0 SHA512 ad280c38779573a03b29b182a7b61aa98b3260811240c3ce19716e98b13b1dd9dc4865a265d5bfc048b1ae38026aded35bc25b2ffbbddb6aff7e181f5694c850 -EBUILD zig-9999.ebuild 3730 BLAKE2B f50bbad9233d63114c2dda8b54d0f2d082f8be26a0562e72cad8fc5148af99900b6c3621c6f82d2c042cd92d078686cb693b7356c3b44c69fab4fbf9db81e1a2 SHA512 628a39830028519868017083b11f0194c0144a7ebb4ca4f762230454577b80f1e360420dd2d8832d42808b1028e66aedbd039699b5e8d394a2c46f4c1e1a7eab +EBUILD zig-0.10.1-r2.ebuild 5865 BLAKE2B e8cff6a84cf4003f573e16d3db91c3f32d535adef9209cb2e2831a2fb7a0a1f9937291c3133999feb4f9dc36bb63b2e7e90951ca650e6b9e7c7551cfd743a7d5 SHA512 b1e009bc0771142d9d26d1f66cfbb38a5e4f70d414a5224c2c21965c0a4ed6d95abb8a59bd234c623b25f6ad985cdc0c4efe6974c84c92f0aa19136864a7d003 +EBUILD zig-9999.ebuild 4818 BLAKE2B 168b99d3652501b7f1c53237f802cba10ca8bac1cf7ddd92f441e96e3f6e5b3cad3b3e3e57cb25345edb465f9b9174c1d0a01505ba415db345c868d727af552c SHA512 030d78dc79772d8ca1f89c997fc7d0d8fcc1799d49bb42482bbfe82fbda219d1d61a2a116bd0a1524c9f7453ba521d39ae65a6ec7ece5494f1d02df10584d95a MISC metadata.xml 541 BLAKE2B 6f5c7fbf759f0430f69073a17a0dae4b8bebf335b54c3b43da6b24104dc3de05a3b686cddbbd31e4dae1fc31695a2f08d000d22437ed6f1847de8fa95e3b1952 SHA512 d49cf0a8ad76ac9a6f6fb091effddbbcd812b56f91df6d3c782e15197cb4ff4423fb1076671a232aabcb9833af19ef8c820ad6df312a1e4d72e665680314c083 diff --git a/dev-lang/zig/zig-0.10.1-r2.ebuild b/dev-lang/zig/zig-0.10.1-r2.ebuild index fc06e3a6e545..6200470dec94 100644 --- a/dev-lang/zig/zig-0.10.1-r2.ebuild +++ b/dev-lang/zig/zig-0.10.1-r2.ebuild @@ -16,7 +16,18 @@ else KEYWORDS="~amd64 ~arm ~arm64" fi -LICENSE="MIT" +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" SLOT="$(ver_cut 1-2)" IUSE="doc" diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild index 2fbe3863ef40..dd8650c3aa2c 100644 --- a/dev-lang/zig/zig-9999.ebuild +++ b/dev-lang/zig/zig-9999.ebuild @@ -16,7 +16,18 @@ else KEYWORDS="~amd64 ~arm ~arm64" fi -LICENSE="MIT" +# project itself: MIT +# There are bunch of projects under "lib/" folder that are needed for cross-compilation. +# Files that are unnecessary for cross-compilation are removed by upstream +# and therefore their licenses (if any special) are not included. +# lib/libunwind: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxxabi: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libcxx: Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) +# lib/libc/wasi: || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain +# lib/libc/musl: MIT BSD-2 +# lib/libc/mingw: ZPL public-domain BSD-2 ISC HPND +# lib/libc/glibc: BSD HPND ISC inner-net LGPL-2.1+ +LICENSE="MIT Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT ) || ( Apache-2.0-with-LLVM-exceptions Apache-2.0 MIT BSD-2 ) public-domain BSD-2 ZPL ISC HPND BSD inner-net LGPL-2.1+" SLOT="$(ver_cut 1-2)" IUSE="doc" @@ -105,6 +116,7 @@ src_configure() { -DZIG_USE_LLVM_CONFIG=ON -DCMAKE_PREFIX_PATH="$(get_llvm_prefix ${LLVM_MAX_SLOT})" -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/$(get_libdir)/zig/${PV}" + -DZIG_NO_LANGREF="$(usex !doc ON OFF)" ) cmake_src_configure @@ -115,17 +127,25 @@ src_compile() { if use doc; then cd "${BUILD_DIR}" || die - edo ./zig2 run ../doc/docgen.zig -- --zig ./zig2 ../doc/langref.html.in "${S}/langref.html" - edo ./zig2 test ../lib/std/std.zig --zig-lib-dir ../lib -fno-emit-bin -femit-docs="${S}/std" + mv ./stage3/doc/langref.html "${S}" || die + edo ./stage3/bin/zig test ../lib/std/std.zig --zig-lib-dir ../lib -fno-emit-bin -femit-docs="${S}/std" fi } src_test() { cd "${BUILD_DIR}" || die local ZIG_TEST_ARGS="-Dstatic-llvm=false -Denable-llvm -Dskip-non-native \ - -Drelease -Dtarget=$(get_zig_target) -Dcpu=$(get_zig_mcpu)" - # TBF zig2 -> stage3/bin/zig when (if) https://github.com/ziglang/zig/pull/14255 will be merged - edo ./zig2 build test ${ZIG_TEST_ARGS} + -Doptimize=ReleaseSafe -Dtarget=$(get_zig_target) -Dcpu=$(get_zig_mcpu)" + local ZIG_TEST_STEPS=( + test-cases test-fmt test-behavior test-compiler-rt test-universal-libc test-compare-output + test-standalone test-c-abi test-link test-stack-traces test-cli test-asm-link test-translate-c + test-run-translated-c test-std + ) + + local step + for step in "${ZIG_TEST_STEPS[@]}" ; do + edob ./stage3/bin/zig build ${step} ${ZIG_TEST_ARGS} + done } src_install() { |