File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
swift_build_support/swift_build_support/products Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -827,6 +827,12 @@ function set_build_options_for_host() {
827
827
# and it must be the same for both LLVM and Swift
828
828
829
829
if [[ " ${SWIFT_HOST_TRIPLE} " ]] ; then
830
+ # Adding this until we can configure these corelibs repos with a CMake
831
+ # toolchain file
832
+ SWIFT_TARGET_CMAKE_OPTIONS+=(
833
+ -DCMAKE_Swift_COMPILER_TARGET:STRING=" ${SWIFT_HOST_TRIPLE} "
834
+ )
835
+
830
836
llvm_cmake_options+=(
831
837
-DLLVM_HOST_TRIPLE:STRING=" ${SWIFT_HOST_TRIPLE} "
832
838
)
Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ def build(self, host_target):
114
114
self .cmake_options .define ('ENABLE_UNIX_SOCKETS' , 'NO' )
115
115
self .cmake_options .define ('ENABLE_THREADED_RESOLVER' , 'NO' )
116
116
self .cmake_options .define ('USE_ECH' , 'NO' )
117
- self .cmake_options .deifne ('USE_HTTPSRR' , 'NO' )
118
- self .cmake_options .deifne ('USE_OPENSSL_QUIC' , 'NO' )
117
+ self .cmake_options .define ('USE_HTTPSRR' , 'NO' )
118
+ self .cmake_options .define ('USE_OPENSSL_QUIC' , 'NO' )
119
119
120
120
self .generate_toolchain_file_for_darwin_or_linux (host_target )
121
121
122
122
if self .args .build_zlib :
123
123
# If we're building zlib, make cmake search in the built toolchain
124
124
toolchain_path = self .host_install_destdir (host_target )
125
125
self .cmake_options .define ('CMAKE_FIND_ROOT_PATH' , toolchain_path )
126
- self .build_with_cmake (['libcurl ' ], self .args .curl_build_variant , [])
126
+ self .build_with_cmake (['libcurl_static ' ], self .args .curl_build_variant , [])
You can’t perform that action at this time.
0 commit comments