We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CMAKE_Swift_COMPILER_TARGET
1 parent badaf82 commit 1a0a44bCopy full SHA for 1a0a44b
utils/build-script-impl
@@ -827,6 +827,12 @@ function set_build_options_for_host() {
827
# and it must be the same for both LLVM and Swift
828
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
+
836
llvm_cmake_options+=(
837
-DLLVM_HOST_TRIPLE:STRING="${SWIFT_HOST_TRIPLE}"
838
)
0 commit comments