public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/starpu/
Date: Sun, 23 Sep 2018 12:44:06 +0000 (UTC)	[thread overview]
Message-ID: <1537706643.3f24f036510d9848ff0a9950fc8bc7e88ab7fd1d.jer@gentoo> (raw)

commit:     3f24f036510d9848ff0a9950fc8bc7e88ab7fd1d
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 23 12:43:46 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Sep 23 12:44:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f24f036

dev-libs/starpu: Fix more dependencies

Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-libs/starpu/metadata.xml        |  2 ++
 dev-libs/starpu/starpu-1.2.6.ebuild | 43 +++++++++++++++++++++++--------------
 2 files changed, 29 insertions(+), 16 deletions(-)

diff --git a/dev-libs/starpu/metadata.xml b/dev-libs/starpu/metadata.xml
index 8e975146000..e3bd900a60a 100644
--- a/dev-libs/starpu/metadata.xml
+++ b/dev-libs/starpu/metadata.xml
@@ -15,5 +15,7 @@
   <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag>
   <flag name="gcc-plugin">Enable GCC extension plugin (experimental)</flag>
   <flag name="opencl">Enable OpenCL support</flag>
+  <flag name="spinlock-check">Enable spinlock check</flag>
+  <flag name="valgrind">Enable <pkg>dev-util/valgrind</pkg> support</flag>
 </use>
 </pkgmetadata>

diff --git a/dev-libs/starpu/starpu-1.2.6.ebuild b/dev-libs/starpu/starpu-1.2.6.ebuild
index cb8669fa9a4..00bae6ae10a 100644
--- a/dev-libs/starpu/starpu-1.2.6.ebuild
+++ b/dev-libs/starpu/starpu-1.2.6.ebuild
@@ -2,10 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-
 FORTRAN_STANDARD=90
-
-inherit autotools toolchain-funcs cuda fortran-2
+FORTRAN_NEEDED="fortran"
+inherit autotools cuda fortran-2 toolchain-funcs
 
 DESCRIPTION="Unified runtime system for heterogeneous multicore architectures"
 HOMEPAGE="http://starpu.gforge.inria.fr/"
@@ -15,12 +14,14 @@ LICENSE="LGPL-2.1"
 SLOT="0/8"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 
-IUSE="blas cuda debug doc examples fftw gcc-plugin mpi opencl opengl
-	static-libs test"
+IUSE="
+	blas cuda doc examples fftw fortran gcc-plugin mpi opencl opengl
+	spinlock-check static-libs test valgrind
+"
 
 RDEPEND="
-	sys-apps/hwloc:0=
 	sci-mathematics/glpk:0=
+	sys-apps/hwloc:0=
 	blas? ( virtual/blas )
 	cuda? ( dev-util/nvidia-cuda-toolkit
 			x11-drivers/nvidia-drivers
@@ -28,19 +29,24 @@ RDEPEND="
 	fftw? ( sci-libs/fftw:3.0= )
 	mpi? ( virtual/mpi )
 	opencl? ( virtual/opencl )
-	opengl? ( media-libs/freeglut:0= )"
+	opengl? ( media-libs/freeglut:0= )
+	valgrind? ( dev-util/valgrind )
+"
 
-DEPEND="${RDEPEND}
+DEPEND="
+	${RDEPEND}
 	virtual/pkgconfig
 	doc? ( app-doc/doxygen virtual/latex-base )
-	test? ( gcc-plugin? ( dev-scheme/guile ) )"
+	test? ( gcc-plugin? ( dev-scheme/guile ) )
+"
 
 src_prepare() {
 	default
-	# upstream did not want the patches so apply sed's
-	sed -i -e 's/-O3 $CFLAGS/$CFLAGS/' configure.ac || die
+
 	sed -i -e '/Libs.private/s/@LDFLAGS@//g' *.pc.in */*.pc.in || die
+	sed -i -e 's:-O3::g;s:-D_FORTIFY_SOURCE=1::g' configure.ac || die
 	eautoreconf
+
 	use cuda && cuda_src_prepare
 }
 
@@ -48,19 +54,24 @@ src_configure() {
 	use blas && export BLAS_LIBS="$($(tc-getPKG_CONFIG) --libs blas)"
 
 	econf \
-		--disable-build-examples \
-		--disable-starpu-top \
+		$(use cuda && use_enable blas magma) \
+		$(use mpi && use_enable test mpi-check) \
 		$(use_enable cuda) \
-		$(use_enable debug) \
 		$(use_enable doc build-doc) \
 		$(use_enable fftw starpufft) \
+		$(use_enable fortran) \
 		$(use_enable gcc-plugin gcc-extensions) \
 		$(use_enable opencl) \
 		$(use_enable opengl opengl-render) \
+		$(use_enable spinlock-check) \
 		$(use_enable static-libs static) \
+		$(use_enable valgrind) \
 		$(use_with mpi mpicc "$(type -P mpicc)") \
-		$(use cuda && use_enable blas magma) \
-		$(use mpi && use_enable test mpi-check)
+		--disable-build-examples \
+		--disable-debug \
+		--disable-fstack-protector-all \
+		--disable-full-gdb-information \
+		--disable-starpu-top
 }
 
 src_test() {


             reply	other threads:[~2018-09-23 12:44 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-23 12:44 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-09 22:56 [gentoo-commits] repo/gentoo:master commit in: dev-libs/starpu/ Andreas K. Hüttel
2024-11-09 22:42 Andreas K. Hüttel
2023-05-14 17:11 Sam James
2023-02-19 18:25 Sam James
2022-12-05  5:30 WANG Xuerui
2022-05-16  8:12 David Seifert
2022-01-10 23:02 Sam James
2021-12-27 14:13 Agostino Sarubbo
2021-12-26 20:51 Arthur Zamarin
2021-12-26 19:51 Arthur Zamarin
2021-12-26 19:05 Sam James
2021-12-26 19:05 Sam James
2021-12-26 19:03 Sam James
2021-11-19 17:36 Arthur Zamarin
2021-11-14 23:51 Sam James
2021-10-29  4:30 Sam James
2021-10-29  4:27 Sam James
2021-10-29  2:36 Sam James
2021-10-24 21:14 Sam James
2021-10-02 23:17 Sam James
2021-07-16 11:43 Marek Szuba
2021-07-14 22:45 Marek Szuba
2021-07-14 18:11 Marek Szuba
2021-07-14 16:15 Marek Szuba
2020-11-14  1:48 Thomas Deutschmann
2020-09-19 12:51 Michał Górny
2019-12-12 14:58 Michał Górny
2019-02-16  9:28 Pacho Ramos
2019-02-11 14:40 Mikle Kolyada
2018-09-23 11:46 Jeroen Roovers
2018-09-23 11:46 Jeroen Roovers
2018-01-24 22:52 Andreas Sturmlechner
2017-11-27 19:46 Sergei Trofimovich
2017-09-30  2:58 Sergei Trofimovich
2017-09-02 13:18 Michael Palimaka
2017-07-01  9:52 Sergei Trofimovich
2017-04-29 16:21 Jeroen Roovers
2017-04-05 15:36 Michael Weber
2016-06-09  1:15 Sebastien Fabbro
2016-06-07 16:47 Tobias Klausmann
2016-02-17 19:39 Sebastien Fabbro
2016-02-17 17:18 Sebastien Fabbro
2016-02-17 17:18 Sebastien Fabbro
2016-02-17 17:18 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537706643.3f24f036510d9848ff0a9950fc8bc7e88ab7fd1d.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox