Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 22 lines (14 sloc) 532 Bytes
set -e
echo "This script will do an out-of-tree build of ParTI into the 'build' directory."
# If you have GCC >= 6.0 and CUDA <= 8.0,
# write this into 'build.config': -DCUDA_HOST_COMPILER=gcc-5
# You can also write other configuation flags into 'build.config'
declare -a CMAKE_FLAGS
[ -e build.config ] && CMAKE_FLAGS=("${CMAKE_FLAGS[@]}" $(<build.config))
mkdir -p build
cd build
cmake "${CMAKE_FLAGS[@]}" ..
echo "Finished. Check the 'build' directory for results."