Browse Source

archlinux info

2upstream
R4SAS 7 years ago committed by GitHub
parent
commit
792e84e9c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      INSTALL

6
INSTALL

@ -8,6 +8,12 @@ need to be installed on your system for autogen.sh to work) @@ -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,
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) **

Loading…
Cancel
Save