From 3473e6dc261d1b03fc13c9e0cff2c2f8e14b5371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 15 Jul 2025 02:37:26 +0200 Subject: [PATCH] ci: skip building and checking stage4 on riscv64-linux --- ci/riscv64-linux-debug.sh | 11 ----------- ci/riscv64-linux-release.sh | 17 ----------------- 2 files changed, 28 deletions(-) diff --git a/ci/riscv64-linux-debug.sh b/ci/riscv64-linux-debug.sh index 97b79e9969..564a7ca611 100755 --- a/ci/riscv64-linux-debug.sh +++ b/ci/riscv64-linux-debug.sh @@ -56,14 +56,3 @@ stage3-debug/bin/zig build test-cases test-modules test-unit test-standalone tes -Dtarget=native-native-musl \ --search-prefix "$PREFIX" \ --zig-lib-dir "$PWD/../lib" - -stage3-debug/bin/zig build \ - --prefix stage4-debug \ - -Denable-llvm \ - -Dno-lib \ - -Dtarget=$TARGET \ - -Dcpu=$MCPU \ - -Duse-zig-libcxx \ - -Dversion-string="$(stage3-debug/bin/zig version)" - -stage4-debug/bin/zig test ../test/behavior.zig diff --git a/ci/riscv64-linux-release.sh b/ci/riscv64-linux-release.sh index d477c16a4d..a90335e8f2 100755 --- a/ci/riscv64-linux-release.sh +++ b/ci/riscv64-linux-release.sh @@ -56,20 +56,3 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-standalone t -Dtarget=native-native-musl \ --search-prefix "$PREFIX" \ --zig-lib-dir "$PWD/../lib" - -# Ensure that stage3 and stage4 are byte-for-byte identical. -stage3-release/bin/zig build \ - --prefix stage4-release \ - -Denable-llvm \ - -Dno-lib \ - -Doptimize=ReleaseFast \ - -Dstrip \ - -Dtarget=$TARGET \ - -Dcpu=$MCPU \ - -Duse-zig-libcxx \ - -Dversion-string="$(stage3-release/bin/zig version)" - -# diff returns an error code if the files differ. -echo "If the following command fails, it means nondeterminism has been" -echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." -diff stage3-release/bin/zig stage4-release/bin/zig