Commit 932d1f785e

Andrew Kelley <andrew@ziglang.org>
2022-07-29 06:42:07
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 parent a7a6f38
Changed files (1)
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