Skip to content

Commit 0889db7

Browse files
authored
build-script: flush compiler-rt embedded builtins logs in llvm.py (#82872)
Current use of `print` without `flush=True` outputs these logs at the end of a `build-script` run, after the supposedly final `--- Build Script Analyzer ---` output, which is quite confusing when reading logs.
1 parent 3e36448 commit 0889db7

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/products/llvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain(
141141
'lib', 'darwin')
142142
print('copying compiler-rt embedded builtins from {}'
143143
' into the local clang build directory {}.'.format(
144-
host_cxx_builtins_dir, dest_builtins_dir))
144+
host_cxx_builtins_dir, dest_builtins_dir), flush=True)
145145

146146
for _os in ['ios', 'watchos', 'tvos', 'xros']:
147147
# Copy over the device .a when necessary

0 commit comments

Comments
 (0)