1 |
jsbronder 11/02/01 18:27:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hpl-2.0-r1.ebuild |
5 |
Removed: hpl-2.0.ebuild |
6 |
Log: |
7 |
Fix SRC_URI (thanks to renihs in #-cluster) and general cleanup. |
8 |
|
9 |
(Portage version: 2.1.9.33/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.17 sys-cluster/hpl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/ChangeLog?rev=1.17&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/ChangeLog?rev=1.17&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/ChangeLog?r1=1.16&r2=1.17 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/hpl/ChangeLog,v |
21 |
retrieving revision 1.16 |
22 |
retrieving revision 1.17 |
23 |
diff -u -r1.16 -r1.17 |
24 |
--- ChangeLog 13 Sep 2010 15:21:23 -0000 1.16 |
25 |
+++ ChangeLog 1 Feb 2011 18:27:08 -0000 1.17 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-cluster/hpl |
28 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/ChangeLog,v 1.16 2010/09/13 15:21:23 jsbronder Exp $ |
30 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/ChangeLog,v 1.17 2011/02/01 18:27:08 jsbronder Exp $ |
32 |
+ |
33 |
+*hpl-2.0-r1 (01 Feb 2011) |
34 |
+ |
35 |
+ 01 Feb 2011; Justin Bronder <jsbronder@g.o> -hpl-2.0.ebuild, |
36 |
+ +hpl-2.0-r1.ebuild: |
37 |
+ Fix SRC_URI (thanks to renihs in #-cluster) and general cleanup. |
38 |
|
39 |
13 Sep 2010; Justin Bronder <jsbronder@g.o> hpl-2.0.ebuild: |
40 |
Respect LDFLAGS #336969. |
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-cluster/hpl/hpl-2.0-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: hpl-2.0-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild,v 1.1 2011/02/01 18:27:08 jsbronder Exp $ |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="A Portable Implementation of the High-Performance Linpack Benchmark for Distributed-Memory Computers" |
58 |
HOMEPAGE="http://www.netlib.org/benchmark/hpl/" |
59 |
SRC_URI="http://www.netlib.org/benchmark/hpl/hpl-${PV}.tar.gz" |
60 |
LICENSE="HPL" |
61 |
SLOT="0" |
62 |
KEYWORDS="~x86 ~amd64" |
63 |
|
64 |
IUSE="doc" |
65 |
DEPEND="virtual/mpi |
66 |
virtual/blas |
67 |
virtual/lapack" |
68 |
RDEPEND="${DEPEND}" |
69 |
|
70 |
src_unpack() { |
71 |
unpack ${A} |
72 |
cd "${S}" |
73 |
cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86 |
74 |
sed -i \ |
75 |
-e "/^TOPdir/s,= .*,= ${S}," \ |
76 |
-e '/^HPL_OPTS\>/s,=,= -DHPL_DETAILED_TIMING -DHPL_COPY_L,' \ |
77 |
-e '/^ARCH\>/s,= .*,= gentoo_hpl_fblas_x86,' \ |
78 |
-e '/^MPdir\>/s,= .*,=,' \ |
79 |
-e '/^MPlib\>/s,= .*,=,' \ |
80 |
-e "/^LAlib\>/s,= .*,= /usr/$(get_libdir)/libblas.so /usr/$(get_libdir)/liblapack.so," \ |
81 |
-e '/^LINKER\>/s,= .*,= mpicc,' \ |
82 |
-e '/^CC\>/s,= .*,= mpicc,' \ |
83 |
-e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS}|" \ |
84 |
Make.gentoo_hpl_fblas_x86 |
85 |
} |
86 |
|
87 |
src_compile() { |
88 |
# parallel make failure — bug #321539 |
89 |
HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86 || die "Failed to build" |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
dobin bin/gentoo_hpl_fblas_x86/xhpl || die |
94 |
dolib lib/gentoo_hpl_fblas_x86/libhpl.a || die |
95 |
dodoc INSTALL BUGS COPYRIGHT HISTORY README TUNING \ |
96 |
bin/gentoo_hpl_fblas_x86/HPL.dat || die |
97 |
doman man/man3/*.3 || die |
98 |
if use doc; then |
99 |
dohtml -r www/* || die |
100 |
fi |
101 |
} |
102 |
|
103 |
pkg_postinst() { |
104 |
einfo "Remember to copy /usr/share/hpl/HPL.dat to your working directory" |
105 |
einfo "before running xhpl. Typically one may run hpl by executing:" |
106 |
einfo "\"mpiexec -np 4 /usr/bin/xhpl\"" |
107 |
einfo "where -np specifies the number of processes." |
108 |
} |