| - key: one-key-to-rule-them-all |
| - source `find .. -name section_helper.sh` |
| - start_section install_linux_packages "Installing missing Linux packages" |
| - apt update && apt -y install cmake libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev libomp-dev |
| - end_section install_linux_packages |
| - start_section install_rocksdb "Building and installing rocksdb" |
| - git clone https://github.com/kupietz/rocksdb.git -b 5.11.fb --single-branch |
| - make -j $PROCS static_lib DISABLE_WARNING_AS_ERROR=1 WARNING_FLAGS=-w |
| - make install-static DISABLE_WARNING_AS_ERROR=1 WARNING_FLAGS=-w |
| - strip --strip-unneeded `find -name librocksdb.a` |
| - end_section install_rocksdb_static |
| - start_section install_rocksdb_shared "Building and installing rocksdb-shared" |
| - make -j $PROCS shared_lib DISABLE_WARNING_AS_ERROR=1 WARNING_FLAGS=-w |
| - make install-shared DISABLE_WARNING_AS_ERROR=1 WARNING_FLAGS=-w |
| - strip --strip-unneeded `find -name librocksdb.so` |
| - end_section install_rocksdb |
| - start_section install_collocatordb "Building and installing collocatordb" |
| - strip --strip-unneeded `find -name libcollocatordb.so` |
| - end_section install_collocatordb |
| - "build/libcollocatordb.so*" |
| - "build/libcollocatordb*.a" |