Commit f8cf106fc9

Isaac Freund <ifreund@ifreund.xyz>
2021-05-11 20:11:22
ci: unset CC/CXX before make install on macos arm64
Having these set causes zig's native libc detection code to fail.
1 parent 3b2c9ef
Changed files (1)
ci/azure/macos_arm64_script
@@ -55,11 +55,11 @@ cmake .. \
   -DZIG_TARGET_MCPU="$HOST_MCPU" \
   -DZIG_STATIC=ON
 
-make $JOBS install
-
 unset CC
 unset CXX
 
+make $JOBS install
+
 # Build zig compiler cross-compiled for arm64
 cd $ZIGDIR
 
@@ -79,11 +79,11 @@ cmake .. \
   -DZIG_EXECUTABLE="$ZIG" \
   -DZIG_STATIC=ON
 
-make $JOBS install
-
 unset CC
 unset CXX
 
+make $JOBS install
+
 if [ "${BUILD_REASON}" != "PullRequest" ]; then
   mv ../LICENSE release/