Skip to content

Commit 91fd4bd

Browse files
committed
Pass --verbose to swift build
All other packages that were built with SwiftPM passed `--verbose` but the stress tester did not. This caused swift-syntax to get rebuilt (yes, adding `--verbose` apparently changes the compiler arguemnts and thus causes a complete rebuild).
1 parent 3145839 commit 91fd4bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-script-helper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,9 @@ def invoke_swift_single_product(package_dir, swift_exec, action, product, build_
186186
if multiroot_data_file:
187187
args.extend(['--multiroot-data-file', multiroot_data_file])
188188

189+
if verbose:
190+
args.append('--verbose')
191+
189192
if action == 'test':
190193
args.extend(['--test-product', product, '--disable-testable-imports'])
191194
else:

0 commit comments

Comments
 (0)