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

Add armv7l InChI 1.06 library #13

Merged
merged 1 commit into from
Jul 14, 2021
Merged

Add armv7l InChI 1.06 library #13

merged 1 commit into from
Jul 14, 2021

Conversation

mjw99
Copy link
Contributor

@mjw99 mjw99 commented Jul 13, 2021

Needless to say, with this addition, all the unit tests pass on a RPI.

The following protocol was used:

Preamble

$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

$ uname -a
Linux rpi 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux

$ dmesg | grep fdt
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1

$ sudo apt install gcc git

Actual

git clone git clone https://github.com/dan2097/jna-inchi.git
cd jna-inchi

wget https://www.inchi-trust.org/download/106/INCHI-1-SRC.zip
unzip INCHI-1-SRC.zip
cd INCHI-1-SRC/INCHI_API/libinchi/gcc/
make
cd -

$ file ./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.06.00
./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.06.00: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=e8bd8aa5658a8418b86702f840c3691e6ae05f5e, not stripped

mkdir ./jna-inchi-core/src/main/resources/linux-arm
cp ./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.06.00 ./jna-inchi-core/src/main/resources/linux-arm/libjnainchi.so
chmod -x ./jna-inchi-core/src/main/resources/linux-arm/libjnainchi.so

The following protocol was used:

Preamble
========
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

$ uname -a
Linux rpi 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux

$ dmesg  | grep fdt
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.1

$ sudo apt install gcc git

Actual
======

git clone git clone https://github.com/dan2097/jna-inchi.git
cd jna-inchi

wget https://www.inchi-trust.org/download/106/INCHI-1-SRC.zip
unzip INCHI-1-SRC.zip
cd INCHI-1-SRC/INCHI_API/libinchi/gcc/
make
cd -

$ file ./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.06.00
./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.06.00: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, BuildID[sha1]=e8bd8aa5658a8418b86702f840c3691e6ae05f5e, not stripped

mkdir ./jna-inchi-core/src/main/resources/linux-arm
cp ./INCHI-1-SRC/INCHI_API/bin/Linux/libinchi.so.1.06.00  ./jna-inchi-core/src/main/resources/linux-arm/libjnainchi.so
chmod -x ./jna-inchi-core/src/main/resources/linux-arm/libjnainchi.so
@dan2097 dan2097 merged commit 953cdcf into dan2097:master Jul 14, 2021
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

Successfully merging this pull request may close these issues.

2 participants