mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
13
sys-cluster/hpl/files/hpl-2.3-respect-AR.patch
Normal file
13
sys-cluster/hpl/files/hpl-2.3-respect-AR.patch
Normal file
@@ -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])
|
||||
52
sys-cluster/hpl/hpl-2.3.ebuild
Normal file
52
sys-cluster/hpl/hpl-2.3.ebuild
Normal file
@@ -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."
|
||||
}
|
||||
Reference in New Issue
Block a user