Open Adito5393 opened 3 years ago
Sorry for the late reply, but yes a PR would be appreciated.
ARM would have to also consider Apple Silicon. I'm currently using
private static boolean isARM_64()
{
String os = System.getProperty("os.arch");
return os.contains("aarch") && os.contains("64");
}
as an additional function, so I guess this should be renamed to isApple_64
and for RPi have it as isARM_64
?
We're working on a new release. I just wait for an arm system to be available
https://github.com/ihmcrobotics/ihmc-native-library-loader/tree/feature/armsupport
Would you be interested in a PR to:
Allow your tool to load a library if the system is ARM (tested on Raspberry Pi 4B). Additional code to
NativeLibraryLoader.java
file:Change the
native
word from the project name tonat
because with the introduction of Java automatic name in JDK9, native is a protected word and can not be used in the module name (that is automatically generated from the project name by the maven compiler plugin).