summary refs log tree commit diff
path: root/pkgs/development/r-modules/patches/magma_cuda_include.patch
blob: 67552325ae9b4d7602d26bbb1e6ffc3ae2d65a6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru -x '*~' magma_orig/configure magma/configure
--- magma_orig/configure	2013-04-03 11:07:42.000000000 +0900
+++ magma/configure	2014-10-18 21:58:48.745890187 +0900
@@ -2377,7 +2377,7 @@
 
 
 NCFLAGS="-arch=sm_13 -O2 -DADD_"
-CUDA_INC=${CUDA_HOME}/include
+CUDA_INC=${CUDA_HOME}/usr_include
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CUDA headers" >&5
 $as_echo_n "checking for CUDA headers... " >&6; }
 as_ac_File=`$as_echo "ac_cv_file_${CUDA_INC}/cublas.h" | $as_tr_sh`