authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-10-14 17:59:29-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-10-14 17:59:29-07:00
log477798b37ec034bacb4502b481597317d3950481
tree18c5823f874596a719c8196e5243928056646dce
parent540364e6c18e7acb744ba92b6d38dc1275fbcfa5

ci: macos: unset ZIG_LIBC before testing

otherwise cross compiling gets incorrectly affected by the environment variable.

1 files changed, 3 insertions(+), 2 deletions(-)

ci/azure/macos_script+3-2
......@@ -40,10 +40,11 @@ cmake .. \
4040 -DZIG_EXECUTABLE="$ZIG" \
4141 -DZIG_STATIC=ON
4242
43# TODO unsetting this before `make install` is a workaround for Zig crashing
44# with "unable to exec C compiler".
43# Now cmake will use zig as the C/C++ compiler. We reset the environment variables
44# so that installation and testing do not get affected by them.
4545unset CC
4646unset CXX
47unset ZIG_LIBC
4748
4849make $JOBS install
4950release/bin/zig build test