mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #85044 from mikeash/emit-into-client-retain-release
[IRGen][Runtime] Add emit-into-client retain/release calls for Darwin ARM64.
This commit is contained in:
@@ -271,6 +271,19 @@ option(SWIFT_BUILD_STDLIB_CXX_MODULE
|
||||
"If not building stdlib, controls whether to build the Cxx module"
|
||||
TRUE)
|
||||
|
||||
# The swiftClientRetainRelease library is currently only available for Darwin
|
||||
# platforms.
|
||||
if(SWIFT_HOST_VARIANT_SDK IN_LIST SWIFT_DARWIN_PLATFORMS)
|
||||
# Off by default everywhere for now.
|
||||
option(SWIFT_BUILD_CLIENT_RETAIN_RELEASE
|
||||
"Build the swiftClientRetainRelease library"
|
||||
FALSE)
|
||||
else()
|
||||
option(SWIFT_BUILD_CLIENT_RETAIN_RELEASE
|
||||
"Build the swiftClientRetainRelease library"
|
||||
FALSE)
|
||||
endif()
|
||||
|
||||
# In many cases, the CMake build system needs to determine whether to include
|
||||
# a directory, or perform other actions, based on whether the stdlib or SDK is
|
||||
# being built at all -- statically or dynamically. Please note that these
|
||||
|
||||
Reference in New Issue
Block a user