From dd7db8b1df8fd0f83580f421895c803419365450 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 26 Mar 2023 23:52:59 +0200 Subject: [PATCH] Limit to one job on mingw builders This is another attempt to work around https://github.com/rust-lang/rust/issues/108227. By limiting to one link job, we should be able to avoid file name clashes in mkstemp(). --- src/ci/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ci/run.sh b/src/ci/run.sh index fc4ed57fb8257..5f4e4a8e1b446 100755 --- a/src/ci/run.sh +++ b/src/ci/run.sh @@ -65,7 +65,7 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set dist.compression-profile=best" # This is an attempt to fix the spurious build error tracked by # https://github.com/rust-lang/rust/issues/108227. if isWindows && [[ ${CUSTOM_MINGW-0} -eq 1 ]]; then - RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.link-jobs=4" + RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set llvm.link-jobs=1" fi # Only produce xz tarballs on CI. gz tarballs will be generated by the release