"hf" and "sf" are suffix abbreviations that represent CPU capabilities on ARM devices.
JSSC 2.8.0 had this distinction and supported loading the right one. It uses some tricks for this, including the readelf binary, which isn't necessarily available on all platforms by default. Here's the code:
https://github.com/java-native/jssc/blob/v2.8.0/src/java/jssc/SerialNativeInterface.java#L118-L135
This functionality was removed with the master branch due to native-lib-loader library not having the same distinction capabilities.
We are investigating two options:
Related #26
"hf" and "sf" are suffix abbreviations that represent CPU capabilities on ARM devices.
JSSC 2.8.0 had this distinction and supported loading the right one. It uses some tricks for this, including the
readelfbinary, which isn't necessarily available on all platforms by default. Here's the code:https://github.com/java-native/jssc/blob/v2.8.0/src/java/jssc/SerialNativeInterface.java#L118-L135
This functionality was removed with the
masterbranch due tonative-lib-loaderlibrary not having the same distinction capabilities.We are investigating two options:
native-lib-loaderto fix this. (see @bmhm's upstream PR: Add directory layout according to os-maven-plugin and osdetector-gradle-plugin scijava/native-lib-loader#32)Related #26