Skip to content

Commit 9a6ab20

Browse files
vtjnashKristofferC
authored andcommitted
CI (buildkite): ensure passing --output-sync when passing -j (#42511)
To be at feature-parity with old buildbots. (cherry picked from commit 82f60b4)
1 parent e2e96ac commit 9a6ab20

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.buildkite/pipelines/main/misc/doctest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ steps:
2121
- "/cache/repos:/cache/repos"
2222
commands: |
2323
echo "--- Build Julia from source"
24-
make -j 6
24+
make --output-sync -j 6
2525
2626
echo "--- Print Julia version info"
2727
./julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'

.buildkite/pipelines/main/misc/embedding.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ steps:
2222
commands: |
2323
prefix="/tmp/prefix"
2424
echo "+++ Build julia, deploy to $${prefix:?}"
25-
make -j$${JULIA_CPU_THREADS:?} JULIA_PRECOMPILE=0 prefix=$${prefix:?} install
25+
make --output-sync -j$${JULIA_CPU_THREADS:?} JULIA_PRECOMPILE=0 prefix=$${prefix:?} install
2626
2727
embedding_output="/tmp/embedding-test"
2828
echo "+++ Run embedding tests, deploy to $${embedding_output:?}"
2929
mkdir -p "$${embedding_output:?}"
30-
make -j$${JULIA_CPU_THREADS:?} -C test/embedding JULIA="$${prefix:?}/bin/julia" BIN="$${embedding_output:?}"
30+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/embedding JULIA="$${prefix:?}/bin/julia" BIN="$${embedding_output:?}"
3131
timeout_in_minutes: 60

.buildkite/pipelines/main/misc/llvmpasses.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ steps:
1919
- "/cache/repos:/cache/repos"
2020
commands: |
2121
echo "--- Install in-tree LLVM dependencies"
22-
make -j$${JULIA_CPU_THREADS:?} -C deps install-llvm install-clang install-llvm-tools install-libuv install-utf8proc install-unwind
22+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C deps install-llvm install-clang install-llvm-tools install-libuv install-utf8proc install-unwind
2323
echo "+++ run clangsa/analyzegc"
24-
make -j$${JULIA_CPU_THREADS:?} -C test/clangsa
25-
make -j$${JULIA_CPU_THREADS:?} -C src analyzegc
24+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/clangsa
25+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C src analyzegc
2626
timeout_in_minutes: 60
2727
- label: "llvmpasses"
2828
key: "llvmpasses"
@@ -40,9 +40,9 @@ steps:
4040
- "/cache/repos:/cache/repos"
4141
commands: |
4242
echo "--- make release"
43-
make -j$${JULIA_CPU_THREADS:?} release JULIA_PRECOMPILE=0
43+
make --output-sync -j$${JULIA_CPU_THREADS:?} release JULIA_PRECOMPILE=0
4444
echo "--- make src/install-analysis-deps"
45-
make -j$${JULIA_CPU_THREADS:?} -C src install-analysis-deps
45+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C src install-analysis-deps
4646
echo "+++ make test/llvmpasses"
47-
make -j$${JULIA_CPU_THREADS:?} -C test/llvmpasses
47+
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/llvmpasses
4848
timeout_in_minutes: 60

.buildkite/pipelines/main/misc/whitespace.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ steps:
2121
- github_commit_status:
2222
context: "whitespace"
2323
commands: |
24-
make -j$${JULIA_CPU_THREADS:?} check-whitespace
24+
make --output-sync -j$${JULIA_CPU_THREADS:?} check-whitespace

.buildkite/pipelines/main/platforms/package_linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ steps:
3535
3636
echo "--- Build Julia from source"
3737
rm -rf $${ARTIFACT_FILENAME:?}
38-
make -j 8
38+
make --output-sync -j 8
3939
4040
echo "--- Make sure that the working directory is clean"
4141
if [ -z "$(git status --short)" ]; then echo "INFO: The working directory is clean."; else echo "ERROR: The working directory is dirty."; echo "Output of git status:"; git status; exit 1; fi
@@ -44,7 +44,7 @@ steps:
4444
./julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'
4545
4646
echo "--- Create build artifacts"
47-
make -j 8 binary-dist
47+
make --output-sync -j 8 binary-dist
4848
ls -l $${JULIA_BINARYDIST:?}
4949
if [[ "$${JULIA_BINARYDIST:?}" != "$${ARTIFACT_FILENAME:?}" ]]; then
5050
mv $${JULIA_BINARYDIST:?} $${ARTIFACT_FILENAME:?}

.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ steps:
2121
gid: 1000
2222
commands: |
2323
echo "--- Build Julia from source"
24-
make -j 6
24+
make --output-sync -j 6
2525
2626
echo "--- Print Julia version info"
2727
./julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'
Binary file not shown.

0 commit comments

Comments
 (0)