Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
Subject: gentoo-x86 commit in dev-libs/starpu/files: starpu-1.0.1-no-examples.patch starpu-1.0.1-system-blas.patch starpu-1.0.1-respect-cflags.patch starpu-1.0.1-no-pc-ldflags.patch
Date: Wed, 30 May 2012 00:29:47 +0000 (UTC)
bicatali    12/05/30 00:29:47

  Added:                starpu-1.0.1-no-examples.patch
                        starpu-1.0.1-system-blas.patch
                        starpu-1.0.1-respect-cflags.patch
                        starpu-1.0.1-no-pc-ldflags.patch
  Log:
  Initial import
  
  (Portage version: 2.1.10.63/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-libs/starpu/files/starpu-1.0.1-no-examples.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/files/starpu-1.0.1-no-examples.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/files/starpu-1.0.1-no-examples.patch?rev=1.1&content-type=text/plain

Index: starpu-1.0.1-no-examples.patch
===================================================================
--- Makefile.am.orig	2012-05-29 23:16:20.000000000 +0100
+++ Makefile.am	2012-05-30 00:57:47.000000000 +0100
@@ -28,7 +28,9 @@
 SUBDIRS += socl
 endif
 
+if BUILD_EXAMPLES
 SUBDIRS += examples
+endif
 
 if BUILD_GCC_PLUGIN
 SUBDIRS += gcc-plugin
--- gcc-plugin/Makefile.am.orig	2012-05-29 23:16:20.000000000 +0100
+++ gcc-plugin/Makefile.am	2012-05-30 00:59:39.000000000 +0100
@@ -13,7 +13,10 @@
 #
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 
-SUBDIRS = src tests examples
+SUBDIRS = src tests
+if BUILD_EXAMPLES
+SUBDIRS += examples
+endif
 
 EXTRA_DIST = COPYING README ChangeLog
 
--- configure.ac.orig	2012-05-29 23:30:19.000000000 +0100
+++ configure.ac	2012-05-30 01:17:48.000000000 +0100
@@ -1312,6 +1312,11 @@
 #                                                                             #
 ###############################################################################
 
+AC_ARG_ENABLE(build-examples, [AS_HELP_STRING([--enable-build-examples],
+			[enable building of examples])],
+			enable_build_examples=$enableval, enable_build_examples=no)
+# check stuff for examples (todo)
+AM_CONDITIONAL(BUILD_EXAMPLES, [test x$enable_build_examples != xno])
 AC_ARG_ENABLE(opengl-render, [AS_HELP_STRING([--enable-opengl-render],
 			[enable OpenGL rendering of some examples])],
 			enable_opengl_render=$enableval, enable_opengl_render=no)
@@ -1434,6 +1439,11 @@
      if test x$use_system_blas = xyes; then
         AC_DEFINE(STARPU_SYSTEM_BLAS, [1], [use refblas library])
 	blas_lib=system
+     elif test x"$BLAS_LIBS" != x; then
+        AC_DEFINE(STARPU_SYSTEM_BLAS, [1], [use user defined library])
+	STARPU_BLAS_LDFLAGS="$BLAS_LIBS"
+	AC_SUBST(STARPU_BLAS_LDFLAGS)
+	blas_lib=system
      else
 	blas_lib=none
      fi
--- mpi/Makefile.a.origm	2012-05-29 23:16:20.000000000 +0100
+++ mpi/Makefile.am	2012-05-30 01:20:49.000000000 +0100
@@ -94,7 +94,7 @@
 ###################
 # Stencil example #
 ###################
-
+if BUILD_EXAMPLES
 examplebin_PROGRAMS +=				\
 	examples/stencil/stencil5
 
@@ -202,7 +202,7 @@
 
 check_PROGRAMS +=		\
 	examples/reduction/mpi_reduction
-
+endif
 ########################
 # Unit testcases       #
 ########################
--- starpufft/Makefile.am.orig	2012-05-29 23:16:20.000000000 +0100
+++ starpufft/Makefile.am	2012-05-30 01:23:40.000000000 +0100
@@ -67,10 +67,13 @@
 endif
 
 examplebindir = $(libdir)/starpu/examples/starpufft
-examplebin_PROGRAMS =				\
+
+examplebin_PROGRAMS =
+if BUILD_EXAMPLES
+examplebin_PROGRAMS +=				\
 	examples/testf \
 	examples/test
-
+endif
 check_PROGRAMS = examples/testf
 examples_testf_LDADD = libstarpufft-@STARPU_EFFECTIVE_VERSION@.la $(top_builddir)/src/libstarpu-@STARPU_EFFECTIVE_VERSION@.la $(FFTWF_LIBS)
 



1.1                  dev-libs/starpu/files/starpu-1.0.1-system-blas.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/files/starpu-1.0.1-system-blas.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/files/starpu-1.0.1-system-blas.patch?rev=1.1&content-type=text/plain

Index: starpu-1.0.1-system-blas.patch
===================================================================
--- starpu-1.0.1/configure.ac.orig	2012-05-29 23:30:19.000000000 +0100
+++ starpu-1.0.1/configure.ac	2012-05-30 00:02:22.000000000 +0100
@@ -1434,6 +1434,11 @@
      if test x$use_system_blas = xyes; then
         AC_DEFINE(STARPU_SYSTEM_BLAS, [1], [use refblas library])
 	blas_lib=system
+     elif test x"$BLAS_LIBS" != x; then
+        AC_DEFINE(STARPU_SYSTEM_BLAS, [1], [use user defined library])
+	STARPU_BLAS_LDFLAGS="$BLAS_LIBS"
+	AC_SUBST(STARPU_BLAS_LDFLAGS)
+	blas_lib=system
      else
 	blas_lib=none
      fi



1.1                  dev-libs/starpu/files/starpu-1.0.1-respect-cflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/files/starpu-1.0.1-respect-cflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/files/starpu-1.0.1-respect-cflags.patch?rev=1.1&content-type=text/plain

Index: starpu-1.0.1-respect-cflags.patch
===================================================================
--- configure.ac.orig	2012-05-29 23:16:20.000000000 +0100
+++ configure.ac	2012-05-29 23:20:48.000000000 +0100
@@ -773,8 +773,6 @@
 if test x$enable_debug = xyes; then
 	CFLAGS="$CFLAGS -O0"
 	AC_DEFINE(STARPU_SPINLOCK_CHECK, [1], [check spinlock use])
-else
-	CFLAGS="$CFLAGS -O3"
 fi
 CFLAGS+=" -gdwarf-2 -g3 "
 



1.1                  dev-libs/starpu/files/starpu-1.0.1-no-pc-ldflags.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/files/starpu-1.0.1-no-pc-ldflags.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/starpu/files/starpu-1.0.1-no-pc-ldflags.patch?rev=1.1&content-type=text/plain

Index: starpu-1.0.1-no-pc-ldflags.patch
===================================================================
--- libstarpu.pc.in.orig	2012-05-29 23:16:20.000000000 +0100
+++ libstarpu.pc.in	2012-05-30 01:09:41.000000000 +0100
@@ -24,6 +24,6 @@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@ @STARPU_CUDA_CPPFLAGS@ -DSTARPU_USE_DEPRECATED_API
 Libs: -L${libdir} -lstarpu-@STARPU_EFFECTIVE_VERSION@ @STARPU_CUDA_LDFLAGS@ @STARPU_OPENCL_LDFLAGS@
-Libs.private: @LDFLAGS@ @LIBS@
+Libs.private: @LIBS@
 Requires: @HWLOC_REQUIRES@
 Requires.private: @GORDON_REQUIRES@
--- mpi/libstarpumpi.pc.in.orig	2012-05-29 23:16:20.000000000 +0100
+++ mpi/libstarpumpi.pc.in	2012-05-30 01:09:53.000000000 +0100
@@ -24,6 +24,6 @@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@ -DSTARPU_USE_DEPRECATED_API
 Libs: -L${libdir} -lstarpumpi-@STARPU_EFFECTIVE_VERSION@
-Libs.private: @LDFLAGS@ @LIBS@
+Libs.private: @LIBS@
 Requires: libstarpu
 Requires.private:
--- mpi/starpumpi-1.0.pc.in.orig	2012-05-29 23:16:20.000000000 +0100
+++ mpi/starpumpi-1.0.pc.in	2012-05-30 01:10:11.000000000 +0100
@@ -24,6 +24,6 @@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@
 Libs: -L${libdir} -lstarpumpi-@STARPU_EFFECTIVE_VERSION@
-Libs.private: @LDFLAGS@ @LIBS@
+Libs.private: @LIBS@
 Requires: starpu-1.0
 Requires.private:
--- starpufft/starpufft-1.0.pc.in.orig	2012-05-29 23:16:20.000000000 +0100
+++ starpufft/starpufft-1.0.pc.in	2012-05-30 01:10:25.000000000 +0100
@@ -24,4 +24,4 @@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@ @STARPU_CUDA_CPPFLAGS@
 Libs: -L${libdir} -lstarpufft-@STARPU_EFFECTIVE_VERSION@ 
-Libs.private: @LDFLAGS@ @LIBS@ @STARPU_CUFFT_LDFLAGS@ @FFTW_LIBS@ @FFTWF_LIBS@
+Libs.private: @LIBS@ @STARPU_CUFFT_LDFLAGS@ @FFTW_LIBS@ @FFTWF_LIBS@
--- starpufft/libstarpufft.pc.in.orig	2012-05-29 23:16:20.000000000 +0100
+++ starpufft/libstarpufft.pc.in	2012-05-30 01:10:43.000000000 +0100
@@ -24,4 +24,4 @@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@ @STARPU_CUDA_CPPFLAGS@ -DSTARPU_USE_DEPRECATED_API
 Libs: -L${libdir} -lstarpufft-@STARPU_EFFECTIVE_VERSION@ 
-Libs.private: @LDFLAGS@ @LIBS@ @STARPU_CUFFT_LDFLAGS@ @FFTW_LIBS@ @FFTWF_LIBS@
+Libs.private: @LIBS@ @STARPU_CUFFT_LDFLAGS@ @FFTW_LIBS@ @FFTWF_LIBS@
--- starpu-1.0.pc.in.orig	2012-05-29 23:16:20.000000000 +0100
+++ starpu-1.0.pc.in	2012-05-30 01:11:06.000000000 +0100
@@ -30,6 +30,6 @@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@ @STARPU_CUDA_CPPFLAGS@
 Libs: -L${libdir} -lstarpu-@STARPU_EFFECTIVE_VERSION@ @STARPU_CUDA_LDFLAGS@ @STARPU_OPENCL_LDFLAGS@
-Libs.private: @LDFLAGS@ @LIBS@
+Libs.private: @LIBS@
 Requires: @HWLOC_REQUIRES@
 Requires.private: @GORDON_REQUIRES@
--- socl/socl-1.0.pc.in.orig	2012-05-29 23:16:20.000000000 +0100
+++ socl/socl-1.0.pc.in	2012-05-30 01:11:19.000000000 +0100
@@ -24,6 +24,6 @@
 Version: @PACKAGE_VERSION@
 Cflags: -I${includedir}/starpu/@STARPU_EFFECTIVE_VERSION@/socl
 Libs: -L${libdir} -lsocl-@STARPU_EFFECTIVE_VERSION@
-Libs.private: @LDFLAGS@ @LIBS@
+Libs.private: @LIBS@
 Requires: starpu-1.0
 Requires.private:





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-libs/starpu: ChangeLog metadata.xml starpu-1.0.1.ebuild Manifest
Next by thread:
gentoo-x86 commit in net-libs/nodejs: nodejs-0.6.18.ebuild nodejs-0.7.8.ebuild nodejs-0.6.17.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in dev-libs/starpu: ChangeLog metadata.xml starpu-1.0.1.ebuild Manifest
Next by date:
gentoo-x86 commit in profiles/arch/alpha: ChangeLog use.mask


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.