tce-load -i compiletc cmake yasm wget https://sourceforge.net/projects/libjpeg-turbo/files/2.1.5.1/libjpeg-turbo-2.1.5.1.tar.gz cd libjpeg-turbo-2.1.5.1 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_INSTALL_LIBDIR=/usr/local/lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DENABLE_STATIC=FALSE -DCMAKE_INSTALL_DEFAULT_LIBDIR=lib -DCMAKE_SKIP_INSTALL_RPATH=ON ../ make [2m 38.71s] sudo make install