Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI (buildkite): ensure passing --output-sync when passing -j #42511

Merged
merged 2 commits into from
Oct 6, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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