[gentoo-commits] proj/sci:master commit in: sys-cluster/hpl/

2020-10-09 Thread Aisha Tammy
commit: ad9ae04669682cf6c0a78070f46e8e5e101e612e
Author: Aisha Tammy  aisha  cc>
AuthorDate: Sat Oct 10 01:26:01 2020 +
Commit: Aisha Tammy  aisha  cc>
CommitDate: Sat Oct 10 01:26:01 2020 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=ad9ae046

sys-cluster/hpl: drop package

present in ::gentoo

Signed-off-by: Aisha Tammy  aisha.cc>

 sys-cluster/hpl/hpl-2.0-r1.ebuild | 67 
 sys-cluster/hpl/hpl-2.1.ebuild| 71 ---
 sys-cluster/hpl/metadata.xml  |  8 -
 3 files changed, 146 deletions(-)

diff --git a/sys-cluster/hpl/hpl-2.0-r1.ebuild 
b/sys-cluster/hpl/hpl-2.0-r1.ebuild
deleted file mode 100644
index 8b80e4c1c..0
--- a/sys-cluster/hpl/hpl-2.0-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils mpi toolchain-funcs
-
-DESCRIPTION="High-Performance Linpack Benchmark for Distributed-Memory 
Computers"
-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"
-
-RDEPEND="
-   $(mpi_pkg_deplist)
-   virtual/blas
-   virtual/lapack"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   local mpicc_path="$(mpi_pkg_cc)"
-
-   cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86 || die
-   sed -i \
-   -e "/^TOPdir/s,= .*,= ${S}," \
-   -e '/^HPL_OPTS\>/s,=,= -DHPL_DETAILED_TIMING -DHPL_COPY_L,' \
-   -e '/^ARCH\>/s,= .*,= gentoo_hpl_fblas_x86,' \
-   -e '/^MPdir\>/s,= .*,=,' \
-   -e '/^MPlib\>/s,= .*,=,' \
-   -e "/^LAlib\>/s,= .*,= $($(tc-getPKG_CONFIG) --libs-only-l blas 
lapack)," \
-   -e "/^LINKER\>/s,= .*,= ${mpicc_path}," \
-   -e "/^CC\>/s,= .*,= ${mpicc_path}," \
-   -e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS} $($(tc-getPKG_CONFIG) 
--libs-only-L blas lapack)|" \
-   Make.gentoo_hpl_fblas_x86 || die
-   default
-}
-
-src_compile() {
-   # do NOT use emake here
-   mpi_pkg_set_env
-   # parallel make failure bug #321539
-   HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86
-   mpi_pkg_restore_env
-}
-
-src_install() {
-   mpi_dobin bin/gentoo_hpl_fblas_x86/xhpl
-   mpi_dolib.a lib/gentoo_hpl_fblas_x86/libhpl.a
-   mpi_dodoc INSTALL BUGS COPYRIGHT HISTORY README TUNING \
-   bin/gentoo_hpl_fblas_x86/HPL.dat
-   mpi_doman man/man3/*.3
-   if use doc; then
-   mpi_dohtml -r www/*
-   fi
-}
-
-pkg_postinst() {
-   local d=$(mpi_root)
-   einfo "Remember to copy $(mpi_root)usr/share/doc/${PF}/HPL.dat to your 
working directory first!"
-   einfo "Typically one may run hpl by executing the following:"
-   einfo "\"mpiexec -np 4 /usr/bin/xhpl\""
-   einfo "where -np specifies the number of processes."
-}

diff --git a/sys-cluster/hpl/hpl-2.1.ebuild b/sys-cluster/hpl/hpl-2.1.ebuild
deleted file mode 100644
index ba91a5d66..0
--- a/sys-cluster/hpl/hpl-2.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils mpi multilib
-
-DESCRIPTION="High-Performance Linpack Benchmark for Distributed-Memory 
Computers"
-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"
-
-RDEPEND="
-   $(mpi_pkg_deplist)
-   virtual/blas
-   virtual/lapack"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
-
-src_prepare() {
-   local mpicc_path="$(mpi_pkg_cc)"
-   local a=""
-   local locallib="${EPREFIX}/usr/$(get_libdir)/lib"
-
-   cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86 || die
-   sed -i \
-   -e "/^TOPdir/s,= .*,= ${S}," \
-   -e '/^HPL_OPTS\>/s,=,= -DHPL_DETAILED_TIMING -DHPL_COPY_L,' \
-   -e '/^ARCH\>/s,= .*,= gentoo_hpl_fblas_x86,' \
-   -e '/^MPdir\>/s,= .*,=,' \
-   -e '/^MPlib\>/s,= .*,=,' \
-   -e "/^LAlib\>/s%= .*%= $($(tc-getPKG_CONFIG) --libs blas 
lapack)%" \
-   -e "/^LINKER\>/s,= .*,= ${mpicc_path}," \
-   -e "/^CC\>/s,= .*,= ${mpicc_path}," \
-   -e "/^CCFLAGS\>/s|= .*|= \$(HPL_DEFS) ${CFLAGS}|" \
-   -e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS}|" \
-   Make.gentoo_hpl_fblas_x86 || die
-   default
-}
-
-src_compile() {
-   # do NOT use emake here
-   mpi_pkg_set_env
-   # parallel make failure bug #321539
-   HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86
-   mpi_pkg_restore_env
-}
-
-src_install() {
-   mpi_dobin bin/gentoo_hpl_fblas_x86/xhpl
-   mpi_dolib.a 

[gentoo-commits] proj/sci:master commit in: sys-cluster/hpl/

2016-02-14 Thread Justin Lecher
commit: 8a0ba08cb29477f1544d5514541b2930d24aac74
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Feb 14 16:52:37 2016 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Feb 14 16:52:37 2016 +
URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=8a0ba08c

sys-cluster/hpl: Chop DESCRIPTION to 80 chars

* Bump EAPI to 6

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher  gentoo.org>

 sys-cluster/hpl/hpl-2.0-r1.ebuild | 10 ++
 sys-cluster/hpl/hpl-2.1.ebuild| 10 ++
 sys-cluster/hpl/metadata.xml  |  2 +-
 3 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/sys-cluster/hpl/hpl-2.0-r1.ebuild 
b/sys-cluster/hpl/hpl-2.0-r1.ebuild
index 06f6f4c..2b1eccd 100644
--- a/sys-cluster/hpl/hpl-2.0-r1.ebuild
+++ b/sys-cluster/hpl/hpl-2.0-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit eutils mpi toolchain-funcs
 
@@ -10,8 +10,8 @@ DESCRIPTION="High-Performance Linpack Benchmark for 
Distributed-Memory Computers
 HOMEPAGE="http://www.netlib.org/benchmark/hpl/";
 SRC_URI="http://www.netlib.org/benchmark/hpl/hpl-${PV}.tar.gz";
 
-LICENSE="HPL"
 SLOT="0"
+LICENSE="HPL"
 KEYWORDS="~x86 ~amd64"
 IUSE="doc"
 
@@ -25,7 +25,7 @@ DEPEND="${RDEPEND}
 src_prepare() {
local mpicc_path="$(mpi_pkg_cc)"
 
-   cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86
+   cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86 || die
sed -i \
-e "/^TOPdir/s,= .*,= ${S}," \
-e '/^HPL_OPTS\>/s,=,= -DHPL_DETAILED_TIMING -DHPL_COPY_L,' \
@@ -37,11 +37,13 @@ src_prepare() {
-e "/^CC\>/s,= .*,= ${mpicc_path}," \
-e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS} $($(tc-getPKG_CONFIG) 
--libs-only-L blas lapack)|" \
Make.gentoo_hpl_fblas_x86 || die
+   default
 }
 
 src_compile() {
# do NOT use emake here
mpi_pkg_set_env
+   # parallel make failure bug #321539
HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86
mpi_pkg_restore_env
 }

diff --git a/sys-cluster/hpl/hpl-2.1.ebuild b/sys-cluster/hpl/hpl-2.1.ebuild
index f2dcf8c..b4b3a8e 100644
--- a/sys-cluster/hpl/hpl-2.1.ebuild
+++ b/sys-cluster/hpl/hpl-2.1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit eutils mpi multilib
 
-DESCRIPTION="A Portable Implementation of the High-Performance Linpack 
Benchmark for Distributed-Memory Computers"
+DESCRIPTION="High-Performance Linpack Benchmark for Distributed-Memory 
Computers"
 HOMEPAGE="http://www.netlib.org/benchmark/hpl/";
 SRC_URI="http://www.netlib.org/benchmark/hpl/hpl-${PV}.tar.gz";
 
@@ -19,7 +19,7 @@ RDEPEND="
$(mpi_pkg_deplist)
virtual/blas
virtual/lapack"
-DEPEND="${DEPEND}
+DEPEND="${RDEPEND}
virtual/pkgconfig"
 
 src_prepare() {
@@ -40,9 +40,11 @@ src_prepare() {
-e "/^CCFLAGS\>/s|= .*|= \$(HPL_DEFS) ${CFLAGS}|" \
-e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS}|" \
Make.gentoo_hpl_fblas_x86 || die
+   default
 }
 
 src_compile() {
+   # do NOT use emake here
mpi_pkg_set_env
# parallel make failure bug #321539
HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86

diff --git a/sys-cluster/hpl/metadata.xml b/sys-cluster/hpl/metadata.xml
index 9b28d5e..6f14b2f 100644
--- a/sys-cluster/hpl/metadata.xml
+++ b/sys-cluster/hpl/metadata.xml
@@ -6,7 +6,7 @@
 Michael Imhof
 Release manager, patch manager
   
-
+  
 clus...@gentoo.org
 Gentoo Cluster Project