tce-load -i compiletc cmake git ocl-icd-dev bash clang llvm-dev Xorg-7.7-3d-dev https://01.org/sites/default/files/beignet-1.3.2-source.tar.gz cd Beignet-1.3.2-Source patch -Np0 -i ../beignet_llvm8.patch patch -Np1 -i /tmp/debian/patches/llvm7-support.patch patch -Np1 -i /tmp/debian/patches/llvm6-support.patch sudo cp /tmp/tcloop/llvm-dev/usr/local/bin/* /usr/local/bin mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=release -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ make [6m 16.27s] sudo make install