Skip to content

Commit e71eb33

Browse files
authored
watchOS: don't target arm64/arm64e for Compatibility50/51 (#62278)
Those architectures were not supported when Swift 5.0/5.1 shipped, so it makes little sense building those. Addresses rdar://91128579
1 parent e0a12d1 commit e71eb33

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

stdlib/toolchain/Compatibility50/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Don't build the libraries for 64-bit watchOS targets;
2+
# there is no back-deployment to them.
3+
list(REMOVE_ITEM SWIFT_SDK_WATCHOS_ARCHITECTURES "arm64" "arm64e")
4+
15
set(library_name "swiftCompatibility50")
26

37
add_swift_target_library("${library_name}" STATIC

stdlib/toolchain/Compatibility51/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Don't build the libraries for 64-bit watchOS targets;
2+
# there is no back-deployment to them.
3+
list(REMOVE_ITEM SWIFT_SDK_WATCHOS_ARCHITECTURES "arm64" "arm64e")
14

25
set(library_name "swiftCompatibility51")
36

0 commit comments

Comments
 (0)