summary refs log tree commit diff
path: root/pkgs/development/r-modules/patches/gputools.patch
blob: 61cbcea937068acdd75b2d6744c356188737ffe4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -ru -x '*~' gputools_orig/src/Makefile gputools/src/Makefile
--- gputools_orig/src/Makefile	2013-05-09 01:43:32.000000000 +0900
+++ gputools/src/Makefile	2014-10-21 21:41:23.067148490 +0900
@@ -6,6 +6,9 @@
 
 R_HOME := $(shell R RHOME)
 
+CUDA_INC := $(CUDA_HOME)/usr_include
+CUDA_LIB := $(CUDA_HOME)/lib
+
 #compiler/preprocessor options
 INCS := -I. -I"$(CUDA_INC)" -I"$(R_INC)"
 PARAMS := $(DEVICEOPTS) -Xcompiler $(CPICFLAGS)