Skip to content

Commit ecfdc40

Browse files
committed
[preset] Build armv7k and i386 watch modules in package presets
After bumping the deployment target to watch 9+, these architectures are no longer supported when building dylibs, but we can still build the swiftmodule to support compiling for older platforms. rdar://135560598
1 parent e5abfcb commit ecfdc40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

utils/build-presets.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,9 @@ darwin-toolchain-version=%(darwin_toolchain_version)s
14231423
darwin-toolchain-alias=%(darwin_toolchain_alias)s
14241424
darwin-toolchain-require-use-os-runtime=0
14251425

1426+
# Build the swiftmodule/tbd for armv7k watchos and i386 watchsimulator.
1427+
swift-darwin-module-archs=armv7k i386
1428+
14261429
[preset: mixin_osx_package_test]
14271430
build-subdir=buildbot_osx
14281431

@@ -2978,6 +2981,9 @@ swift-install-components=back-deployment;compiler;clang-builtin-headers;stdlib;l
29782981
symbols-package=%(symbols_package)s
29792982
install-symroot=%(install_symroot)s
29802983

2984+
# Build the swiftmodule/tbd for armv7k watchos and i386 watchsimulator.
2985+
swift-darwin-module-archs=armv7k i386
2986+
29812987
[preset: source_compat_suite_linux_base]
29822988
mixin-preset=source_compat_suite_base
29832989
build-subdir=compat_linux

0 commit comments

Comments
 (0)