Skip to content

Commit ac52024

Browse files
authored
Merge pull request #79330 from bkhouri/t/main/support-swifttesting-in-swiftpm-for-toolchain-build
Add verbosity when building swiftpm
2 parents b221a92 + 6e42092 commit ac52024

File tree

1 file changed

+12
-1
lines changed
  • utils/swift_build_support/swift_build_support/products

1 file changed

+12
-1
lines changed

utils/swift_build_support/swift_build_support/products/swiftpm.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,14 @@ def run_bootstrap_script(
118118
shell.call(helper_cmd)
119119

120120
def build(self, host_target):
121-
self.run_bootstrap_script('build', host_target, ["--reconfigure"])
121+
self.run_bootstrap_script(
122+
'build',
123+
host_target,
124+
additional_params=[
125+
"--reconfigure",
126+
"--verbose",
127+
],
128+
)
122129

123130
def should_test(self, host_target):
124131
return self.args.test_swiftpm
@@ -128,6 +135,9 @@ def test(self, host_target):
128135
'test',
129136
host_target,
130137
compile_only_for_running_host_architecture=True,
138+
additional_params=[
139+
'--verbose'
140+
]
131141
)
132142

133143
def should_clean(self, host_target):
@@ -144,6 +154,7 @@ def install(self, host_target):
144154
install_prefix = install_destdir + self.args.install_prefix
145155

146156
self.run_bootstrap_script('install', host_target, [
157+
'--verbose',
147158
'--prefix', install_prefix
148159
])
149160

0 commit comments

Comments
 (0)