Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ The generator also allows cross-compiling between any Linux distributions offici
| macOS (x86_64) | ✅ macOS 13.0+[^1] | ❌ |
| FreeBSD | ✅ 14.3+ | ✅ 14.3+ |
| Ubuntu | ✅ 20.04+ | ✅ 20.04+ |
| Debian | ✅ 11, 12[^2] | ✅ 11, 12[^2] |
| Debian | ✅ 11, 12, 13[^2] | ✅ 11, 12, 13[^2] |
| RHEL | ✅ Fedora 39, UBI 9 | ✅ Fedora 39, UBI 9[^3] |
| Amazon Linux 2 | ✅ Supported | ✅ Supported[^3] |

[^1]: Since LLVM project doesn't provide pre-built binaries of `lld` for macOS on x86_64, it will be automatically built
from sources by the generator, which will increase its run by at least 15 minutes on recent hardware. You will also
need CMake and Ninja preinstalled (e.g. via `brew install cmake ninja`).
[^2]: Swift does not officially support Debian 11 or Debian 12 with Swift versions before 5.10.1. However, the Ubuntu 20.04/22.04 toolchains can be used with Debian 11 and 12 (respectively) since they are binary compatible.
[^2]: Swift does not officially support Debian 11 or Debian 12 with Swift versions before 5.10.1. However, the Ubuntu 20.04/22.04 toolchains can be used with Debian 11 and 12 (respectively) since they are binary compatible. Debian 13 is also not officially supported, but can be used with the Ubuntu 24.04 toolchain.
[^3]: These versions are technically supported but require custom commands and a Docker container to build the Swift SDK, as the generator will not download dependencies for these distributions automatically. See [issue #138](https://github.com/swiftlang/swift-sdk-generator/issues/138).

## How to use it
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ extension SwiftSDKGenerator {
let sdkUsrLibPath = sdkUsrPath.appending("lib")
try await generator.createDirectoryIfNeeded(at: sdkUsrLibPath)
var subpaths: [(subpath: String, failIfNotExists: Bool)] = [
("clang", true), ("gcc", true), ("swift", true), ("swift_static", true),
("clang", true), ("gcc", true), ("linux", false), ("swift", true), ("swift_static", true),
]

// Ubuntu's multiarch directory scheme puts some libraries in
Expand Down