浏览代码

socl: install include files in directory socl to not conflict with existing OpenCL installation

Nathalie Furmento 13 年之前
父节点
当前提交
9a5de65b9c
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      socl/Makefile.am
  2. 2 2
      socl/socl-1.0.pc.in

+ 1 - 1
socl/Makefile.am

@@ -17,7 +17,7 @@ SUBDIRS = src examples
 
 EXTRA_DIST = README
 
-libsocl_la_includedir=$(includedir)/starpu/$(STARPU_EFFECTIVE_VERSION)/CL
+libsocl_la_includedir=$(includedir)/starpu/$(STARPU_EFFECTIVE_VERSION)/socl/CL
 
 libsocl_la_include_HEADERS = \
   include/CL/cl.h \

+ 2 - 2
socl/socl-1.0.pc.in

@@ -1,7 +1,7 @@
 # StarPU --- Runtime system for heterogeneous multicore architectures.
 #
 # Copyright (C) 2009-2011  Université de Bordeaux 1
-# Copyright (C) 2010, 2011  Centre National de la Recherche Scientifique
+# Copyright (C) 2010, 2011, 2012  Centre National de la Recherche Scientifique
 #
 # StarPU is free software; you can redistribute it and/or modify
 # it under the terms of the GNU Lesser General Public License as published by
@@ -22,7 +22,7 @@ includedir=@includedir@
 Name: socl
 Description: offers OpenCL implementation on top of StarPU
 Version: @PACKAGE_VERSION@
-Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@
+Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@/socl
 Libs: -L${libdir} -lsocl-@STARPU_EFFECTIVE_VERSION@
 Libs.private: @LDFLAGS@ @LIBS@
 Requires: starpu-1.0