mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 08:37:54 +08:00
parent
eb6e282797
commit
7b41dc688a
@ -57,13 +57,15 @@ function(vcpkg_execute_build_process)
|
||||
endif()
|
||||
|
||||
if(out_contents MATCHES "LINK : fatal error LNK1102:" OR out_contents MATCHES " fatal error C1060: "
|
||||
OR err_contents MATCHES "LINK : fatal error LNK1102:" OR err_contents MATCHES " fatal error C1060: ")
|
||||
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:")
|
||||
# The linker ran out of memory during execution. We will try continuing once more, with parallelism disabled.
|
||||
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")
|
||||
|
||||
if(${_ebp_NO_PARALLEL_COMMAND})
|
||||
if(_ebp_NO_PARALLEL_COMMAND)
|
||||
execute_process(
|
||||
COMMAND ${_ebp_NO_PARALLEL_COMMAND}
|
||||
WORKING_DIRECTORY ${_ebp_WORKING_DIRECTORY}
|
||||
|
Loading…
Reference in New Issue
Block a user