authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-28 21:42:07-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-29 11:03:12-07:00
log932d1f785ea4ca2b6d0094e0f2217eb3e335b0d7
treea61a5e356f7d4f8165745f7f362aa242750a5e27
parenta7a6f38eebfa2bf6dbe4d5f9579f0b2d54593820

CI: -Denable-llvm for test-cases

This requires using -Dstatic-llvm and setting the search prefix and the target, just like it is required for building stage2 and stage3. This prevents Zig from trying to integrate with the system, which would trigger an error due to the `cc` command not being installed. closes #12144

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

ci/zinc/linux_test.sh+1-2
......@@ -63,8 +63,7 @@ stage3/bin/zig build test-translate-c -fqemu -fwasmtime -Denable-llvm
6363stage3/bin/zig build test-run-translated-c -fqemu -fwasmtime -Denable-llvm
6464stage3/bin/zig build test-standalone -fqemu -fwasmtime -Denable-llvm
6565stage3/bin/zig build test-cli -fqemu -fwasmtime -Denable-llvm
66# https://github.com/ziglang/zig/issues/12144
67stage3/bin/zig build test-cases -fqemu -fwasmtime
66stage3/bin/zig build test-cases -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL"
6867stage3/bin/zig build test-link -fqemu -fwasmtime -Denable-llvm
6968
7069$STAGE1_ZIG build test-stack-traces -fqemu -fwasmtime