소스 검색

Add libstarpumpi.pc

Samuel Thibault 13 년 전
부모
커밋
c6a24d4c6b
3개의 변경된 파일33개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Makefile.am
  2. 1 0
      configure.ac
  3. 29 0
      libstarpumpi.pc.in

+ 3 - 0
Makefile.am

@@ -41,6 +41,9 @@ endif
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libstarpu.pc
+if USE_MPI
+pkgconfig_DATA += libstarpumpi.pc
+endif
 
 include_HEADERS = 				\
 	include/starpu.h			\

+ 1 - 0
configure.ac

@@ -1401,6 +1401,7 @@ AC_OUTPUT([
 	socl/Makefile
 	socl/src/Makefile
 	libstarpu.pc
+	libstarpumpi.pc
 	examples/Makefile
         examples/opt/Makefile
 	examples/starpufft/Makefile

+ 29 - 0
libstarpumpi.pc.in

@@ -0,0 +1,29 @@
+# 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
+#
+# 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
+# the Free Software Foundation; either version 2.1 of the License, or (at
+# your option) any later version.
+#
+# StarPU is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+# See the GNU Lesser General Public License in COPYING.LGPL for more details.
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: starpumpi
+Description: offers MPI support for heterogeneous multicore architecture
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lstarpumpi
+Libs.private: @LDFLAGS@ @LIBS@
+Requires: libstarpu
+Requires.private: