make build faster
Building erlang-rocksdb is slow and make it painful to use on CI that don't cache the results. This speed is due to partly to the builld of our rocksdb, and partly due to our own code. Building the rocksdb shared file is indeed where it's realy slow, probably due to the number of splitted files.
I propose the following tasks to mitigate the slowness:
-
allows the user to build rocksdb using a shared lib installed on the system -
remove any debug symbols from the build -
investigate the possibility to provide our own rocksdb makefile to only build the modules we need (ie. removing the utilities we don't use -
reduce the number of C file used by barrel
Thoughts?
Edited by benoît chesneau