swift-sdk-generator icon indicating copy to clipboard operation
swift-sdk-generator copied to clipboard

Generate Swift SDKs for cross-compilation

Results 21 swift-sdk-generator issues
Sort by recently updated
recently updated
newest added

I am trying to build a custom SDK that targets ubuntu on `x86_64` and contains the package `glib-2.0`. My host is `arm64-apple-macosx14.0`, `(swiftlang-5.10.0.13 clang-1500.3.9.4)` I created a `Dockerfile` which contains...

Hi! I am trying to cross compile for ubuntu `x86_64` and `arm64` architectures. I followed the steps on the readme and cloned the repo and ran `swift run swift-sdk-generator`. However,...

good first issue

I was trying to build a project with static linking of the Swift stdlib and got the error below. Without the `--static-swift-stdlib` flag the build succeeds. ``` $ swift build...

New implementation that landed in Foundation recently means we can delete our own custom implementation.

dependencies

We currently have our own, not necessarily well-tested or valid implementation of `async` file system APIs in https://github.com/apple/swift-sdk-generator/tree/main/Sources/GeneratorEngine/FileSystem. With `NIOFileSystem` now available in SwiftNIO 2.63, we should use that instead.

good first issue

How difficult would it be to add `armhf` target architecture support (for Linux)?

I noticed that none of the meta json files contains the sdk swift version. I'd expect at least `swift-sdk.json` contain the swift version value in it. ~Same situation with the...

I've created a simple helloworld tool, and compiling it generates warning messages that seem to be spurious. Here's the project structure: ``` ./Package.swift ./Sources/helloworld/main.swift ./Tests/LinuxMain.swift ./Tests/helloworldTests/helloworldTests.swift ./Tests/helloworldTests/XCTestManifests.swift ``` Package consists...

bug

We haven't tested our workflows fully on Linux yet. This should be fixed and enabled on CI by modifying [the `Utilities/test.sh` script](https://github.com/apple/swift-sdk-generator/blob/main/Utilities/test.sh) accordingly.

bug
good first issue

The code appears to assume that Ninja is already installed, which it won't be unless one is actively developing Swift itself. ``` ... http://gb.archive.ubuntu.com/ubuntu/pool/main/z/zlib/zlib1g_1.2.11.dfsg-2ubuntu9.2_amd64.deb – 2.2 MB http://gb.archive.ubuntu.com/ubuntu/pool/main/z/zlib/zlib1g-dev_1.2.11.dfsg-2ubuntu9.2_amd64.deb – 11.6...