[v0.10] Update build script and README

This commit is contained in:
Dr-Noob
2021-09-04 16:02:50 +02:00
parent bdf9eb0079
commit 81607151dc
2 changed files with 18 additions and 6 deletions

View File

@@ -10,8 +10,10 @@ cd build/
# In case you have CUDA installed but it is not detected,
# - set CMAKE_CUDA_COMPILER to your nvcc binary:
# - set CMAKE_CUDA_COMPILER_TOOLKIT_ROOT to the CUDA root dir
cmake -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DCMAKE_CUDA_COMPILER_TOOLKIT_ROOT=/usr/local/cuda/ ..
#cmake ..
# for example:
# cmake -DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc -DCMAKE_CUDA_COMPILER_TOOLKIT_ROOT=/usr/local/cuda/ ..
cmake ..
make -j$(nproc)
cd -
ln -s build/gpufetch .