mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -83,7 +83,7 @@ KNOWN_SETTINGS=(
|
||||
cmake "" "path to the cmake binary"
|
||||
distcc "" "use distcc in pump mode"
|
||||
distcc-pump "" "the path to distcc pump executable. This argument is required if distcc is set."
|
||||
build-runtime-with-host-compiler "1" "use the host c++ compiler to build everything"
|
||||
build-runtime-with-host-compiler "" "use the host c++ compiler to build everything"
|
||||
cmake-generator "Unix Makefiles" "kind of build system to generate; see output of 'cmake --help' for choices"
|
||||
verbose-build "" "print the commands executed during the build"
|
||||
install-prefix "" "installation prefix"
|
||||
@@ -170,7 +170,7 @@ KNOWN_SETTINGS=(
|
||||
native-swift-tools-path "" "directory that contains Swift tools that are executable on the build machine"
|
||||
compiler-vendor "none" "compiler vendor name [none,apple]"
|
||||
clang-user-visible-version "4.0.0" "user-visible version of the embedded Clang and LLVM compilers"
|
||||
swift-user-visible-version "3.0" "user-visible version of the Swift language"
|
||||
swift-user-visible-version "3.1" "user-visible version of the Swift language"
|
||||
swift-compiler-version "" "string that indicates a compiler version for Swift"
|
||||
clang-compiler-version "" "string that indicates a compiler version for Clang"
|
||||
embed-bitcode-section "0" "embed an LLVM bitcode section in stdlib/overlay binaries for supported platforms"
|
||||
@@ -214,6 +214,7 @@ KNOWN_SETTINGS=(
|
||||
darwin-toolchain-installer-cert "" "Installer Cert name to create installer pkg"
|
||||
darwin-toolchain-installer-package "" "The path to installer pkg"
|
||||
darwin-sdk-deployment-targets "" "semicolon-separated list of triples like 'fookit-ios-9.0;barkit-watchos-9.0'"
|
||||
darwin-overlay-target "" "single overlay target to build, dependencies are computed later"
|
||||
build-jobs "" "The number of parallel build jobs to use"
|
||||
darwin-toolchain-alias "" "Swift alias for toolchain"
|
||||
android-ndk "" "An absolute path to the NDK that will be used as a libc implementation for Android builds"
|
||||
@@ -2065,6 +2066,18 @@ for host in "${ALL_HOSTS[@]}"; do
|
||||
)
|
||||
fi
|
||||
|
||||
if [[ "${DARWIN_OVERLAY_TARGET}" != "" ]]; then
|
||||
# Split LOCAL_HOST into a pair ``arch-sdk``
|
||||
# Example LOCAL_HOST: macosx-x86_64
|
||||
[[ ${LOCAL_HOST} =~ (.*)-(.*) ]]
|
||||
overlay_target_closure_cmd="${SWIFT_SOURCE_DIR}/utils/find-overlay-deps-closure.sh ${DARWIN_OVERLAY_TARGET} ${BASH_REMATCH[1]} ${BASH_REMATCH[2]}"
|
||||
overlay_target_closure=$($overlay_target_closure_cmd)
|
||||
swift_cmake_options=(
|
||||
"${swift_cmake_options[@]}"
|
||||
"-DSWIFT_OVERLAY_TARGETS:STRING=${overlay_target_closure}"
|
||||
)
|
||||
fi
|
||||
|
||||
native_llvm_tools_path=""
|
||||
native_clang_tools_path=""
|
||||
native_swift_tools_path=""
|
||||
|
||||
Reference in New Issue
Block a user