diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-07-31 09:12:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-31 09:12:17 -0700 |
| commit | 2b8d5bad0a1089783f34d3f8f9b85f18b7cbfb0d (patch) | |
| tree | 5a15f49af829d93c3b810c08937350207a52eac1 /scripts | |
| parent | 2cb28482bb5f10332b3458502a3370f821b8f69c (diff) | |
| download | vcpkg-2b8d5bad0a1089783f34d3f8f9b85f18b7cbfb0d.tar.gz vcpkg-2b8d5bad0a1089783f34d3f8f9b85f18b7cbfb0d.zip | |
[qt5 components] Disable parallel build (#12529)
* [qt5-imageformats] Disable parallel build
* [ompl] Disable parallel configure
* [qt5-connectivity] Disable parallel build
* [qwt] Update hash
* [qt5-location] Disable parallel build
* Update ports/qwt/portfile.cmake
* Update ports/qwt/portfile.cmake
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
* [qt5] change build method to vcpkg_execute_build_process
* Add condition when there are some file conflicts
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmake/vcpkg_execute_build_process.cmake | 5 |
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") |
