alavrik / piqi-binary

"piqi" binary executable pre-built for various platforms
https://github.com/alavrik/piqi
Apache License 2.0
1 stars 9 forks source link

Add Linux arm64 build and license files #1

Closed akontsevoy closed 3 years ago

akontsevoy commented 3 years ago

Needed primarily for aarch64 builds targeting AWS Neoverse/Graviton. Compiled version 0.6.13 on CentOS 7 glibc-2.17 (seeming to be the earliest glibc version in public aarch64 AMIs) as:

yum install git bzip2 ocaml ocaml-findlib ocaml-camlp4-devel
git clone 'https://github.com/alavrik/piqi.git'
cd piqi
git checkout v0.6.13
make deps
make
make install
make test

Tested to run on Ubuntu 16.04, RHEL 7.6, Debian 9, Amazon Linux 2.

P.S. Later versions (0.6.15) do not compile thanks to the lack of opam on this platform (while the newly added dependencies like sedlex are not included in ./deps).

License files transferred as is from the source code repo (https://github.com/alavrik/piqi) to appease source code scanning tools.

alavrik commented 3 years ago

Great! Thanks, Alexey. Weird that there's no opam on this thing.