|
|
@ -8,6 +8,12 @@ need to be installed on your system for autogen.sh to work) |
|
|
|
where your CUDA 6.5 toolkit is installed (usually /usr/local/cuda, |
|
|
|
where your CUDA 6.5 toolkit is installed (usually /usr/local/cuda, |
|
|
|
but some distros may have a different default location) |
|
|
|
but some distros may have a different default location) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** Arch Linux notice** |
|
|
|
|
|
|
|
For Arch Linux needed add some flags when configuring sources |
|
|
|
|
|
|
|
extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16" CPPFLAGS='-I/usr/include/openssl-1.0' \ |
|
|
|
|
|
|
|
LDFLAGS='-L/usr/lib/openssl-1.0 -L/usr/lib' \ |
|
|
|
|
|
|
|
CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES" \ |
|
|
|
|
|
|
|
./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/opt/cuda --with-nvml=libnvidia-ml.so |
|
|
|
|
|
|
|
|
|
|
|
** How to compile on Fedora 22 (2015) ** |
|
|
|
** How to compile on Fedora 22 (2015) ** |
|
|
|
|
|
|
|
|
|
|
|