Skip to content

Commit 2a4a96e

Browse files
committed
Temporary changes to debug the SwiftPM bootstrap build
1 parent 895ad50 commit 2a4a96e

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)