authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-02 09:56:13+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-02 09:56:54+02:00
log76ebae2ee0b3322a9bdba30f14f87d00a22dbadb
treef529e1a1c09eb7602103f904ba8ddc56f50fc195
parent6def9cee009a0ce300c8625d1d11a54e4e35c3f6
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

ci: Add stage3/4 diff to aarch64-linux-release script.


1 files changed, 16 insertions(+), 0 deletions(-)

ci/aarch64-linux-release.sh+16
......@@ -64,6 +64,22 @@ stage3-release/bin/zig build test docs \
6464 --zig-lib-dir "$PWD/../lib" \
6565 -Denable-tidy
6666
67# Ensure that stage3 and stage4 are byte-for-byte identical.
68stage3-release/bin/zig build \
69 --prefix stage4-release \
70 -Denable-llvm \
71 -Dno-lib \
72 -Doptimize=ReleaseFast \
73 -Dstrip \
74 -Dtarget=$TARGET \
75 -Duse-zig-libcxx \
76 -Dversion-string="$(stage3-release/bin/zig version)"
77
78# diff returns an error code if the files differ.
79echo "If the following command fails, it means nondeterminism has been"
80echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."
81diff stage3-release/bin/zig stage4-release/bin/zig
82
6783# Ensure that updating the wasm binary from this commit will result in a viable build.
6884stage3-release/bin/zig build update-zig1
6985