diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-08-02 10:04:54 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-08-02 13:41:58 -0400 |
| commit | 159cd528b164f77177e71309dee9fa79d2d5f4f4 (patch) | |
| tree | 364c79201b35da2319f8225e0a8138ee70ba3c4c /ci | |
| parent | 68e26a2ceea85a149cb23286504cbdcec1ae814e (diff) | |
| download | zig-159cd528b164f77177e71309dee9fa79d2d5f4f4.tar.gz zig-159cd528b164f77177e71309dee9fa79d2d5f4f4.zip | |
Add -Denable-macos-sdk explicit flag to build.zig
This way, we can explicitly signal if a test requires the presence
of macOS SDK to build. For instance, when testing our in-house
MachO linker for correctly linking Objective-C, we require the
presence of the SDK on the host system, and we can enforce this
with `-Denable-macos-sdk` flag to `zig build test-standalone`.
Diffstat (limited to 'ci')
| -rwxr-xr-x | ci/azure/macos_script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/azure/macos_script b/ci/azure/macos_script index 01ac3f5838..d56ba63b6b 100755 --- a/ci/azure/macos_script +++ b/ci/azure/macos_script @@ -57,7 +57,7 @@ make $JOBS install # TODO figure out why this causes a segmentation fault # release/bin/zig test ../test/behavior.zig -fno-stage1 -fLLVM -I ../test -release/bin/zig build test-toolchain +release/bin/zig build test-toolchain -Denable-macos-sdk release/bin/zig build test-std release/bin/zig build docs |
