-
Notifications
You must be signed in to change notification settings - Fork 6
macOS M1 aarch64 support #5
Copy link
Copy link
Open
Description
To summarize findings from saalfeldlab/n5-utils#25
To support the macOS M1, we need:
- JNA version 5.11.0
- Set
jna.library.pathto 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels