Skip to content

Commit 8daf94c

Browse files
authored
Merge pull request #79174 from edymtt/edymtt/match-verbosity-of-new-stdlib-and-compiler
build-script-impl: propagate `--verbose-build` to nested CMake builds
2 parents 1292f5f + 8f9829d commit 8daf94c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

utils/swift_build_support/swift_build_support/build_script_invocation.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,11 @@ def convert_to_impl_arguments(self):
552552
impl_env["HOST_VARIABLE_{}__{}".format(
553553
host_target.replace("-", "_"), name)] = value
554554

555+
if args.verbose_build:
556+
# This ensures all CMake builds (including the ones
557+
# called with `ExternalProject`) have verbose output
558+
impl_env["VERBOSE"] = "1"
559+
555560
return (impl_env, impl_args)
556561

557562
def compute_host_specific_variables(self):

0 commit comments

Comments
 (0)