From 9e05f42feeaebe1450d87662f1c7e5e2e392ca9b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 12 Oct 2020 22:32:14 -0700 Subject: [PATCH] ci: macos: set the cross compile cmake option This should avoid invoking llvm-config to work around a symbol not found inside libstdc++, and plus it's technically more correct anyway. --- ci/azure/macos_script | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ci/azure/macos_script b/ci/azure/macos_script index 928895759..69ee7f71a 100755 --- a/ci/azure/macos_script +++ b/ci/azure/macos_script @@ -3,8 +3,6 @@ set -x set -e -system_profiler SPHardwareDataType - brew install s3cmd gcc@10 ZIGDIR="$(pwd)" @@ -33,7 +31,7 @@ git config core.abbrev 9 mkdir build cd build -cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$(pwd)/release -DZIG_STATIC=ON +cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$(pwd)/release -DZIG_STATIC=ON -DZIG_TARGET_TRIPLE=x86_64-macos.10.15.7-gnu make $JOBS install release/bin/zig build test