Skip to content

Commit 3adc327

Browse files
authored
Merge pull request swiftlang#8645 from apple/update_preset_to_reconfig_once
[build-script] Add skip reconfigure flag to build-script-impl
2 parents c1e4be1 + 177580e commit 3adc327

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/build-script-impl

+5
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ KNOWN_SETTINGS=(
9999
installable-package "" "the path to the archive of the installation directory"
100100
test-installable-package "" "whether to run post-packaging tests on the produced package"
101101
reconfigure "" "force a CMake configuration run even if CMakeCache.txt already exists"
102+
skip-reconfigure "" "set to skip reconfigure"
102103
swift-primary-variant-sdk "" "default SDK for target binaries"
103104
swift-primary-variant-arch "" "default arch for target binaries"
104105
skip-build-cmark "" "set to skip building CommonMark"
@@ -943,6 +944,10 @@ if [[ "${CROSS_COMPILE_HOSTS}" ]]; then
943944
SKIP_BUILD_COMPILER_RT=1
944945
fi
945946

947+
if [[ "${SKIP_RECONFIGURE}" ]]; then
948+
RECONFIGURE=""
949+
fi
950+
946951
# WORKSPACE, BUILD_DIR and INSTALLABLE_PACKAGE must be absolute paths
947952
case "${WORKSPACE}" in
948953
/*) ;;

0 commit comments

Comments
 (0)