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

macOS M1 aarch64 support #5

Open
mkitti opened this issue Jun 24, 2022 · 0 comments
Open

macOS M1 aarch64 support #5

mkitti opened this issue Jun 24, 2022 · 0 comments

Comments

@mkitti
Copy link

mkitti commented Jun 24, 2022

To summarize findings from saalfeldlab/n5-utils#25

To support the macOS M1, we need:

  1. JNA version 5.11.0
  2. Set jna.library.path to the location of the Blosc library.

For example, the following diff will allow mvn to succeed after brew install c-blosc.

diff --git a/pom.xml b/pom.xml
index b30f8f7..c5e54b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,6 +89,8 @@
                <releaseProfiles>deploy-to-scijava</releaseProfiles>

                <!-- TODO remove when pom-scijava-base is updated -->
+               <jna.version>5.11.0</jna.version>
+               <scijava.surefire.args>-Djna.library.path="/opt/homebrew/Cellar/c-blosc/1.21.1/lib"</scijava.surefire.args>
                <scijava.jvm.version>8</scijava.jvm.version>
                <scijava.jvm.build.version>[1.8.0-101,)</scijava.jvm.build.version>

It that does not work, check brew list -v c-blosc to confirm the directory holding libblosc.dylib.

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

1 participant