commit 9e05f42feeaebe1450d87662f1c7e5e2e392ca9b (tree) parent 92926c4331f66934498c0b7fdd41b6f83f2b109a Author: Andrew Kelley <andrew@ziglang.org> Date: Mon, 12 Oct 2020 22:32:14 -0700 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. Diffstat:
| M | ci/azure/macos_script | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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