From 932d1f785ea4ca2b6d0094e0f2217eb3e335b0d7 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 28 Jul 2022 21:42:07 -0700 Subject: [PATCH] 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 --- ci/zinc/linux_test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/zinc/linux_test.sh b/ci/zinc/linux_test.sh index 4c3b3842bf2d5c84305a3f503049c845a538c72c..3a54e82c38a518cb42868a11950c6eb5182b8c01 100755 --- a/ci/zinc/linux_test.sh +++ b/ci/zinc/linux_test.sh @@ -63,8 +63,7 @@ stage3/bin/zig build test-translate-c -fqemu -fwasmtime -Denable-llvm stage3/bin/zig build test-run-translated-c -fqemu -fwasmtime -Denable-llvm stage3/bin/zig build test-standalone -fqemu -fwasmtime -Denable-llvm stage3/bin/zig build test-cli -fqemu -fwasmtime -Denable-llvm -# https://github.com/ziglang/zig/issues/12144 -stage3/bin/zig build test-cases -fqemu -fwasmtime +stage3/bin/zig build test-cases -fqemu -fwasmtime -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL" stage3/bin/zig build test-link -fqemu -fwasmtime -Denable-llvm $STAGE1_ZIG build test-stack-traces -fqemu -fwasmtime -- 2.54.0