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 11:46:22 +0000 (UTC)	[thread overview]
Message-ID: <1537703175.cc2493755258550540e6d603d5e1f426c5a3c7d3.jer@gentoo> (raw)

commit:     cc2493755258550540e6d603d5e1f426c5a3c7d3
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 23 11:45:55 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Sep 23 11:46:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc249375

dev-libs/starpu: Version 1.2.6.

Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-libs/starpu/Manifest            |  1 +
 dev-libs/starpu/starpu-1.2.6.ebuild | 78 +++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/dev-libs/starpu/Manifest b/dev-libs/starpu/Manifest
index 2c4a92597b6..2ea020b11cb 100644
--- a/dev-libs/starpu/Manifest
+++ b/dev-libs/starpu/Manifest
@@ -1 +1,2 @@
 DIST starpu-1.1.5.tar.gz 5209660 BLAKE2B 3caf313402a840b8196dc94b6c4f973f87a21878bcbfe1a44ce14218c02290c8701eb3829ce0b89f3029f768c7760ea94c4f307c850e6e42ec877be017c50b4a SHA512 e22a51c601c1997f6a9279e87b22a96f2b25a9c8bb4b715ee3a048ed8af638997610ba72c7b42f61d9401464464c57402feebc76368f9df6ca84fa1305baeedd
+DIST starpu-1.2.6.tar.gz 8911397 BLAKE2B a73cb3b230282b0b828fdaeb65f5491928fde1b2e5797f739a99c87318fa29511196f7121a72ff91bf0d663938b50f200d108fdce2726eb7ea8c7e997156dc13 SHA512 5971f8875dd54c73486583456bd0bc81c2865cb5b8bba6d47a5085d76fa6294c869efdd1c1d14144d08e6c14cbbea3a773474d46aa827ca24f58d9fb57ccbed7

diff --git a/dev-libs/starpu/starpu-1.2.6.ebuild b/dev-libs/starpu/starpu-1.2.6.ebuild
new file mode 100644
index 00000000000..cb8669fa9a4
--- /dev/null
+++ b/dev-libs/starpu/starpu-1.2.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_STANDARD=90
+
+inherit autotools toolchain-funcs cuda fortran-2
+
+DESCRIPTION="Unified runtime system for heterogeneous multicore architectures"
+HOMEPAGE="http://starpu.gforge.inria.fr/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/37744/${P}.tar.gz"
+
+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"
+
+RDEPEND="
+	sys-apps/hwloc:0=
+	sci-mathematics/glpk:0=
+	blas? ( virtual/blas )
+	cuda? ( dev-util/nvidia-cuda-toolkit
+			x11-drivers/nvidia-drivers
+			blas? ( sci-libs/magma ) )
+	fftw? ( sci-libs/fftw:3.0= )
+	mpi? ( virtual/mpi )
+	opencl? ( virtual/opencl )
+	opengl? ( media-libs/freeglut:0= )"
+
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen virtual/latex-base )
+	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
+	eautoreconf
+	use cuda && cuda_src_prepare
+}
+
+src_configure() {
+	use blas && export BLAS_LIBS="$($(tc-getPKG_CONFIG) --libs blas)"
+
+	econf \
+		--disable-build-examples \
+		--disable-starpu-top \
+		$(use_enable cuda) \
+		$(use_enable debug) \
+		$(use_enable doc build-doc) \
+		$(use_enable fftw starpufft) \
+		$(use_enable gcc-plugin gcc-extensions) \
+		$(use_enable opencl) \
+		$(use_enable opengl opengl-render) \
+		$(use_enable static-libs static) \
+		$(use_with mpi mpicc "$(type -P mpicc)") \
+		$(use cuda && use_enable blas magma) \
+		$(use mpi && use_enable test mpi-check)
+}
+
+src_test() {
+	emake -j1 showcheck
+}
+
+src_install() {
+	default
+	use doc && dodoc -r doc/doxygen/*.pdf doc/doxygen/html
+	if use examples; then
+		insinto /usr/share/doc/${PF}/examples
+		doins -r examples/*
+	fi
+	prune_libtool_files --all
+}


             reply	other threads:[~2018-09-23 11:46 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-23 11:46 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 12:44 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=1537703175.cc2493755258550540e6d603d5e1f426c5a3c7d3.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