tce-load -i compiletc cmake wget https://github.com/intel/gmmlib/archive/refs/tags/intel-gmmlib-21.2.1.tar.gz cd gmmlib-intel-gmmlib-21.2.1 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 -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -Wno-dev -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCMAKE_INSTALL_LIBDIR=lib ../ find . -name flags.make -type f -exec sed -i 's/-O2//g' {} \; find . -name flags.make -type f -exec sed -i 's/-g //g' {} \; make [1m 43.78s] sudo make install