1 |
commit: 225b37c8a1637ca47d736063637c0231014a89b3 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 00:07:15 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 01:00:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=225b37c8 |
7 |
|
8 |
dev-libs/papi: bump to 6.0.0.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/681582 |
11 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-libs/papi/Manifest | 1 + |
15 |
dev-libs/papi/papi-6.0.0.1.ebuild | 53 +++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 54 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/papi/Manifest b/dev-libs/papi/Manifest |
19 |
index 2ca09701fd2..456133e1263 100644 |
20 |
--- a/dev-libs/papi/Manifest |
21 |
+++ b/dev-libs/papi/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST papi-5.5.1.tar.gz 4233127 BLAKE2B e065bed5a5607bf5ce3459ea84e1dabd6a60cd1f78f3ec2fbed29676ff79a057c77bd4210b8c45428238d927016a5a1e16d7bdfb4a9f56ea1e180cb0b19ec182 SHA512 c65c3a4e95c33ee7ceb950c184c08019d83cfee38bfe1bac86e80670a5191918edab2916b6815b15001da961deb8b6cf51263541554eb92a817e1a48371cfcf5 |
24 |
+DIST papi-6.0.0.1.tar.gz 4665285 BLAKE2B 5b6b2de8c16510a05a57159ceba591625c78f2a6d4ea62979fea4dd3e72bce73138e36480d82e13713c9ff2298e00330619fa57fdc7f81d75e1ce519b6f600ae SHA512 54c37b49858e921bd1357d8b0bba12c27e40e89b1354d89e5a85672ef3e6d3a4784212079098004256369a172d744580fb283741e7b4ac2d6fa5642bc42ea2ad |
25 |
|
26 |
diff --git a/dev-libs/papi/papi-6.0.0.1.ebuild b/dev-libs/papi/papi-6.0.0.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1001a71a638 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/papi/papi-6.0.0.1.ebuild |
31 |
@@ -0,0 +1,53 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools fortran-2 toolchain-funcs |
38 |
+ |
39 |
+DESCRIPTION="Performance Application Programming Interface" |
40 |
+HOMEPAGE="http://icl.cs.utk.edu/papi/" |
41 |
+SRC_URI="http://icl.cs.utk.edu/projects/${PN}/downloads/${P}.tar.gz" |
42 |
+S="${WORKDIR}/${P}/src" |
43 |
+ |
44 |
+LICENSE="BSD" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ dev-libs/libpfm |
50 |
+ virtual/mpi |
51 |
+" |
52 |
+RDEPEND="${DEPEND}" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ |
57 |
+ mv configure.{in,ac} || die |
58 |
+ eautoreconf |
59 |
+} |
60 |
+ |
61 |
+src_configure() { |
62 |
+ tc-export AR |
63 |
+ |
64 |
+ # TODO: Could try adding |
65 |
+ # --with-static-user-events=no |
66 |
+ # --with-static-papi-events=no |
67 |
+ # --with-static-lib=no |
68 |
+ # --with-static-tools=no |
69 |
+ # but this requires fixing the homebrew configure logic for |
70 |
+ # little gain |
71 |
+ local myeconfargs=( |
72 |
+ --with-perf-events |
73 |
+ --with-pfm-prefix="${EPREFIX}/usr" |
74 |
+ --with-pfm-libdir="${EPREFIX}/usr/$(get_libdir)" |
75 |
+ ) |
76 |
+ |
77 |
+ CONFIG_SHELL="${EPREFIX}/bin/bash" econf "${myeconfargs[@]}" |
78 |
+} |
79 |
+ |
80 |
+src_install() { |
81 |
+ default |
82 |
+ |
83 |
+ dodoc ../RE* |
84 |
+} |