Mishal Shah
196ee143c5
Xcode 14 beta 4 no longer supports iOS armv7, armv7s, and i386 architectures
...
> Building iOS projects with deployment targets for the armv7, armv7s, and i386 architectures is no longer supported. (92831716)
2022-08-02 20:42:08 -07:00
Kuba (Brecka) Mracek
750ba09ef4
Introduce SWIFT_FREESTANDING_FLAVOR to select whether the FREESTANDING stdlib should be built/tested using an Apple SDK, or another SDK (e.g. Linux, not implemented yet) ( #34450 )
2021-08-19 15:56:04 -07:00
Mishal Shah
d914ac25ee
Update the macOS arch list to x86_64 and arm64
2021-06-15 23:02:02 -07:00
Mishal Shah
b5a01ba5e0
Support for x86_64 watchOS simulator
...
* Start testing watchOS simulator x86_64 and i386 by default
Users will require to install watchOS 6.2 or older simulator to support i386.
1. Install watchOS 6.2 or older simulator (Xcode -> Preferences -> Components -> Simulators).
2. Create a 32-bit watchOS device.
3. Run:
`xcrun simctl create 'Apple Watch Series 2 - 42mm' com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm com.apple.CoreSimulator.SimRuntime.watchOS-6-2`
2021-04-22 20:06:17 -07:00
Robert Widmann
0149ccd0ca
Add arm64_32 support for Swift
...
Commit the platform definition and build script work necessary to
cross-compile for arm64_32.
arm64_32 is a variant of AARCH64 that supports an ILP32 architecture.
2021-04-20 14:59:04 -07:00
Robert Widmann
b436825948
Trade Usages of -m${platform}-version-min For -target
...
There's no reason to use -m${platform}-version-min as of clang-11/Xcode 11. Clang is now smart enough to parse -target and provide Apple's ld with the appropriate -platform_version argument string.
2021-01-13 11:00:39 -08:00
Kuba (Brecka) Mracek
41f91d5365
Add a SWIFT_FREESTANDING_MODULE_NAME CMake option ( #34018 )
2020-09-22 15:14:44 -07:00
Kuba (Brecka) Mracek
ef89b0dc51
Add a 'standalone_minimal' preset to build a minimal, static, OS independent, self-contained binaries of stdlib. ( #33286 )
2020-08-12 07:28:34 -07:00
Davide Italiano
ca3d37f114
[CMake] Remove a redundant and potentially incorrect check.
...
There's a more robust check for which SDK to support already.
This also misses `arm64` as architecture.
2020-07-06 09:43:20 -07:00
Mishal Shah
a930b51494
[Apple Silicon] Simulator support for arm64
2020-07-02 19:17:29 -07:00
Mishal Shah
ee1ea6e514
[Apple Silicon] Support building for macOS arm64/arm64e
2020-07-02 18:03:39 -07:00
Doug Gregor
b27b4d4bb6
[CMake] Use proper module triples for the names of standard library modules.
...
The standard library (and other Swift modules built by our CMake build system)
has been building module files with an architecture only (e.g., x86_64.swiftmodule)
rather than a proper module triple (x86_86-apple-macosx10.15,
x86_64-apple-ios13.0-simulator, etc.), unlike every other build
system. There are hacks in the compiler and other tools to cope with
this unnecessary build difference. Fix the module file names so we'll
be able to remove the hacks later.
Fixes rdar://problem/49071536.
2020-04-20 21:16:14 -07:00
Kuba Mracek
45ba5cec05
[arm64e] Add arm64e support into Swift's build system
2020-02-27 16:08:15 -08:00
Joe Groff
8f5cd0881d
Add option to control building 32-bit iOS slices.
...
Not building 32-bit slices saves some time during development when doing iOS builds for things that don't particularly care about bitness.
2018-08-03 11:26:23 -07:00
Jacob Mizraji
9c95eb8335
Refactor OSX archs for job config
2017-06-28 16:57:53 -07:00
Jacob Mizraji
d789323649
Refactoring for job configuration
2017-06-28 16:54:40 -07:00
Jordan Rose
9e936aaa3c
[CMake] iOS simulator should still build 32-bit by default. ( #10510 )
...
Accidentally deleted and never noticed because all of the package
builds configure this explicitly.
2017-06-23 10:26:58 -07:00
Mishal Shah
c5ff1f2cac
Update master to build with Xcode 9 beta 1, OS X 10.13, iOS 11, tvOS 11, and watchOS 4 SDKs.
2017-06-14 16:20:35 -07:00
Doug Coleman
8c2bd5ae23
cmake: Initial standalone overlays builds.
...
./utils/build-overlay AVFoundation OSX macosx
rdar://problem/28707246
2017-03-14 12:51:42 -07:00