authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-10-28 16:31:59-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-10-28 16:31:59-07:00
logfd3da3348cfb9f479dab2fa6a846b61b2187f97b
tree8ff5e4fca5131b11e2e1e5c2cca355a26e91a169
parent7bc95316982da0da6fd5d935645972fe5464e46e

ci: macos: rebuild zig1.o with stage1

see #6830 for details.

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

ci/azure/macos_script+7
......@@ -46,6 +46,13 @@ unset CXX
4646unset ZIG_LIBC
4747
4848make $JOBS install
49
50# Here we rebuild zig but this time using the Zig binary we just now produced to
51# build zig1.o rather than relying on the one built with stage0. See
52# https://github.com/ziglang/zig/issues/6830 for more details.
53cmake .. -DZIG_EXECUTABLE="$(pwd)/release/bin/zig"
54make $JOBS install
55
4956release/bin/zig build test
5057
5158if [ "${BUILD_REASON}" != "PullRequest" ]; then