skunkwerks / snappy-erlang-nif

An Erlang NIF wrapper for Google's snappy compressor/decompressor
88 stars 64 forks source link

bump snappy to 1.1.7 #29

Closed dch closed 3 years ago

dch commented 5 years ago

This presents a few challenges - snappy-erlang-nif has previously compiled across all common OTP platforms, from Linux, *BSD, Darwin and Solaris to Windows.

The new snappy 1.1.7 version requires cmake to build.

I have imported the library, pruned the cruft, and can build manually via:

cd ./c_src/snappy
cmake -DSNAPPY_BUILD_TESTS=0 . 
make
cd ../..
rebar3 do compile, eunit

Which is possibly portable, with a bit of work for pc.

@arcusfelis any suggestions?

lemenkov commented 5 years ago

I wonder why bundle it? Are there any supported platforms w/o snappy installable with package management system?