nixpkgs/pkgs/development/r-modules/patches/gputools.patch

14 lines
436 B
Diff
Raw Normal View History

2014-11-21 14:23:36 +01:00
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)