nixpkgs/pkgs/development/r-modules/patches/magma_cuda_include.patch
2014-12-03 16:28:28 +01:00

13 lines
490 B
Diff

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`