Skip to content

Commit 0589977

Browse files
committed
CI: use -j1 like a coward
Zig's build script has several race conditions preventing proper concurrent builds from working. By using -j1 for now, finishing this branch (concurrent zig builds) is untangled from the separate problem of correcting concurrency issues with zig's own build script. In other words, let's solve one problem at a time.
1 parent 6b8f0c3 commit 0589977

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

ci/aarch64-linux-debug.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ stage3-debug/bin/zig build -Dtarget=arm-linux-musleabihf
6060
# TODO: add -fqemu back to this line
6161

6262
stage3-debug/bin/zig build test docs \
63+
-j1 \
6364
-fwasmtime \
6465
-Dstatic-llvm \
6566
-Dtarget=native-native-musl \

ci/aarch64-linux-release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf
6060
# TODO: add -fqemu back to this line
6161

6262
stage3-release/bin/zig build test docs \
63+
-j1 \
6364
-fwasmtime \
6465
-Dstatic-llvm \
6566
-Dtarget=native-native-musl \

ci/aarch64-macos.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ PATH="$HOME/local/bin:$PATH" cmake .. \
4444
$HOME/local/bin/ninja install
4545

4646
stage3-release/bin/zig build test docs \
47+
-j1 \
4748
--zig-lib-dir "$(pwd)/../lib" \
4849
-Denable-macos-sdk \
4950
-Dstatic-llvm \

ci/x86_64-linux-debug.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ stage3-debug/bin/zig fmt --check .. \
5858
stage3-debug/bin/zig build -Dtarget=arm-linux-musleabihf
5959

6060
stage3-debug/bin/zig build test docs \
61+
-j1 \
6162
-fqemu \
6263
-fwasmtime \
6364
-Dstatic-llvm \

ci/x86_64-linux-release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ stage3-release/bin/zig fmt --check .. \
5959
stage3-release/bin/zig build -Dtarget=arm-linux-musleabihf
6060

6161
stage3-release/bin/zig build test docs \
62+
-j1 \
6263
-fqemu \
6364
-fwasmtime \
6465
-Dstatic-llvm \

ci/x86_64-macos-debug.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ cmake .. \
4848
make $JOBS install
4949

5050
stage3/bin/zig build test docs \
51+
-j1 \
5152
--zig-lib-dir "$(pwd)/../lib" \
5253
-Denable-macos-sdk \
5354
-Dstatic-llvm \

ci/x86_64-macos-release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ cmake .. \
4848
make $JOBS install
4949

5050
stage3/bin/zig build test docs \
51+
-j1 \
5152
--zig-lib-dir "$(pwd)/../lib" \
5253
-Denable-macos-sdk \
5354
-Dstatic-llvm \

0 commit comments

Comments
 (0)