public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpl/
@ 2020-02-13 21:40 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2020-02-13 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     46ad2722486f0e4e278c4c7e2c547d27fa3dea9f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 13 21:39:05 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Feb 13 21:39:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ad2722

sys-cluster/hpl: [QA] inherit toolchain-funcs.eclass directly

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-cluster/hpl/hpl-2.0-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/hpl/hpl-2.0-r3.ebuild b/sys-cluster/hpl/hpl-2.0-r3.ebuild
index b30231cb5de..d706f2b63d6 100644
--- a/sys-cluster/hpl/hpl-2.0-r3.ebuild
+++ b/sys-cluster/hpl/hpl-2.0-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
 
-inherit eutils multilib
+inherit eutils multilib toolchain-funcs
 
 DESCRIPTION="Portable Implementation of the Linpack Benchmark for Distributed-Memory Clusters"
 HOMEPAGE="http://www.netlib.org/benchmark/hpl/"


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpl/
@ 2020-10-04 22:55 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2020-10-04 22:55 UTC (permalink / raw
  To: gentoo-commits

commit:     58f23b8c52b496150e70c679fdb314572cbb0a72
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  4 22:33:30 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  4 22:55:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f23b8c

sys-cluster/hpl: port to EAPI 7

Closes: https://bugs.gentoo.org/740930
Closes: https://bugs.gentoo.org/725808
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../hpl/{hpl-2.0-r3.ebuild => hpl-2.0-r4.ebuild}   | 24 ++++++++++++++--------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/sys-cluster/hpl/hpl-2.0-r3.ebuild b/sys-cluster/hpl/hpl-2.0-r4.ebuild
similarity index 79%
rename from sys-cluster/hpl/hpl-2.0-r3.ebuild
rename to sys-cluster/hpl/hpl-2.0-r4.ebuild
index d706f2b63d6..dab8670c739 100644
--- a/sys-cluster/hpl/hpl-2.0-r3.ebuild
+++ b/sys-cluster/hpl/hpl-2.0-r4.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit eutils multilib toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Portable Implementation of the Linpack Benchmark for Distributed-Memory Clusters"
 HOMEPAGE="http://www.netlib.org/benchmark/hpl/"
@@ -14,12 +14,12 @@ LICENSE="HPL"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 
+BDEPEND="virtual/pkgconfig"
 RDEPEND="
 	virtual/blas
 	virtual/lapack
 	virtual/mpi"
-DEPEND="${DEPEND}
-	virtual/pkgconfig"
+DEPEND="${RDEPEND}"
 
 src_prepare() {
 	local a=""
@@ -38,28 +38,34 @@ src_prepare() {
 		-e '/^CC\>/s,= .*,= mpicc,' \
 		-e '/^CCFLAGS\>/s|= .*|= $(HPL_DEFS) ${CFLAGS}|' \
 		-e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS}|" \
+		-e "/^ARCHIVER\>/s|= .*|= $(tc-getAR)|" \
 		Make.gentoo_hpl_fblas_x86 || die
+
+	default
 }
 
 src_compile() {
 	# parallel make failure bug #321539
-	HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86
+	HOME="${WORKDIR}" emake -j1 arch=gentoo_hpl_fblas_x86
 }
 
 src_install() {
 	dobin bin/gentoo_hpl_fblas_x86/xhpl
-	dolib lib/gentoo_hpl_fblas_x86/libhpl.a
+	dolib.a lib/gentoo_hpl_fblas_x86/libhpl.a
+
 	dodoc INSTALL BUGS COPYRIGHT HISTORY README TUNING \
 		bin/gentoo_hpl_fblas_x86/HPL.dat
 	doman man/man3/*.3
+
 	if use doc; then
-		dohtml -r www/*
+		docinto html
+		dodoc -r www/*
 	fi
 }
 
 pkg_postinst() {
-	einfo "Remember to copy /usr/share/hpl/HPL.dat to your working directory"
+	einfo "Remember to copy ${EROOT}/usr/share/hpl/HPL.dat to your working directory"
 	einfo "before running xhpl.  Typically one may run hpl by executing:"
-	einfo "\"mpiexec -np 4 /usr/bin/xhpl\""
+	einfo "\"mpiexec -np 4 ${EROOT}/usr/bin/xhpl\""
 	einfo "where -np specifies the number of processes."
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpl/
@ 2017-12-01 22:19 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2017-12-01 22:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e104a9d85c90dc275fb1697e6085dc9e7e235e75
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  1 21:17:10 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec  1 22:17:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e104a9d8

sys-cluster/hpl: [QA] Fix DESCRIPTION.toolong

 sys-cluster/hpl/hpl-2.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/hpl/hpl-2.0-r3.ebuild b/sys-cluster/hpl/hpl-2.0-r3.ebuild
index 61cbba4afc7..8f94c4548d4 100644
--- a/sys-cluster/hpl/hpl-2.0-r3.ebuild
+++ b/sys-cluster/hpl/hpl-2.0-r3.ebuild
@@ -5,7 +5,7 @@ EAPI=4
 
 inherit eutils multilib
 
-DESCRIPTION="A Portable Implementation of the High-Performance Linpack Benchmark for Distributed-Memory Computers"
+DESCRIPTION="Portable Implementation of the Linpack Benchmark for Distributed-Memory Clusters"
 HOMEPAGE="http://www.netlib.org/benchmark/hpl/"
 SRC_URI="http://www.netlib.org/benchmark/hpl/hpl-${PV}.tar.gz"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-04 22:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-13 21:40 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpl/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2020-10-04 22:55 Sam James
2017-12-01 22:19 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox