aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/cmake/vcpkg_execute_build_process.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_execute_build_process.cmake b/scripts/cmake/vcpkg_execute_build_process.cmake
index 9da6cec9f..67607d768 100644
--- a/scripts/cmake/vcpkg_execute_build_process.cmake
+++ b/scripts/cmake/vcpkg_execute_build_process.cmake
@@ -61,8 +61,11 @@ function(vcpkg_execute_build_process)
OR err_contents MATCHES "LINK : fatal error LNK1102:" OR err_contents MATCHES " fatal error C1060: "
OR out_contents MATCHES "LINK : fatal error LNK1318: Unexpected PDB error; ACCESS_DENIED"
OR out_contents MATCHES "LINK : fatal error LNK1104:"
- OR out_contents MATCHES "LINK : fatal error LNK1201:")
+ OR out_contents MATCHES "LINK : fatal error LNK1201:"
# The linker ran out of memory during execution. We will try continuing once more, with parallelism disabled.
+ OR out_contents MATCHES "Cannot create parent directory"
+ # Multiple threads using the same directory at the same time cause conflicts, will try again.
+ )
message(STATUS "Restarting Build without parallelism because memory exceeded")
set(LOG_OUT "${CURRENT_BUILDTREES_DIR}/${_ebp_LOGNAME}-out-1.log")
set(LOG_ERR "${CURRENT_BUILDTREES_DIR}/${_ebp_LOGNAME}-err-1.log")