Skip to content

Commit 6e9e643

Browse files
committed
[Build] Pass '--reconfigure' to build-script-impl
We recently started using the flag in build-script and forgot to pass it on the build-script-impl rdar://78578996
1 parent a0b1c0b commit 6e9e643

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

utils/build-script

Lines changed: 3 additions & 0 deletions
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" %
Lines changed: 7 additions & 0 deletions
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)