-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include aarch64-apple-darwin builds of libwasmtime_jni #36
Comments
It's not easy for now as github actions doesn't provide M1 mac as an execution environment. So for now, there's no easy way to build a shared library for aarch64-apple-darwin on github actions. |
@kawamuray is there any workaround? |
@syedfaizanalef The situation remain the same. Github actions still does not support aarch64 mac, and compiling for the The workaround is to build this project (precisely, wasmtime-jni subproject. Just run |
Is it possible to use something like this to build on more architectures? https://github.com/marketplace/actions/run-on-architecture Also, this Mozilla Gradle plugin makes it easier to build for Android: https://github.com/mozilla/rust-android-gradle |
Looks like an option, but it seems that we need to write entire build process as shell script, requiring some effort as in currently the ci.yml is written with leveraging a lot of actions. |
When i get time, i will look at it and see if i can update the build script to build to work seamlessly with arm architectures |
I haven't tried it yet, but this sounds promising: https://actually.fyi/posts/zig-makes-rust-cross-compilation-just-work/ |
I am also interested in this subject since I am using M1 for development but need to use this library for other OS and platforms. What I have tried and found out is that we can still use The other tool I also looked at is cross. |
Currently, only x86_64 darwin builds of libwasmtime_jni are included in the package. This causes issues on M1 Macs in which the library needs to be manually built for aarch64 darwin. Could aarch64 darwin builds also be included?
The text was updated successfully, but these errors were encountered: