tce-load -i compiletc cmake liblzma-dev liblz4-dev wget https://github.com/facebook/zstd/releases/download/v1.5.5/zstd-1.5.5.tar.gz cd zstd-1.5.5 cd build/cmake mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DZSTD_PROGRAMS_LINK_SHARED=1 -DZSTD_BUILD_STATIC=OFF -DZSTD_LZ4_SUPPORT=ON -DZSTD_LZMA_SUPPORT=ON -DZSTD_ZLIB_SUPPORT=ON ../ make [0m 32.10s] sudo make install