cuda links in osx; nullptr patch from mozilla

This commit is contained in:
Vítor Santos Costa
2014-10-22 14:54:54 +01:00
parent c13bf88377
commit 61f5baf7a4
4 changed files with 94 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ else
*darwin*)
CUDA_LDFLAGS="$LDFLAGS"
CUDA_CPPFLAGS="-arch=sm_20 -Xcompiler -fPIC -O3 "
CUDA_SHLIB_LD="$NVCC -L../.. -lYap "
CUDA_SHLIB_LD="$NVCC -Xcompiler -shared -L../.. -lYap "
;;
*linux*)
CUDA_LDFLAGS="$LDFLAGS"