commit: 543ea3b73fdbbc3f4717dfecc2db3c8f46d772f5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Oct 4 22:55:24 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=543ea3b7
sys-cluster/hpl: bump to 2.3 Closes: https://bugs.gentoo.org/525714 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-cluster/hpl/Manifest | 1 + sys-cluster/hpl/files/hpl-2.3-respect-AR.patch | 13 +++++++ sys-cluster/hpl/hpl-2.3.ebuild | 52 ++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/sys-cluster/hpl/Manifest b/sys-cluster/hpl/Manifest index 17816b32976..378d5054dd0 100644 --- a/sys-cluster/hpl/Manifest +++ b/sys-cluster/hpl/Manifest @@ -1 +1,2 @@ DIST hpl-2.0.tar.gz 591087 BLAKE2B d3fd738c40f89916c7a5a7cbb561d30c8b9defd08d552b6aeea707f2b6b87a4774d6dce4b9fd7983ee12b112f319e574b89fd8158a381e997dfb86a3572d5f95 SHA512 3aa76144526b01ec40d940cae50d47e480e2760a36d1e95bc6e431b216407db190946fc3d99a6a7caf7b61bcc76d805d28da3ef0b141ff467854e1cdf10bb274 +DIST hpl-2.3.tar.gz 660871 BLAKE2B c1f02a21d5ebcea1140e619a29fbaa70a7fe219e06ea26bd77ca49b95fabde413c4f09cd1670d0d628baf032d009a606a14c4d0ba66afce37e505a435db17753 SHA512 954297b6464e3f9d9315d2f1ce0c87b8486d3d60da92e6847e74b16fdf9fc6d73eb0b85317416c2fc088e72e81b8b3a3eb0148c14edcf575557cd86541d0d8cb diff --git a/sys-cluster/hpl/files/hpl-2.3-respect-AR.patch b/sys-cluster/hpl/files/hpl-2.3-respect-AR.patch new file mode 100644 index 00000000000..e7b112380c5 --- /dev/null +++ b/sys-cluster/hpl/files/hpl-2.3-respect-AR.patch @@ -0,0 +1,13 @@ +diff --git a/configure.ac b/configure.ac +index eb91dc5..cc10681 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -8,6 +8,8 @@ AX_PROG_CC_MPI + + AC_PROG_RANLIB + ++AM_PROG_AR ++ + AC_PROG_INSTALL + + AM_INIT_AUTOMAKE([subdir-objects]) diff --git a/sys-cluster/hpl/hpl-2.3.ebuild b/sys-cluster/hpl/hpl-2.3.ebuild new file mode 100644 index 00000000000..6ed3d0fbd20 --- /dev/null +++ b/sys-cluster/hpl/hpl-2.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +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" + +SLOT="0" +LICENSE="HPL" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + virtual/blas + virtual/lapack + virtual/mpi" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-2.3-respect-AR.patch" +) + +src_prepare() { + default + + # Needed for the AR patch + eautoreconf +} + +src_install() { + default + + doman man/man3/*.3 + dodoc testing/ptest/HPL.dat + + if use doc; then + docinto html + dodoc -r www/* + fi +} + +pkg_postinst() { + einfo "Remember to copy (+ extract) ${EROOT}/usr/share/${PF}/HPL.dat.bzip2 to your working directory" + einfo "before running xhpl. Typically one may run hpl by executing:" + einfo "\"mpiexec -np 4 ${EROOT}/usr/bin/xhpl\"" + einfo "where -np specifies the number of processes." +}
