aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-16 18:10:22 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-16 18:10:22 -0800
commitbe0899d28bc415236e7f38501ac0dc9741ac89c6 (patch)
tree043d19aac6cf8c76aad07fd358c20ffa4fb9295d
parent9c92984ff67ff204415f8973414873c772f0b346 (diff)
downloadvcpkg-be0899d28bc415236e7f38501ac0dc9741ac89c6.tar.gz
vcpkg-be0899d28bc415236e7f38501ac0dc9741ac89c6.zip
[boost] Attempt to fix sporadic failures
-rw-r--r--ports/boost/portfile.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/boost/portfile.cmake b/ports/boost/portfile.cmake
index 3ddea1a68..5dfdfb617 100644
--- a/ports/boost/portfile.cmake
+++ b/ports/boost/portfile.cmake
@@ -32,14 +32,12 @@ message(STATUS "Bootstrapping done")
set(B2_OPTIONS
-j$ENV{NUMBER_OF_PROCESSORS}
- -q
--debug-configuration
--hash
--without-python
toolset=msvc
threading=multi
-
)
if (VCPKG_CRT_LINKAGE STREQUAL dynamic)
@@ -66,7 +64,8 @@ endif()
file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg)
message(STATUS "Building ${TARGET_TRIPLET}-rel")
-vcpkg_execute_required_process(
+vcpkg_execute_required_process_repeat(
+ COUNT 2
COMMAND "${SOURCE_PATH}/b2.exe"
--stagedir=${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/stage
--build-dir=${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel
@@ -78,7 +77,8 @@ vcpkg_execute_required_process(
)
message(STATUS "Building ${TARGET_TRIPLET}-rel done")
message(STATUS "Building ${TARGET_TRIPLET}-dbg")
-vcpkg_execute_required_process(
+vcpkg_execute_required_process_repeat(
+ COUNT 2
COMMAND "${SOURCE_PATH}/b2.exe"
--stagedir=${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/stage
--build-dir=${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg