summary refs log tree commit diff
path: root/pkgs/development/r-modules/patches/magma_cuda_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/r-modules/patches/magma_cuda_include.patch')
-rw-r--r--pkgs/development/r-modules/patches/magma_cuda_include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/r-modules/patches/magma_cuda_include.patch b/pkgs/development/r-modules/patches/magma_cuda_include.patch
new file mode 100644
index 00000000000..67552325ae9
--- /dev/null
+++ b/pkgs/development/r-modules/patches/magma_cuda_include.patch
@@ -0,0 +1,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`