Skip to content

Commit da880d9

Browse files
authored
[Build] Pass '--reconfigure' to build-script-impl (#37677)
We recently started using the flag in build-script and forgot to pass it on the build-script-impl rdar://78578996
1 parent 2116627 commit da880d9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

utils/build-script

+3
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,9 @@ class BuildScriptInvocation(object):
778778
if args.dry_run:
779779
impl_args += ["--dry-run"]
780780

781+
if args.reconfigure:
782+
impl_args += ["--reconfigure"]
783+
781784
if args.clang_profile_instr_use:
782785
impl_args += [
783786
"--clang-profile-instr-use=%s" %
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# RUN: %empty-directory(%t)
2+
# RUN: mkdir -p %t
3+
# RUN: SKIP_XCODE_VERSION_CHECK=1 SWIFT_BUILD_ROOT=%t %swift_src_root/utils/build-script --dry-run --reconfigure --verbose 2>&1| %FileCheck %s
4+
5+
# REQUIRES: standalone_build
6+
7+
# CHECK: build-script-impl{{.*}} --reconfigure

0 commit comments

Comments
 (0)