1 |
commit: ad9ae04669682cf6c0a78070f46e8e5e101e612e |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Sat Oct 10 01:26:01 2020 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Sat Oct 10 01:26:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ad9ae046 |
7 |
|
8 |
sys-cluster/hpl: drop package |
9 |
|
10 |
present in ::gentoo |
11 |
|
12 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
13 |
|
14 |
sys-cluster/hpl/hpl-2.0-r1.ebuild | 67 ------------------------------------ |
15 |
sys-cluster/hpl/hpl-2.1.ebuild | 71 --------------------------------------- |
16 |
sys-cluster/hpl/metadata.xml | 8 ----- |
17 |
3 files changed, 146 deletions(-) |
18 |
|
19 |
diff --git a/sys-cluster/hpl/hpl-2.0-r1.ebuild b/sys-cluster/hpl/hpl-2.0-r1.ebuild |
20 |
deleted file mode 100644 |
21 |
index 8b80e4c1c..000000000 |
22 |
--- a/sys-cluster/hpl/hpl-2.0-r1.ebuild |
23 |
+++ /dev/null |
24 |
@@ -1,67 +0,0 @@ |
25 |
-# Copyright 1999-2016 Gentoo Foundation |
26 |
-# Distributed under the terms of the GNU General Public License v2 |
27 |
- |
28 |
-EAPI=6 |
29 |
- |
30 |
-inherit eutils mpi toolchain-funcs |
31 |
- |
32 |
-DESCRIPTION="High-Performance Linpack Benchmark for Distributed-Memory Computers" |
33 |
-HOMEPAGE="http://www.netlib.org/benchmark/hpl/" |
34 |
-SRC_URI="http://www.netlib.org/benchmark/hpl/hpl-${PV}.tar.gz" |
35 |
- |
36 |
-SLOT="0" |
37 |
-LICENSE="HPL" |
38 |
-KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="doc" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- $(mpi_pkg_deplist) |
43 |
- virtual/blas |
44 |
- virtual/lapack" |
45 |
-DEPEND="${RDEPEND} |
46 |
- virtual/pkgconfig" |
47 |
- |
48 |
-src_prepare() { |
49 |
- local mpicc_path="$(mpi_pkg_cc)" |
50 |
- |
51 |
- cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86 || die |
52 |
- sed -i \ |
53 |
- -e "/^TOPdir/s,= .*,= ${S}," \ |
54 |
- -e '/^HPL_OPTS\>/s,=,= -DHPL_DETAILED_TIMING -DHPL_COPY_L,' \ |
55 |
- -e '/^ARCH\>/s,= .*,= gentoo_hpl_fblas_x86,' \ |
56 |
- -e '/^MPdir\>/s,= .*,=,' \ |
57 |
- -e '/^MPlib\>/s,= .*,=,' \ |
58 |
- -e "/^LAlib\>/s,= .*,= $($(tc-getPKG_CONFIG) --libs-only-l blas lapack)," \ |
59 |
- -e "/^LINKER\>/s,= .*,= ${mpicc_path}," \ |
60 |
- -e "/^CC\>/s,= .*,= ${mpicc_path}," \ |
61 |
- -e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS} $($(tc-getPKG_CONFIG) --libs-only-L blas lapack)|" \ |
62 |
- Make.gentoo_hpl_fblas_x86 || die |
63 |
- default |
64 |
-} |
65 |
- |
66 |
-src_compile() { |
67 |
- # do NOT use emake here |
68 |
- mpi_pkg_set_env |
69 |
- # parallel make failure bug #321539 |
70 |
- HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86 |
71 |
- mpi_pkg_restore_env |
72 |
-} |
73 |
- |
74 |
-src_install() { |
75 |
- mpi_dobin bin/gentoo_hpl_fblas_x86/xhpl |
76 |
- mpi_dolib.a lib/gentoo_hpl_fblas_x86/libhpl.a |
77 |
- mpi_dodoc INSTALL BUGS COPYRIGHT HISTORY README TUNING \ |
78 |
- bin/gentoo_hpl_fblas_x86/HPL.dat |
79 |
- mpi_doman man/man3/*.3 |
80 |
- if use doc; then |
81 |
- mpi_dohtml -r www/* |
82 |
- fi |
83 |
-} |
84 |
- |
85 |
-pkg_postinst() { |
86 |
- local d=$(mpi_root) |
87 |
- einfo "Remember to copy $(mpi_root)usr/share/doc/${PF}/HPL.dat to your working directory first!" |
88 |
- einfo "Typically one may run hpl by executing the following:" |
89 |
- einfo "\"mpiexec -np 4 /usr/bin/xhpl\"" |
90 |
- einfo "where -np specifies the number of processes." |
91 |
-} |
92 |
|
93 |
diff --git a/sys-cluster/hpl/hpl-2.1.ebuild b/sys-cluster/hpl/hpl-2.1.ebuild |
94 |
deleted file mode 100644 |
95 |
index ba91a5d66..000000000 |
96 |
--- a/sys-cluster/hpl/hpl-2.1.ebuild |
97 |
+++ /dev/null |
98 |
@@ -1,71 +0,0 @@ |
99 |
-# Copyright 1999-2016 Gentoo Foundation |
100 |
-# Distributed under the terms of the GNU General Public License v2 |
101 |
- |
102 |
-EAPI=6 |
103 |
- |
104 |
-inherit eutils mpi multilib |
105 |
- |
106 |
-DESCRIPTION="High-Performance Linpack Benchmark for Distributed-Memory Computers" |
107 |
-HOMEPAGE="http://www.netlib.org/benchmark/hpl/" |
108 |
-SRC_URI="http://www.netlib.org/benchmark/hpl/hpl-${PV}.tar.gz" |
109 |
- |
110 |
-SLOT="0" |
111 |
-LICENSE="HPL" |
112 |
-KEYWORDS="~amd64 ~x86" |
113 |
-IUSE="doc" |
114 |
- |
115 |
-RDEPEND=" |
116 |
- $(mpi_pkg_deplist) |
117 |
- virtual/blas |
118 |
- virtual/lapack" |
119 |
-DEPEND="${RDEPEND} |
120 |
- virtual/pkgconfig" |
121 |
- |
122 |
-src_prepare() { |
123 |
- local mpicc_path="$(mpi_pkg_cc)" |
124 |
- local a="" |
125 |
- local locallib="${EPREFIX}/usr/$(get_libdir)/lib" |
126 |
- |
127 |
- cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86 || die |
128 |
- sed -i \ |
129 |
- -e "/^TOPdir/s,= .*,= ${S}," \ |
130 |
- -e '/^HPL_OPTS\>/s,=,= -DHPL_DETAILED_TIMING -DHPL_COPY_L,' \ |
131 |
- -e '/^ARCH\>/s,= .*,= gentoo_hpl_fblas_x86,' \ |
132 |
- -e '/^MPdir\>/s,= .*,=,' \ |
133 |
- -e '/^MPlib\>/s,= .*,=,' \ |
134 |
- -e "/^LAlib\>/s%= .*%= $($(tc-getPKG_CONFIG) --libs blas lapack)%" \ |
135 |
- -e "/^LINKER\>/s,= .*,= ${mpicc_path}," \ |
136 |
- -e "/^CC\>/s,= .*,= ${mpicc_path}," \ |
137 |
- -e "/^CCFLAGS\>/s|= .*|= \$(HPL_DEFS) ${CFLAGS}|" \ |
138 |
- -e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS}|" \ |
139 |
- Make.gentoo_hpl_fblas_x86 || die |
140 |
- default |
141 |
-} |
142 |
- |
143 |
-src_compile() { |
144 |
- # do NOT use emake here |
145 |
- mpi_pkg_set_env |
146 |
- # parallel make failure bug #321539 |
147 |
- HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86 |
148 |
- mpi_pkg_restore_env |
149 |
-} |
150 |
- |
151 |
-src_install() { |
152 |
- mpi_dobin bin/gentoo_hpl_fblas_x86/xhpl |
153 |
- mpi_dolib.a lib/gentoo_hpl_fblas_x86/libhpl.a |
154 |
- mpi_dodoc INSTALL BUGS COPYRIGHT HISTORY README TUNING |
155 |
- mpi_doman man/man3/*.3 |
156 |
- if use doc; then |
157 |
- mpi_dohtml -r www/* |
158 |
- fi |
159 |
- insinto $(mpi_root)usr/share/hpl |
160 |
- mpi_doins bin/gentoo_hpl_fblas_x86/HPL.dat |
161 |
-} |
162 |
- |
163 |
-pkg_postinst() { |
164 |
- local d=$(mpi_root) |
165 |
- einfo "Remember to copy $(mpi_root)usr/share/hpl/HPL.dat to your working directory" |
166 |
- einfo "before running xhpl. Typically one may run hpl by executing:" |
167 |
- einfo "\"mpiexec -np 4 /usr/bin/xhpl\"" |
168 |
- einfo "where -np specifies the number of processes." |
169 |
-} |
170 |
|
171 |
diff --git a/sys-cluster/hpl/metadata.xml b/sys-cluster/hpl/metadata.xml |
172 |
deleted file mode 100644 |
173 |
index 8bf4b5f36..000000000 |
174 |
--- a/sys-cluster/hpl/metadata.xml |
175 |
+++ /dev/null |
176 |
@@ -1,8 +0,0 @@ |
177 |
-<?xml version="1.0" encoding="UTF-8"?> |
178 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
179 |
-<pkgmetadata> |
180 |
- <maintainer type="project"> |
181 |
- <email>cluster@g.o</email> |
182 |
- <name>Gentoo Cluster Project</name> |
183 |
- </maintainer> |
184 |
-</pkgmetadata> |