aboutsummaryrefslogtreecommitdiff
path: root/scripts/cmake/vcpkg_execute_build_process.cmake
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-08-19 21:15:24 -0700
committerGitHub <noreply@github.com>2020-08-19 21:15:24 -0700
commitec4e0c393480b1b508874d5106ecb0db547962af (patch)
tree5c5ec856c6077c6471fbea7c3c38b51ad8963eff /scripts/cmake/vcpkg_execute_build_process.cmake
parent5c056a65bb316f0114f536fdbb04f344b84d38c3 (diff)
downloadvcpkg-ec4e0c393480b1b508874d5106ecb0db547962af.tar.gz
vcpkg-ec4e0c393480b1b508874d5106ecb0db547962af.zip
[openmpi/vcpkg_build_make] Disable parallel build (#12975)
Diffstat (limited to 'scripts/cmake/vcpkg_execute_build_process.cmake')
-rw-r--r--scripts/cmake/vcpkg_execute_build_process.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_execute_build_process.cmake b/scripts/cmake/vcpkg_execute_build_process.cmake
index 7097fbf1b..98e3648d5 100644
--- a/scripts/cmake/vcpkg_execute_build_process.cmake
+++ b/scripts/cmake/vcpkg_execute_build_process.cmake
@@ -65,6 +65,8 @@ function(vcpkg_execute_build_process)
# The linker ran out of memory during execution. We will try continuing once more, with parallelism disabled.
OR err_contents MATCHES "Cannot create parent directory" OR err_contents MATCHES "Cannot write file"
# Multiple threads using the same directory at the same time cause conflicts, will try again.
+ OR err_contents MATCHES "Can't open"
+ # Multiple threads caused the wrong order of creating folders and creating files in folders
)
message(STATUS "Restarting Build without parallelism because memory exceeded")
set(LOG_OUT "${CURRENT_BUILDTREES_DIR}/${_ebp_LOGNAME}-out-1.log")