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() {
827827 # and it must be the same for both LLVM and Swift
828828
829829 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+
830836 llvm_cmake_options+=(
831837 -DLLVM_HOST_TRIPLE:STRING=" ${SWIFT_HOST_TRIPLE} "
832838 )
Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ def build(self, host_target):
114114 self .cmake_options .define ('ENABLE_UNIX_SOCKETS' , 'NO' )
115115 self .cmake_options .define ('ENABLE_THREADED_RESOLVER' , 'NO' )
116116 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' )
119119
120120 self .generate_toolchain_file_for_darwin_or_linux (host_target )
121121
122122 if self .args .build_zlib :
123123 # If we're building zlib, make cmake search in the built toolchain
124124 toolchain_path = self .host_install_destdir (host_target )
125125 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