diff options
| author | Phil Christensen <philc@microsoft.com> | 2019-06-13 14:12:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-13 14:12:21 -0700 |
| commit | 7b41dc688a381e1701bd4dbe1ccf3c16d0979594 (patch) | |
| tree | 8789c6b9c62c77d99f65b5d9a803a89761ed06a7 /scripts | |
| parent | eb6e28279772e97d835ef6d0152a57b4f9697d91 (diff) | |
| download | vcpkg-7b41dc688a381e1701bd4dbe1ccf3c16d0979594.tar.gz vcpkg-7b41dc688a381e1701bd4dbe1ccf3c16d0979594.zip | |
retry on flaky linker (#6880)
* retry on flaky linker
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmake/vcpkg_execute_build_process.cmake | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/cmake/vcpkg_execute_build_process.cmake b/scripts/cmake/vcpkg_execute_build_process.cmake index f02aa296d..27e8c8163 100644 --- a/scripts/cmake/vcpkg_execute_build_process.cmake +++ b/scripts/cmake/vcpkg_execute_build_process.cmake @@ -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} |
