Skip to content
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

Support for devloping on MAC M1 #371

Closed
mikkeldamsgaard opened this issue Aug 22, 2021 · 8 comments
Closed

Support for devloping on MAC M1 #371

mikkeldamsgaard opened this issue Aug 22, 2021 · 8 comments

Comments

@mikkeldamsgaard
Copy link

It seems that the latests jar that is pushed to maven does not include binaries for MAC M1's.

Unable to open library in jar for AWS CRT: /osx/armv8/libaws-crt-jni.dylib

@jonasbark
Copy link

As a workaround, you can install it to your local maven repository and reference it in your project :)

@michaelbrewer
Copy link

This breaks using the aws kotlin sdk on m1.

@cprice404
Copy link

Is there any ETA for this? Or documentation of workaround steps? Apple is no longer shipping macs that are not m1.

@kvcache
Copy link

kvcache commented Feb 8, 2022

This compiles on M1 macs. You can mvn install it; it generates the osx/armv8/libaws-crt-jni.dylib, tests pass... Just needs this native target included in the artifacts like regular osx and android.

@RobertoUa
Copy link

any news?

@dgm90
Copy link

dgm90 commented Apr 13, 2022

Please, provide some good news 🙏🏼

@robojeff
Copy link

robojeff commented Apr 26, 2022

This compiles on M1 macs. You can mvn install it; it generates the osx/armv8/libaws-crt-jni.dylib, tests pass... Just needs this native target included in the artifacts like regular osx and android.

My team fixed the issue by:

  1. Instructing CMAKE to build for arm64 (export CMAKE_OSX_ARCHITECTURES=arm64)
  2. Running maven and skipping tests (the credentials test fails, others hang) - mvn install -Dmaven.skip.test=true
  3. Replace the jar in our gradle cache with the rebuilt one

@vcanuel
Copy link

vcanuel commented May 29, 2022

Hi this is fixed by #479

@graebm graebm closed this as completed May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants