| ... | @@ -56,20 +56,3 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-standalone t | ... | @@ -56,20 +56,3 @@ stage3-release/bin/zig build test-cases test-modules test-unit test-standalone t |
| 56 | -Dtarget=native-native-musl \ | 56 | -Dtarget=native-native-musl \ |
| 57 | --search-prefix "$PREFIX" \ | 57 | --search-prefix "$PREFIX" \ |
| 58 | --zig-lib-dir "$PWD/../lib" | 58 | --zig-lib-dir "$PWD/../lib" |
| 59 | | | |
| 60 | # Ensure that stage3 and stage4 are byte-for-byte identical. | | |
| 61 | stage3-release/bin/zig build \ | | |
| 62 | --prefix stage4-release \ | | |
| 63 | -Denable-llvm \ | | |
| 64 | -Dno-lib \ | | |
| 65 | -Doptimize=ReleaseFast \ | | |
| 66 | -Dstrip \ | | |
| 67 | -Dtarget=$TARGET \ | | |
| 68 | -Dcpu=$MCPU \ | | |
| 69 | -Duse-zig-libcxx \ | | |
| 70 | -Dversion-string="$(stage3-release/bin/zig version)" | | |
| 71 | | | |
| 72 | # diff returns an error code if the files differ. | | |
| 73 | echo "If the following command fails, it means nondeterminism has been" | | |
| 74 | echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." | | |
| 75 | diff stage3-release/bin/zig stage4-release/bin/zig | | |