authorgravatar for mail@isaacfreund.comIsaac Freund <mail@isaacfreund.com> 2021-05-11 20:11:22+02:00
committergravatar for mail@isaacfreund.comIsaac Freund <mail@isaacfreund.com> 2021-05-11 21:30:13+02:00
logf8cf106fc971c9c61709443860b1f728ca4cfc9a
tree9727849c1f75803c3e5729402c8fccfbf5abbbaa
parent3b2c9ef828cc97a4c4664324d93ddbe3696b17fb
signaturelock-open Commit is signed but in an unrecognized format.

ci: unset CC/CXX before make install on macos arm64

Having these set causes zig's native libc detection code to fail.

1 files changed, 4 insertions(+), 4 deletions(-)

ci/azure/macos_arm64_script+4-4
...@@ -55,11 +55,11 @@ cmake .. \...@@ -55,11 +55,11 @@ cmake .. \
55 -DZIG_TARGET_MCPU="$HOST_MCPU" \55 -DZIG_TARGET_MCPU="$HOST_MCPU" \
56 -DZIG_STATIC=ON56 -DZIG_STATIC=ON
5757
58make $JOBS install
59
60unset CC58unset CC
61unset CXX59unset CXX
6260
61make $JOBS install
62
63# Build zig compiler cross-compiled for arm6463# Build zig compiler cross-compiled for arm64
64cd $ZIGDIR64cd $ZIGDIR
6565
...@@ -79,11 +79,11 @@ cmake .. \...@@ -79,11 +79,11 @@ cmake .. \
79 -DZIG_EXECUTABLE="$ZIG" \79 -DZIG_EXECUTABLE="$ZIG" \
80 -DZIG_STATIC=ON80 -DZIG_STATIC=ON
8181
82make $JOBS install
83
84unset CC82unset CC
85unset CXX83unset CXX
8684
85make $JOBS install
86
87if [ "${BUILD_REASON}" != "PullRequest" ]; then87if [ "${BUILD_REASON}" != "PullRequest" ]; then
88 mv ../LICENSE release/88 mv ../LICENSE release/
8989