diff --git a/docs/README.md b/docs/README.md index 1c939d63b69da..fd924e94f101a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -3,6 +3,7 @@ This page describes the overall organization of documentation for the Swift toolchain. It is divided into the following sections: + - [Tutorials](#tutorials) gently guide you towards achieving introductory tasks, while assuming minimal background knowledge. diff --git a/utils/swift_build_support/swift_build_support/build_script_invocation.py b/utils/swift_build_support/swift_build_support/build_script_invocation.py index 1e282f8ed38ce..506703a8b36c0 100644 --- a/utils/swift_build_support/swift_build_support/build_script_invocation.py +++ b/utils/swift_build_support/swift_build_support/build_script_invocation.py @@ -891,20 +891,20 @@ def execute_product_build_steps(self, product_class, host_target): build_dir=build_dir) if product.should_clean(host_target): log_message = "Cleaning %s" % product_name - print("--- {} ---".format(log_message)) + print("--- {} ---".format(log_message), flush=True) with log_time_in_scope(log_message): product.clean(host_target) if product.should_build(host_target): log_message = "Building %s" % product_name - print("--- {} ---".format(log_message)) + print("--- {} ---".format(log_message), flush=True) with log_time_in_scope(log_message): product.build(host_target) if product.should_test(host_target): log_message = "Running tests for %s" % product_name - print("--- {} ---".format(log_message)) + print("--- {} ---".format(log_message), flush=True) with log_time_in_scope(log_message): product.test(host_target) - print("--- Finished tests for %s ---" % product_name) + print("--- Finished tests for %s ---" % product_name, flush=True) # Install the product if it should be installed specifically, or # if it should be built and `install_all` is set to True. # The exception is select before_build_script_impl products @@ -914,6 +914,6 @@ def execute_product_build_steps(self, product_class, host_target): (self.install_all and product.should_build(host_target) and not product.is_ignore_install_all_product()): log_message = "Installing %s" % product_name - print("--- {} ---".format(log_message)) + print("--- {} ---".format(log_message), flush=True) with log_time_in_scope(log_message): product.install(host_target) diff --git a/utils/swift_build_support/swift_build_support/products/swiftpm.py b/utils/swift_build_support/swift_build_support/products/swiftpm.py index cb82f21c681c9..2a179b594b6a5 100644 --- a/utils/swift_build_support/swift_build_support/products/swiftpm.py +++ b/utils/swift_build_support/swift_build_support/products/swiftpm.py @@ -105,7 +105,7 @@ def run_bootstrap_script(self, action, host_target, additional_params=[]): helper_cmd.extend(additional_params) - shell.call(helper_cmd) + shell.call(helper_cmd, echo=True) def build(self, host_target): self.run_bootstrap_script('build', host_target, ["--reconfigure"])