authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-10-12 22:32:14-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-10-12 22:32:14-07:00
log9e05f42feeaebe1450d87662f1c7e5e2e392ca9b
treece07857d96cbe7559e95b959007a0fc166309c05
parent92926c4331f66934498c0b7fdd41b6f83f2b109a

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.

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

ci/azure/macos_script+1-3
...@@ -3,8 +3,6 @@...@@ -3,8 +3,6 @@
3set -x3set -x
4set -e4set -e
55
6system_profiler SPHardwareDataType
7
8brew install s3cmd gcc@106brew install s3cmd gcc@10
97
10ZIGDIR="$(pwd)"8ZIGDIR="$(pwd)"
...@@ -33,7 +31,7 @@ git config core.abbrev 9...@@ -33,7 +31,7 @@ git config core.abbrev 9
3331
34mkdir build32mkdir build
35cd build33cd build
36cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$(pwd)/release -DZIG_STATIC=ON34cmake .. -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
37make $JOBS install35make $JOBS install
38release/bin/zig build test36release/bin/zig build test
3937