| author | |
| committer | |
| log | c8edfbe1d580fe3bfa0f95d0ec3a930cedce8711 |
| tree | 9ad111a36c0199db00b705d29d868465dc4c2e56 |
| parent | fd3657bf8c3a2861e1b35cf36d469d342d853880 |
| parent | 953ca759c2446adc21648a9017b656ac84171291 |
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/3088923 files changed, 173 insertions(+), 0 deletions(-)
.forgejo/workflows/ci.yaml+21| ... | @@ -197,6 +197,27 @@ jobs: | ... | @@ -197,6 +197,27 @@ jobs: |
| 197 | run: sh ci/x86_64-linux-release.sh | 197 | run: sh ci/x86_64-linux-release.sh |
| 198 | timeout-minutes: 360 | 198 | timeout-minutes: 360 |
| 199 | 199 | ||
| 200 | x86_64-netbsd-debug: | ||
| 201 | runs-on: [self-hosted, x86_64-netbsd] | ||
| 202 | steps: | ||
| 203 | - name: Checkout | ||
| 204 | uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28 | ||
| 205 | with: | ||
| 206 | fetch-depth: 0 | ||
| 207 | - name: Build and Test | ||
| 208 | run: sh ci/x86_64-netbsd-debug.sh | ||
| 209 | timeout-minutes: 120 | ||
| 210 | x86_64-netbsd-release: | ||
| 211 | runs-on: [self-hosted, x86_64-netbsd] | ||
| 212 | steps: | ||
| 213 | - name: Checkout | ||
| 214 | uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28 | ||
| 215 | with: | ||
| 216 | fetch-depth: 0 | ||
| 217 | - name: Build and Test | ||
| 218 | run: sh ci/x86_64-netbsd-release.sh | ||
| 219 | timeout-minutes: 120 | ||
| 220 | |||
| 200 | x86_64-openbsd-debug: | 221 | x86_64-openbsd-debug: |
| 201 | runs-on: [self-hosted, x86_64-openbsd] | 222 | runs-on: [self-hosted, x86_64-openbsd] |
| 202 | steps: | 223 | steps: |
ci/aarch64-linux-debug.sh+1| ... | @@ -47,6 +47,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -47,6 +47,7 @@ stage3-debug/bin/zig build test docs \ |
| 47 | --maxrss ${ZSF_MAX_RSS:-0} \ | 47 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 48 | -Dstatic-llvm \ | 48 | -Dstatic-llvm \ |
| 49 | -Dskip-non-native \ | 49 | -Dskip-non-native \ |
| 50 | -Dskip-test-incremental \ | ||
| 50 | -Dtarget=native-native-musl \ | 51 | -Dtarget=native-native-musl \ |
| 51 | --search-prefix "$PREFIX" \ | 52 | --search-prefix "$PREFIX" \ |
| 52 | --zig-lib-dir "$PWD/../lib" \ | 53 | --zig-lib-dir "$PWD/../lib" \ |
ci/aarch64-linux-release.sh+1| ... | @@ -47,6 +47,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -47,6 +47,7 @@ stage3-release/bin/zig build test docs \ |
| 47 | --maxrss ${ZSF_MAX_RSS:-0} \ | 47 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 48 | -Dstatic-llvm \ | 48 | -Dstatic-llvm \ |
| 49 | -Dskip-non-native \ | 49 | -Dskip-non-native \ |
| 50 | -Dskip-test-incremental \ | ||
| 50 | -Dtarget=native-native-musl \ | 51 | -Dtarget=native-native-musl \ |
| 51 | --search-prefix "$PREFIX" \ | 52 | --search-prefix "$PREFIX" \ |
| 52 | --zig-lib-dir "$PWD/../lib" \ | 53 | --zig-lib-dir "$PWD/../lib" \ |
ci/aarch64-macos-debug.sh+1| ... | @@ -47,6 +47,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -47,6 +47,7 @@ stage3-debug/bin/zig build test docs \ |
| 47 | -Denable-macos-sdk \ | 47 | -Denable-macos-sdk \ |
| 48 | -Dstatic-llvm \ | 48 | -Dstatic-llvm \ |
| 49 | -Dskip-non-native \ | 49 | -Dskip-non-native \ |
| 50 | -Dskip-test-incremental \ | ||
| 50 | --search-prefix "$PREFIX" \ | 51 | --search-prefix "$PREFIX" \ |
| 51 | --test-timeout 2m | 52 | --test-timeout 2m |
| 52 | 53 |
ci/aarch64-macos-release.sh+1| ... | @@ -46,6 +46,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -46,6 +46,7 @@ stage3-release/bin/zig build test docs \ |
| 46 | -Denable-macos-sdk \ | 46 | -Denable-macos-sdk \ |
| 47 | -Dstatic-llvm \ | 47 | -Dstatic-llvm \ |
| 48 | -Dskip-non-native \ | 48 | -Dskip-non-native \ |
| 49 | -Dskip-test-incremental \ | ||
| 49 | --search-prefix "$PREFIX" \ | 50 | --search-prefix "$PREFIX" \ |
| 50 | --test-timeout 2m | 51 | --test-timeout 2m |
| 51 | 52 |
ci/aarch64-windows.ps1+1| ... | @@ -60,6 +60,7 @@ Write-Output "Main test suite..." | ... | @@ -60,6 +60,7 @@ Write-Output "Main test suite..." |
| 60 | --search-prefix "$PREFIX_PATH" ` | 60 | --search-prefix "$PREFIX_PATH" ` |
| 61 | -Dstatic-llvm ` | 61 | -Dstatic-llvm ` |
| 62 | -Dskip-non-native ` | 62 | -Dskip-non-native ` |
| 63 | -Dskip-test-incremental ` | ||
| 63 | -Denable-symlinks-windows ` | 64 | -Denable-symlinks-windows ` |
| 64 | --test-timeout 30m | 65 | --test-timeout 30m |
| 65 | CheckLastExitCode | 66 | CheckLastExitCode |
ci/loongarch64-linux-debug.sh+1| ... | @@ -48,6 +48,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -48,6 +48,7 @@ stage3-debug/bin/zig build test docs \ |
| 48 | --maxrss ${ZSF_MAX_RSS:-0} \ | 48 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 49 | -Dstatic-llvm \ | 49 | -Dstatic-llvm \ |
| 50 | -Dskip-non-native \ | 50 | -Dskip-non-native \ |
| 51 | -Dskip-test-incremental \ | ||
| 51 | -Dtarget=native-native-musl \ | 52 | -Dtarget=native-native-musl \ |
| 52 | --search-prefix "$PREFIX" \ | 53 | --search-prefix "$PREFIX" \ |
| 53 | --zig-lib-dir "$PWD/../lib" \ | 54 | --zig-lib-dir "$PWD/../lib" \ |
ci/loongarch64-linux-release.sh+1| ... | @@ -48,6 +48,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -48,6 +48,7 @@ stage3-release/bin/zig build test docs \ |
| 48 | --maxrss ${ZSF_MAX_RSS:-0} \ | 48 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 49 | -Dstatic-llvm \ | 49 | -Dstatic-llvm \ |
| 50 | -Dskip-non-native \ | 50 | -Dskip-non-native \ |
| 51 | -Dskip-test-incremental \ | ||
| 51 | -Dtarget=native-native-musl \ | 52 | -Dtarget=native-native-musl \ |
| 52 | --search-prefix "$PREFIX" \ | 53 | --search-prefix "$PREFIX" \ |
| 53 | --zig-lib-dir "$PWD/../lib" \ | 54 | --zig-lib-dir "$PWD/../lib" \ |
ci/powerpc64le-linux-debug.sh+1| ... | @@ -48,6 +48,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -48,6 +48,7 @@ stage3-debug/bin/zig build test docs \ |
| 48 | --maxrss ${ZSF_MAX_RSS:-0} \ | 48 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 49 | -Dstatic-llvm \ | 49 | -Dstatic-llvm \ |
| 50 | -Dskip-non-native \ | 50 | -Dskip-non-native \ |
| 51 | -Dskip-test-incremental \ | ||
| 51 | -Dtarget=native-native-musl \ | 52 | -Dtarget=native-native-musl \ |
| 52 | -Dcpu=native+longcall \ | 53 | -Dcpu=native+longcall \ |
| 53 | --search-prefix "$PREFIX" \ | 54 | --search-prefix "$PREFIX" \ |
ci/powerpc64le-linux-release.sh+1| ... | @@ -48,6 +48,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -48,6 +48,7 @@ stage3-release/bin/zig build test docs \ |
| 48 | --maxrss ${ZSF_MAX_RSS:-0} \ | 48 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 49 | -Dstatic-llvm \ | 49 | -Dstatic-llvm \ |
| 50 | -Dskip-non-native \ | 50 | -Dskip-non-native \ |
| 51 | -Dskip-test-incremental \ | ||
| 51 | -Dtarget=native-native-musl \ | 52 | -Dtarget=native-native-musl \ |
| 52 | -Dcpu=native+longcall \ | 53 | -Dcpu=native+longcall \ |
| 53 | --search-prefix "$PREFIX" \ | 54 | --search-prefix "$PREFIX" \ |
ci/s390x-linux-debug.sh+1| ... | @@ -48,6 +48,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -48,6 +48,7 @@ stage3-debug/bin/zig build test docs \ |
| 48 | --maxrss ${ZSF_MAX_RSS:-0} \ | 48 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 49 | -Dstatic-llvm \ | 49 | -Dstatic-llvm \ |
| 50 | -Dskip-non-native \ | 50 | -Dskip-non-native \ |
| 51 | -Dskip-test-incremental \ | ||
| 51 | -Dtarget=native-native-musl \ | 52 | -Dtarget=native-native-musl \ |
| 52 | --search-prefix "$PREFIX" \ | 53 | --search-prefix "$PREFIX" \ |
| 53 | --zig-lib-dir "$PWD/../lib" \ | 54 | --zig-lib-dir "$PWD/../lib" \ |
ci/s390x-linux-release.sh+1| ... | @@ -48,6 +48,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -48,6 +48,7 @@ stage3-release/bin/zig build test docs \ |
| 48 | --maxrss ${ZSF_MAX_RSS:-0} \ | 48 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 49 | -Dstatic-llvm \ | 49 | -Dstatic-llvm \ |
| 50 | -Dskip-non-native \ | 50 | -Dskip-non-native \ |
| 51 | -Dskip-test-incremental \ | ||
| 51 | -Dtarget=native-native-musl \ | 52 | -Dtarget=native-native-musl \ |
| 52 | --search-prefix "$PREFIX" \ | 53 | --search-prefix "$PREFIX" \ |
| 53 | --zig-lib-dir "$PWD/../lib" \ | 54 | --zig-lib-dir "$PWD/../lib" \ |
ci/x86_64-freebsd-debug.sh+1| ... | @@ -53,6 +53,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -53,6 +53,7 @@ stage3-debug/bin/zig build test docs \ |
| 53 | -Dskip-openbsd \ | 53 | -Dskip-openbsd \ |
| 54 | -Dskip-windows \ | 54 | -Dskip-windows \ |
| 55 | -Dskip-darwin \ | 55 | -Dskip-darwin \ |
| 56 | -Dskip-test-incremental \ | ||
| 56 | --search-prefix "$PREFIX" \ | 57 | --search-prefix "$PREFIX" \ |
| 57 | --zig-lib-dir "$PWD/../lib" \ | 58 | --zig-lib-dir "$PWD/../lib" \ |
| 58 | --test-timeout 2m | 59 | --test-timeout 2m |
ci/x86_64-freebsd-release.sh+1| ... | @@ -53,6 +53,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -53,6 +53,7 @@ stage3-release/bin/zig build test docs \ |
| 53 | -Dskip-openbsd \ | 53 | -Dskip-openbsd \ |
| 54 | -Dskip-windows \ | 54 | -Dskip-windows \ |
| 55 | -Dskip-darwin \ | 55 | -Dskip-darwin \ |
| 56 | -Dskip-test-incremental \ | ||
| 56 | --search-prefix "$PREFIX" \ | 57 | --search-prefix "$PREFIX" \ |
| 57 | --zig-lib-dir "$PWD/../lib" \ | 58 | --zig-lib-dir "$PWD/../lib" \ |
| 58 | --test-timeout 2m | 59 | --test-timeout 2m |
ci/x86_64-linux-debug-llvm.sh+1| ... | @@ -62,6 +62,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -62,6 +62,7 @@ stage3-debug/bin/zig build test docs \ |
| 62 | -Dskip-openbsd \ | 62 | -Dskip-openbsd \ |
| 63 | -Dskip-windows \ | 63 | -Dskip-windows \ |
| 64 | -Dskip-darwin \ | 64 | -Dskip-darwin \ |
| 65 | -Dskip-test-incremental \ | ||
| 65 | -Dtarget=native-native-musl \ | 66 | -Dtarget=native-native-musl \ |
| 66 | --search-prefix "$PREFIX" \ | 67 | --search-prefix "$PREFIX" \ |
| 67 | --zig-lib-dir "$PWD/../lib" \ | 68 | --zig-lib-dir "$PWD/../lib" \ |
ci/x86_64-linux-debug.sh+1| ... | @@ -62,6 +62,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -62,6 +62,7 @@ stage3-debug/bin/zig build test docs \ |
| 62 | -Dskip-windows \ | 62 | -Dskip-windows \ |
| 63 | -Dskip-darwin \ | 63 | -Dskip-darwin \ |
| 64 | -Dskip-llvm \ | 64 | -Dskip-llvm \ |
| 65 | -Dskip-test-incremental \ | ||
| 65 | -Dtarget=native-native-musl \ | 66 | -Dtarget=native-native-musl \ |
| 66 | --search-prefix "$PREFIX" \ | 67 | --search-prefix "$PREFIX" \ |
| 67 | --zig-lib-dir "$PWD/../lib" \ | 68 | --zig-lib-dir "$PWD/../lib" \ |
ci/x86_64-linux-release.sh+1| ... | @@ -62,6 +62,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -62,6 +62,7 @@ stage3-release/bin/zig build test docs \ |
| 62 | -fqemu \ | 62 | -fqemu \ |
| 63 | -fwasmtime \ | 63 | -fwasmtime \ |
| 64 | -Dstatic-llvm \ | 64 | -Dstatic-llvm \ |
| 65 | -Dskip-test-incremental \ | ||
| 65 | -Dtarget=native-native-musl \ | 66 | -Dtarget=native-native-musl \ |
| 66 | --search-prefix "$PREFIX" \ | 67 | --search-prefix "$PREFIX" \ |
| 67 | --zig-lib-dir "$PWD/../lib" \ | 68 | --zig-lib-dir "$PWD/../lib" \ |
ci/x86_64-netbsd-debug.sh created+63| ... | @@ -0,0 +1,63 @@ | ||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Requires cmake ninja-build | ||
| 4 | |||
| 5 | set -x | ||
| 6 | set -e | ||
| 7 | |||
| 8 | TARGET="x86_64-netbsd-none" | ||
| 9 | MCPU="baseline" | ||
| 10 | CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.2287+eb3f16db5" | ||
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | ||
| 12 | ZIG="$PREFIX/bin/zig" | ||
| 13 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | ||
| 15 | # which will be testing alternate versions of zig, and ultimately would just | ||
| 16 | # fill up space on the hard drive for no reason. | ||
| 17 | export ZIG_GLOBAL_CACHE_DIR="$PWD/zig-global-cache" | ||
| 18 | export ZIG_LOCAL_CACHE_DIR="$PWD/zig-local-cache" | ||
| 19 | |||
| 20 | mkdir build-debug | ||
| 21 | cd build-debug | ||
| 22 | |||
| 23 | export CC="$ZIG cc -target $TARGET -mcpu=$MCPU" | ||
| 24 | export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU" | ||
| 25 | |||
| 26 | cmake .. \ | ||
| 27 | -DCMAKE_INSTALL_PREFIX="stage3-debug" \ | ||
| 28 | -DCMAKE_PREFIX_PATH="$PREFIX" \ | ||
| 29 | -DCMAKE_BUILD_TYPE=Debug \ | ||
| 30 | -DZIG_TARGET_TRIPLE="$TARGET" \ | ||
| 31 | -DZIG_TARGET_MCPU="$MCPU" \ | ||
| 32 | -DZIG_STATIC=ON \ | ||
| 33 | -DZIG_NO_LIB=ON \ | ||
| 34 | -GNinja \ | ||
| 35 | -DCMAKE_C_LINKER_DEPFILE_SUPPORTED=FALSE \ | ||
| 36 | -DCMAKE_CXX_LINKER_DEPFILE_SUPPORTED=FALSE | ||
| 37 | # https://github.com/ziglang/zig/issues/22213 | ||
| 38 | |||
| 39 | # Now cmake will use zig as the C/C++ compiler. We reset the environment variables | ||
| 40 | # so that installation and testing do not get affected by them. | ||
| 41 | unset CC | ||
| 42 | unset CXX | ||
| 43 | |||
| 44 | ninja install | ||
| 45 | |||
| 46 | stage3-debug/bin/zig build test docs \ | ||
| 47 | --maxrss ${ZSF_MAX_RSS:-0} \ | ||
| 48 | -Dstatic-llvm \ | ||
| 49 | -Dskip-non-native \ | ||
| 50 | -Dskip-test-incremental \ | ||
| 51 | --search-prefix "$PREFIX" \ | ||
| 52 | --zig-lib-dir "$PWD/../lib" \ | ||
| 53 | --test-timeout 2m | ||
| 54 | |||
| 55 | stage3-debug/bin/zig build \ | ||
| 56 | --prefix stage4-debug \ | ||
| 57 | -Denable-llvm \ | ||
| 58 | -Dno-lib \ | ||
| 59 | -Dtarget=$TARGET \ | ||
| 60 | -Duse-zig-libcxx \ | ||
| 61 | -Dversion-string="$(stage3-debug/bin/zig version)" | ||
| 62 | |||
| 63 | stage4-debug/bin/zig test ../test/behavior.zig | ||
ci/x86_64-netbsd-release.sh created+69| ... | @@ -0,0 +1,69 @@ | ||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # Requires cmake ninja-build | ||
| 4 | |||
| 5 | set -x | ||
| 6 | set -e | ||
| 7 | |||
| 8 | TARGET="x86_64-netbsd-none" | ||
| 9 | MCPU="baseline" | ||
| 10 | CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.16.0-dev.2287+eb3f16db5" | ||
| 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" | ||
| 12 | ZIG="$PREFIX/bin/zig" | ||
| 13 | |||
| 14 | # Override the cache directories because they won't actually help other CI runs | ||
| 15 | # which will be testing alternate versions of zig, and ultimately would just | ||
| 16 | # fill up space on the hard drive for no reason. | ||
| 17 | export ZIG_GLOBAL_CACHE_DIR="$PWD/zig-global-cache" | ||
| 18 | export ZIG_LOCAL_CACHE_DIR="$PWD/zig-local-cache" | ||
| 19 | |||
| 20 | mkdir build-release | ||
| 21 | cd build-release | ||
| 22 | |||
| 23 | export CC="$ZIG cc -target $TARGET -mcpu=$MCPU" | ||
| 24 | export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU" | ||
| 25 | |||
| 26 | cmake .. \ | ||
| 27 | -DCMAKE_INSTALL_PREFIX="stage3-release" \ | ||
| 28 | -DCMAKE_PREFIX_PATH="$PREFIX" \ | ||
| 29 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 30 | -DZIG_TARGET_TRIPLE="$TARGET" \ | ||
| 31 | -DZIG_TARGET_MCPU="$MCPU" \ | ||
| 32 | -DZIG_STATIC=ON \ | ||
| 33 | -DZIG_NO_LIB=ON \ | ||
| 34 | -GNinja \ | ||
| 35 | -DCMAKE_C_LINKER_DEPFILE_SUPPORTED=FALSE \ | ||
| 36 | -DCMAKE_CXX_LINKER_DEPFILE_SUPPORTED=FALSE | ||
| 37 | # https://github.com/ziglang/zig/issues/22213 | ||
| 38 | |||
| 39 | # Now cmake will use zig as the C/C++ compiler. We reset the environment variables | ||
| 40 | # so that installation and testing do not get affected by them. | ||
| 41 | unset CC | ||
| 42 | unset CXX | ||
| 43 | |||
| 44 | ninja install | ||
| 45 | |||
| 46 | stage3-release/bin/zig build test docs \ | ||
| 47 | --maxrss ${ZSF_MAX_RSS:-0} \ | ||
| 48 | -Dstatic-llvm \ | ||
| 49 | -Dskip-non-native \ | ||
| 50 | -Dskip-test-incremental \ | ||
| 51 | --search-prefix "$PREFIX" \ | ||
| 52 | --zig-lib-dir "$PWD/../lib" \ | ||
| 53 | --test-timeout 2m | ||
| 54 | |||
| 55 | # Ensure that stage3 and stage4 are byte-for-byte identical. | ||
| 56 | stage3-release/bin/zig build \ | ||
| 57 | --prefix stage4-release \ | ||
| 58 | -Denable-llvm \ | ||
| 59 | -Dno-lib \ | ||
| 60 | -Doptimize=ReleaseFast \ | ||
| 61 | -Dstrip \ | ||
| 62 | -Dtarget=$TARGET \ | ||
| 63 | -Duse-zig-libcxx \ | ||
| 64 | -Dversion-string="$(stage3-release/bin/zig version)" | ||
| 65 | |||
| 66 | # diff returns an error code if the files differ. | ||
| 67 | echo "If the following command fails, it means nondeterminism has been" | ||
| 68 | echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." | ||
| 69 | diff stage3-release/bin/zig stage4-release/bin/zig | ||
ci/x86_64-openbsd-debug.sh+1| ... | @@ -47,6 +47,7 @@ stage3-debug/bin/zig build test docs \ | ... | @@ -47,6 +47,7 @@ stage3-debug/bin/zig build test docs \ |
| 47 | --maxrss ${ZSF_MAX_RSS:-0} \ | 47 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 48 | -Dstatic-llvm \ | 48 | -Dstatic-llvm \ |
| 49 | -Dskip-non-native \ | 49 | -Dskip-non-native \ |
| 50 | -Dskip-test-incremental \ | ||
| 50 | --search-prefix "$PREFIX" \ | 51 | --search-prefix "$PREFIX" \ |
| 51 | --zig-lib-dir "$PWD/../lib" \ | 52 | --zig-lib-dir "$PWD/../lib" \ |
| 52 | --test-timeout 2m | 53 | --test-timeout 2m |
ci/x86_64-openbsd-release.sh+1| ... | @@ -47,6 +47,7 @@ stage3-release/bin/zig build test docs \ | ... | @@ -47,6 +47,7 @@ stage3-release/bin/zig build test docs \ |
| 47 | --maxrss ${ZSF_MAX_RSS:-0} \ | 47 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 48 | -Dstatic-llvm \ | 48 | -Dstatic-llvm \ |
| 49 | -Dskip-non-native \ | 49 | -Dskip-non-native \ |
| 50 | -Dskip-test-incremental \ | ||
| 50 | --search-prefix "$PREFIX" \ | 51 | --search-prefix "$PREFIX" \ |
| 51 | --zig-lib-dir "$PWD/../lib" \ | 52 | --zig-lib-dir "$PWD/../lib" \ |
| 52 | --test-timeout 2m | 53 | --test-timeout 2m |
doc/langref/cImport_builtin.zig+1| ... | @@ -4,6 +4,7 @@ const c = @cImport({ | ... | @@ -4,6 +4,7 @@ const c = @cImport({ |
| 4 | @cInclude("stdio.h"); | 4 | @cInclude("stdio.h"); |
| 5 | }); | 5 | }); |
| 6 | pub fn main() void { | 6 | pub fn main() void { |
| 7 | if (@import("builtin").os.tag == .netbsd) return; // https://github.com/Vexu/arocc/issues/960 | ||
| 7 | _ = c.printf("hello\n"); | 8 | _ = c.printf("hello\n"); |
| 8 | } | 9 | } |
| 9 | 10 |
doc/langref/verbose_cimport_flag.zig+1| ... | @@ -3,6 +3,7 @@ const c = @cImport({ | ... | @@ -3,6 +3,7 @@ const c = @cImport({ |
| 3 | @cInclude("stdio.h"); | 3 | @cInclude("stdio.h"); |
| 4 | }); | 4 | }); |
| 5 | pub fn main() void { | 5 | pub fn main() void { |
| 6 | if (@import("builtin").os.tag == .netbsd) return; // https://github.com/Vexu/arocc/issues/960 | ||
| 6 | _ = c; | 7 | _ = c; |
| 7 | } | 8 | } |
| 8 | 9 |