Skip to content

Commit

Permalink
CI (buildkite): ensure passing --output-sync when passing -j (#42511)
Browse files Browse the repository at this point in the history
To be at feature-parity with old buildbots.

(cherry picked from commit 82f60b4)
  • Loading branch information
vtjnash authored and staticfloat committed Dec 22, 2022
1 parent e612436 commit 3b7480e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .buildkite/pipelines/main/misc/doctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ steps:
- "/cache/repos:/cache/repos"
commands: |
echo "--- Build Julia from source"
make -j 6
make --output-sync -j 6
echo "--- Print Julia version info"
./julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'
Expand Down
4 changes: 2 additions & 2 deletions .buildkite/pipelines/main/misc/embedding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ steps:
commands: |
prefix="/tmp/prefix"
echo "+++ Build julia, deploy to $${prefix:?}"
make -j$${JULIA_CPU_THREADS:?} JULIA_PRECOMPILE=0 prefix=$${prefix:?} install
make --output-sync -j$${JULIA_CPU_THREADS:?} JULIA_PRECOMPILE=0 prefix=$${prefix:?} install
embedding_output="/tmp/embedding-test"
echo "+++ Run embedding tests, deploy to $${embedding_output:?}"
mkdir -p "$${embedding_output:?}"
make -j$${JULIA_CPU_THREADS:?} -C test/embedding JULIA="$${prefix:?}/bin/julia" BIN="$${embedding_output:?}"
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/embedding JULIA="$${prefix:?}/bin/julia" BIN="$${embedding_output:?}"
timeout_in_minutes: 60
12 changes: 6 additions & 6 deletions .buildkite/pipelines/main/misc/llvmpasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ steps:
- "/cache/repos:/cache/repos"
commands: |
echo "--- Install in-tree LLVM dependencies"
make -j$${JULIA_CPU_THREADS:?} -C deps install-llvm install-clang install-llvm-tools install-libuv install-utf8proc install-unwind
make --output-sync -j$${JULIA_CPU_THREADS:?} -C deps install-llvm install-clang install-llvm-tools install-libuv install-utf8proc install-unwind
echo "+++ run clangsa/analyzegc"
make -j$${JULIA_CPU_THREADS:?} -C test/clangsa
make -j$${JULIA_CPU_THREADS:?} -C src analyzegc
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/clangsa
make --output-sync -j$${JULIA_CPU_THREADS:?} -C src analyzegc
timeout_in_minutes: 60
- label: "llvmpasses"
key: "llvmpasses"
Expand All @@ -40,9 +40,9 @@ steps:
- "/cache/repos:/cache/repos"
commands: |
echo "--- make release"
make -j$${JULIA_CPU_THREADS:?} release JULIA_PRECOMPILE=0
make --output-sync -j$${JULIA_CPU_THREADS:?} release JULIA_PRECOMPILE=0
echo "--- make src/install-analysis-deps"
make -j$${JULIA_CPU_THREADS:?} -C src install-analysis-deps
make --output-sync -j$${JULIA_CPU_THREADS:?} -C src install-analysis-deps
echo "+++ make test/llvmpasses"
make -j$${JULIA_CPU_THREADS:?} -C test/llvmpasses
make --output-sync -j$${JULIA_CPU_THREADS:?} -C test/llvmpasses
timeout_in_minutes: 60
2 changes: 1 addition & 1 deletion .buildkite/pipelines/main/misc/whitespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ steps:
- github_commit_status:
context: "whitespace"
commands: |
make -j$${JULIA_CPU_THREADS:?} check-whitespace
make --output-sync -j$${JULIA_CPU_THREADS:?} check-whitespace
4 changes: 2 additions & 2 deletions .buildkite/pipelines/main/platforms/package_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ steps:
echo "--- Build Julia from source"
rm -rf $${ARTIFACT_FILENAME:?}
make -j 8
make --output-sync -j 8
echo "--- Make sure that the working directory is clean"
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
Expand All @@ -44,7 +44,7 @@ steps:
./julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'
echo "--- Create build artifacts"
make -j 8 binary-dist
make --output-sync -j 8 binary-dist
ls -l $${JULIA_BINARYDIST:?}
if [[ "$${JULIA_BINARYDIST:?}" != "$${ARTIFACT_FILENAME:?}" ]]; then
mv $${JULIA_BINARYDIST:?} $${ARTIFACT_FILENAME:?}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ steps:
gid: 1000
commands: |
echo "--- Build Julia from source"
make -j 6
make --output-sync -j 6
echo "--- Print Julia version info"
./julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'
Expand Down
Binary file not shown.

0 comments on commit 3b7480e

Please sign in to comment.