File tree 2 files changed +5
-6
lines changed
swift_build_support/swift_build_support/products
2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -729,12 +729,10 @@ def create_argument_parser():
729
729
730
730
option ('--skip-build-clang-tools-extra' ,
731
731
toggle_false ('build_clang_tools_extra' ),
732
- default = True ,
733
732
help = 'skip building clang-tools-extra as part of llvm' )
734
733
735
734
option ('--skip-build-compiler-rt' ,
736
735
toggle_false ('build_compiler_rt' ),
737
- default = True ,
738
736
help = 'skip building compiler-rt as part of llvm' )
739
737
740
738
# -------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -142,8 +142,10 @@ def copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain(
142
142
143
143
# [ -d "${HOST_LIB_CLANG_DIR}" -a -d "${DEST_LIB_CLANG_DIR}" ] || return 0
144
144
145
- if not os .path .exists (host_lib_clang_dir ) or \
146
- not os .path .exists (dest_lib_clang_dir ):
145
+ if not os .path .exists (host_lib_clang_dir ):
146
+ return 0
147
+
148
+ if not os .path .exists (dest_lib_clang_dir ):
147
149
return 0
148
150
149
151
# DEST_CXX_BUILTINS_VERSION=$(ls -1 "${DEST_LIB_CLANG_DIR}")
@@ -673,7 +675,6 @@ def install(self, host_target):
673
675
self .install_with_cmake (install_targets , host_install_destdir )
674
676
675
677
if self .args .llvm_install_components and system () == 'Darwin' :
676
- clang_dest_dir = '{}{}' .format (host_install_destdir ,
677
- targets .install_prefix ())
678
+ clang_dest_dir = self .install_toolchain_path (host_target )
678
679
self .copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain (
679
680
clang_dest_dir )
You can’t perform that action at this time.
0 commit comments