From 3b7480e8993343419b135bc0f7cb0c25dc6a06a6 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Wed, 6 Oct 2021 13:12:24 -0400 Subject: [PATCH] CI (buildkite): ensure passing --output-sync when passing -j (#42511) To be at feature-parity with old buildbots. (cherry picked from commit 82f60b4221ad054c7cc3e3f2ffe47834268c81fd) --- .buildkite/pipelines/main/misc/doctest.yml | 2 +- .buildkite/pipelines/main/misc/embedding.yml | 4 ++-- .buildkite/pipelines/main/misc/llvmpasses.yml | 12 ++++++------ .buildkite/pipelines/main/misc/whitespace.yml | 2 +- .../pipelines/main/platforms/package_linux.yml | 4 ++-- .../scheduled/coverage/coverage_linux64.yml | 2 +- .../coverage/coverage_linux64.yml.signature | Bin 96 -> 96 bytes 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.buildkite/pipelines/main/misc/doctest.yml b/.buildkite/pipelines/main/misc/doctest.yml index 6e68bd4f43f10b..1f185284ec641c 100644 --- a/.buildkite/pipelines/main/misc/doctest.yml +++ b/.buildkite/pipelines/main/misc/doctest.yml @@ -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()' diff --git a/.buildkite/pipelines/main/misc/embedding.yml b/.buildkite/pipelines/main/misc/embedding.yml index f870c69eb00933..45c740f4e8a6ef 100644 --- a/.buildkite/pipelines/main/misc/embedding.yml +++ b/.buildkite/pipelines/main/misc/embedding.yml @@ -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 diff --git a/.buildkite/pipelines/main/misc/llvmpasses.yml b/.buildkite/pipelines/main/misc/llvmpasses.yml index 8557e25133ea3b..5b444a6db41aac 100644 --- a/.buildkite/pipelines/main/misc/llvmpasses.yml +++ b/.buildkite/pipelines/main/misc/llvmpasses.yml @@ -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" @@ -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 diff --git a/.buildkite/pipelines/main/misc/whitespace.yml b/.buildkite/pipelines/main/misc/whitespace.yml index a6f5c22d776753..5643c80e98db80 100644 --- a/.buildkite/pipelines/main/misc/whitespace.yml +++ b/.buildkite/pipelines/main/misc/whitespace.yml @@ -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 diff --git a/.buildkite/pipelines/main/platforms/package_linux.yml b/.buildkite/pipelines/main/platforms/package_linux.yml index 9108c5a41a2125..1a6f15b8fe8123 100644 --- a/.buildkite/pipelines/main/platforms/package_linux.yml +++ b/.buildkite/pipelines/main/platforms/package_linux.yml @@ -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 @@ -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:?} diff --git a/.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml b/.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml index 04fe536aa3efb9..00ed8715645e20 100644 --- a/.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml +++ b/.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml @@ -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()' diff --git a/.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml.signature b/.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml.signature index e8f964bc9214a610e6cca4cc7459de25ffb63e7a..163f352241682a33d9b6b5d2548a375d7e6c0346 100644 GIT binary patch literal 96 zcmV-m0H6O;VQh3|WM5xmRo^UZEg?oncNPPjttjPJK>~wG7^&KF%xtoYG!lixanmCp zQjmQqD4ll$lGAeb?T9@)c|`|vNufp?PkkD~NFRib7_ CKqg)Q literal 96 zcmV-m0H6O;VQh3|WM5yT|8cr-Q8?N%JJlb&*wh@$cn1NLB-QTcn(Rqe)BkhSC>}63 zgDBff_N%>8mGMYIn6!hCNz0x2xboEw-G10oh9>da*s`wxX-!>31_-^_@kCS|VvkQ+ CZ!vfP