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 43970ac commit 0bdc26aCopy full SHA for 0bdc26a
utils/build-script-impl
@@ -841,6 +841,12 @@ function set_build_options_for_host() {
841
# and it must be the same for both LLVM and Swift
842
843
if [[ "${SWIFT_HOST_TRIPLE}" ]] ; then
844
+ # Adding this until we can configure these corelibs repos with a CMake
845
+ # toolchain file
846
+ SWIFT_TARGET_CMAKE_OPTIONS+=(
847
+ -DCMAKE_Swift_COMPILER_TARGET:STRING="${SWIFT_HOST_TRIPLE}"
848
+ )
849
+
850
llvm_cmake_options+=(
851
-DLLVM_HOST_TRIPLE:STRING="${SWIFT_HOST_TRIPLE}"
852
)
0 commit comments