From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3206F138359 for ; Sun, 4 Oct 2020 22:55:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77012E08C4; Sun, 4 Oct 2020 22:55:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6059FE08C4 for ; Sun, 4 Oct 2020 22:55:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4CC5335D54 for ; Sun, 4 Oct 2020 22:55:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50A6638C for ; Sun, 4 Oct 2020 22:55:36 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1601852129.543ea3b73fdbbc3f4717dfecc2db3c8f46d772f5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpl/, sys-cluster/hpl/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/hpl/Manifest sys-cluster/hpl/files/hpl-2.3-respect-AR.patch sys-cluster/hpl/hpl-2.3.ebuild X-VCS-Directories: sys-cluster/hpl/ sys-cluster/hpl/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 543ea3b73fdbbc3f4717dfecc2db3c8f46d772f5 X-VCS-Branch: master Date: Sun, 4 Oct 2020 22:55:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8fc3e539-358c-4b19-ac82-f957a2da0c32 X-Archives-Hash: e05a426ce4541b506943ddad62c66699 commit: 543ea3b73fdbbc3f4717dfecc2db3c8f46d772f5 Author: Sam James gentoo org> AuthorDate: Sun Oct 4 22:55:24 2020 +0000 Commit: Sam James gentoo 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 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." +}