The //swift/build
project provides a CI configuration for Azure
Pipelines that allows
building Swift for multiple platforms. The configuration is not specific to Azure,
and can be reused for developer builds as well. Thanks to modular packaging, with
//swift/build
you can easily cross-compile your Swift code for Android and Windows
targets, or build on Windows natively without cross-compilation.
Dependencies
Build | Status |
---|---|
CURL | |
ICU | |
SQLite3 | |
TensorFlow | |
XML2 | |
ZLIB |
Swift 5.2
Build | Status |
---|---|
VS2019 |
Build Contents
- VS2019
- Toolchain (llvm, clang, lld, lldb, swift)
- ARM64
- x64
- Swift SDK for Android (swift, libdispatch, foundation, xctest)
- ARM
- ARM64
- x64
- x86
- Swift SDK for Windows (swift, libdispatch, foundation, xctest)
- ARM
- ARM64
- x64
- x86
- Toolchain (llvm, clang, lld, lldb, swift)
Swift 5.3
Build | Status |
---|---|
VS2019 |
Swift HEAD (Development)
Build | Status |
---|---|
macOS | |
VS2017 | |
VS2019 | |
VS2017 (Facebook) | |
VS2019 (Facebook) | |
Ubuntu 18.04 (flowkey) |
Build Contents
-
macOS
- Toolchain (llvm, clang, lld, lldb, swift)
- x64
- xctoolchain
- x64
- Toolchain (llvm, clang, lld, lldb, swift)
-
VS2017
- Toolchain (llvm, clang, lld, lldb, swift)
- x64
- Toolchain (llvm, clang, lld, lldb, swift)
-
VS2019
- Toolchain (llvm, clang, lld, lldb, swift)
- ARM64
- x86
- Swift SDK for Android (swift, libdispatch, foundation, xctest)
- ARM
- ARM64
- x64
- x86
- Swift SDK for Windows (swift, libdispatch, foundation, xctest)
- ARM
- ARM64
- x64
- x86
- Swift Developer Tools (llbuild)
- ARM64
- x64
- MSI
- Toolchain
- x64
- Toolchain
- Toolchain (llvm, clang, lld, lldb, swift)
-
VS2017 (Facebook)
- Toolchain (llvm, clang, lld, lldb, swift)
- X64
- Swift SDK for Windows (swift, libdispatch, foundation, xctest)
- ARM
- ARM64
- x64
- x86
- Toolchain (llvm, clang, lld, lldb, swift)
-
VS2019 (Facebook)
- Toolchain (llvm, clang, lld, lldb, swift)
- x64
- Swift SDK for Windows (libdispatch, foundation, xctest)
- ARM
- ARM64
- x64
- x86
- Toolchain (llvm, clang, lld, lldb, swift)
-
Ubuntu 18.04 (flowkey)
- Toolchain (llvm, clang, lld, lldb, swift)
- x64
- Swift SDK for Linux (swift, libdispatch, foundation, xctest)
- x64
- Swift Developer Tools (llbuild, swift-package-manager)
- x64
- debian packages
- toolchain
- x64
- ICU
- x64
- Developer Tools
- x64
- SDK
- Linux
- toolchain
- Toolchain (llvm, clang, lld, lldb, swift)
The latest stable build can be acuqired from the releases page.
The utilities/swift-build.py
script allows downloading of the latest build artifacts. The script requires the azure-devops
and tabulate
python packages. These can be installed with pip
:
python3 -m pip install tabulate azure-devops
For example, to download the latest VS2019 build:
swift-build.py --download --build-id VS2019 --latest-artifacts --filter installer.exe