diff --git a/README.md b/README.md index 17897b3..55608a6 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/Sources/SwiftSDKGenerator/Generator/SwiftSDKGenerator+Copy.swift b/Sources/SwiftSDKGenerator/Generator/SwiftSDKGenerator+Copy.swift index b6d9d7c..38c3f37 100644 --- a/Sources/SwiftSDKGenerator/Generator/SwiftSDKGenerator+Copy.swift +++ b/Sources/SwiftSDKGenerator/Generator/SwiftSDKGenerator+Copy.swift @@ -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