swiftlang / swiftlang/swift-java
How to build a `.so` dynamic lib on macOS, for building multi-platform jars
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 1.2k
- Forks
- 123
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 16
Description
We want to build a jar that contains libraries for various platforms, e.g. we COULD build a "fat jar" with both x86 and arm and .so and .dylib files etc.
We also want to cross build from macos to linux so develop on macOS and make a jar that works on linux.
In order to make .so files from macOS we'll need to use https://github.com/swiftlang/swift-sdk-generator/
I don't have a complete picture of how we'll do that but we'll need to figure it out.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the requirements in this issue and the swift-sdk-generator project it identifies; no repository files or tests are named. Done means producing a multi-platform JAR with x86/arm and .so/.dylib libraries, including a macOS-to-Linux cross-build path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, swift
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100