| ... | @@ -48,7 +48,10 @@ cd $WORKSPACE | ... | @@ -48,7 +48,10 @@ cd $WORKSPACE |
| 48 | $ZIG fmt --check . --exclude test/compile_errors/ | 48 | $ZIG fmt --check . --exclude test/compile_errors/ |
| 49 | | 49 | |
| 50 | # Build stage2 standalone so that we can test stage2 against stage2 compiler-rt. | 50 | # Build stage2 standalone so that we can test stage2 against stage2 compiler-rt. |
| 51 | $ZIG build -p stage2 -Denable-llvm -Duse-zig-libcxx | 51 | $ZIG build -p stage2 -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL" |
| | 52 | |
| | 53 | # Ensure that stage2 can build itself. |
| | 54 | ./stage2/bin/zig build -p stage3 -Dstatic-llvm -Dtarget=native-native-musl --search-prefix "$DEPS_LOCAL" |
| 52 | | 55 | |
| 53 | stage2/bin/zig test test/behavior.zig -I test -fLLVM | 56 | stage2/bin/zig test test/behavior.zig -I test -fLLVM |
| 54 | stage2/bin/zig test test/behavior.zig -I test -fno-LLVM | 57 | stage2/bin/zig test test/behavior.zig -I test -fno-LLVM |
| ... | @@ -95,8 +98,7 @@ tidy --drop-empty-elements no -qe zig-cache/langref.html | ... | @@ -95,8 +98,7 @@ tidy --drop-empty-elements no -qe zig-cache/langref.html |
| 95 | $ZIG build \ | 98 | $ZIG build \ |
| 96 | --prefix "$RELEASE_STAGING" \ | 99 | --prefix "$RELEASE_STAGING" \ |
| 97 | --search-prefix "$DEPS_LOCAL" \ | 100 | --search-prefix "$DEPS_LOCAL" \ |
| 98 | -Denable-llvm \ | 101 | -Dstatic-llvm \ |
| 99 | -Duse-zig-libcxx \ | | |
| 100 | -Drelease \ | 102 | -Drelease \ |
| 101 | -Dstrip \ | 103 | -Dstrip \ |
| 102 | -Dtarget="$TARGET" \ | 104 | -Dtarget="$TARGET" \ |