cd /path/to/thrust/thrust
mkdir build cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/thrust make -j 64 make -j install