Gentoo Archives: gentoo-commits

From: "Justin Bronder (jsbronder)" <jsbronder@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/hpl: ChangeLog hpl-2.0-r1.ebuild
Date: Tue, 01 Feb 2011 21:44:49
Message-Id: 20110201214439.6AFAA20054@flycatcher.gentoo.org
1 jsbronder 11/02/01 21:44:39
2
3 Modified: ChangeLog hpl-2.0-r1.ebuild
4 Log:
5 Bump EAPI thanks to scarabeus.
6
7 (Portage version: 2.1.9.33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.18 sys-cluster/hpl/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/ChangeLog?rev=1.18&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/ChangeLog?rev=1.18&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/ChangeLog?r1=1.17&r2=1.18
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/hpl/ChangeLog,v
19 retrieving revision 1.17
20 retrieving revision 1.18
21 diff -u -r1.17 -r1.18
22 --- ChangeLog 1 Feb 2011 18:27:08 -0000 1.17
23 +++ ChangeLog 1 Feb 2011 21:44:39 -0000 1.18
24 @@ -1,6 +1,9 @@
25 # ChangeLog for sys-cluster/hpl
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/ChangeLog,v 1.17 2011/02/01 18:27:08 jsbronder Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/ChangeLog,v 1.18 2011/02/01 21:44:39 jsbronder Exp $
29 +
30 + 01 Feb 2011; Justin Bronder <jsbronder@g.o> hpl-2.0-r1.ebuild:
31 + Bump EAPI thanks to scarabeus.
32
33 *hpl-2.0-r1 (01 Feb 2011)
34
35
36
37
38 1.2 sys-cluster/hpl/hpl-2.0-r1.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild?r1=1.1&r2=1.2
43
44 Index: hpl-2.0-r1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- hpl-2.0-r1.ebuild 1 Feb 2011 18:27:08 -0000 1.1
51 +++ hpl-2.0-r1.ebuild 1 Feb 2011 21:44:39 -0000 1.2
52 @@ -1,7 +1,8 @@
53 # Copyright 1999-2011 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild,v 1.1 2011/02/01 18:27:08 jsbronder Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/hpl-2.0-r1.ebuild,v 1.2 2011/02/01 21:44:39 jsbronder Exp $
57
58 +EAPI=4
59 inherit eutils
60
61 DESCRIPTION="A Portable Implementation of the High-Performance Linpack Benchmark for Distributed-Memory Computers"
62 @@ -17,9 +18,7 @@
63 virtual/lapack"
64 RDEPEND="${DEPEND}"
65
66 -src_unpack() {
67 - unpack ${A}
68 - cd "${S}"
69 +src_prepare() {
70 cp setup/Make.Linux_PII_FBLAS Make.gentoo_hpl_fblas_x86
71 sed -i \
72 -e "/^TOPdir/s,= .*,= ${S}," \
73 @@ -31,22 +30,22 @@
74 -e '/^LINKER\>/s,= .*,= mpicc,' \
75 -e '/^CC\>/s,= .*,= mpicc,' \
76 -e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS}|" \
77 - Make.gentoo_hpl_fblas_x86
78 + Make.gentoo_hpl_fblas_x86 || die
79 }
80
81 src_compile() {
82 - # parallel make failure — bug #321539
83 - HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86 || die "Failed to build"
84 + # parallel make failure — bug #321539
85 + HOME=${WORKDIR} emake -j1 arch=gentoo_hpl_fblas_x86
86 }
87
88 src_install() {
89 - dobin bin/gentoo_hpl_fblas_x86/xhpl || die
90 - dolib lib/gentoo_hpl_fblas_x86/libhpl.a || die
91 + dobin bin/gentoo_hpl_fblas_x86/xhpl
92 + dolib lib/gentoo_hpl_fblas_x86/libhpl.a
93 dodoc INSTALL BUGS COPYRIGHT HISTORY README TUNING \
94 - bin/gentoo_hpl_fblas_x86/HPL.dat || die
95 - doman man/man3/*.3 || die
96 + bin/gentoo_hpl_fblas_x86/HPL.dat
97 + doman man/man3/*.3
98 if use doc; then
99 - dohtml -r www/* || die
100 + dohtml -r www/*
101 fi
102 }