浏览代码

partly reverse r3755: tools need the cuda CFLAGS to be able to include cuda.h

Samuel Thibault 14 年之前
父节点
当前提交
6e3cbd8396
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/Makefile.am

+ 1 - 0
tools/Makefile.am

@@ -16,6 +16,7 @@
 
 
 SUBDIRS =
 SUBDIRS =
 
 
+AM_CFLAGS = $(HWLOC_CFLAGS) $(STARPU_CUDA_CPPFLAGS) $(STARPU_OPENCL_CPPFLAGS)
 LIBS = $(top_builddir)/src/libstarpu.la @LIBS@
 LIBS = $(top_builddir)/src/libstarpu.la @LIBS@
 AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/tools/ -I$(top_srcdir)/mpi/ -I$(top_builddir)/src -I$(top_srcdir)/src
 AM_CPPFLAGS = -I$(top_srcdir)/include/ -I$(top_srcdir)/tools/ -I$(top_srcdir)/mpi/ -I$(top_builddir)/src -I$(top_srcdir)/src