/swift-build

Alternate Swift Builds

Primary LanguageCMake

//swift/build

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.

Table of Contents

Status

Dependencies

Build Status
CURL Build Status
ICU Build Status
SQLite3 Build Status
TensorFlow Build Status
XML2 Build Status
ZLIB Build Status

Swift 5.2

Build Status
VS2019 Build Status
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

Swift 5.3

Build Status
VS2019 Build Status

Swift HEAD (Development)

Build Status
macOS Build Status
VS2017 Build Status
VS2019 Build Status
VS2017 (Facebook) Build Status
VS2019 (Facebook) Build Status
Ubuntu 18.04 (flowkey) Build Status
Build Contents
  • macOS

    • Toolchain (llvm, clang, lld, lldb, swift)
      • x64
    • xctoolchain
      • x64
  • VS2017

    • Toolchain (llvm, clang, lld, lldb, swift)
      • x64
  • 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
  • VS2017 (Facebook)

    • Toolchain (llvm, clang, lld, lldb, swift)
      • X64
    • Swift SDK for Windows (swift, libdispatch, foundation, xctest)
      • ARM
      • ARM64
      • x64
      • x86
  • VS2019 (Facebook)

    • Toolchain (llvm, clang, lld, lldb, swift)
      • x64
    • Swift SDK for Windows (libdispatch, foundation, xctest)
      • ARM
      • ARM64
      • x64
      • x86
  • 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

Getting the latest build

Stable builds

The latest stable build can be acuqired from the releases page.

Development builds

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