diff options
Diffstat (limited to 'dev-libs/papi')
-rw-r--r-- | dev-libs/papi/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/papi/metadata.xml | 6 | ||||
-rw-r--r-- | dev-libs/papi/papi-6.0.0.1-r2.ebuild | 11 | ||||
-rw-r--r-- | dev-libs/papi/papi-7.1.0.ebuild | 61 |
4 files changed, 78 insertions, 6 deletions
diff --git a/dev-libs/papi/Manifest b/dev-libs/papi/Manifest index c1f53eb543da..451f18014c3e 100644 --- a/dev-libs/papi/Manifest +++ b/dev-libs/papi/Manifest @@ -1,6 +1,8 @@ AUX papi-6.0.0.1-configure-c99.patch 3767 BLAKE2B 911ddc624dca65bc37027a358e48ae8161e69171f06e0fb9499db8d7ac18c00ef62ef84eb413a6c5ba1b8e4b2c81c9715406a12c6917efa5a57ebb690d6f5b4d SHA512 144caa26d861cb155aabc51ade54d197018440217b5332980513ef2f7fe6a4e738e2fdc92b10b1177dd7c2413d6633a40bdb2e344195f64e10e5026ba99525f2 AUX papi-6.0.0.1-configure-clang16.patch 2755 BLAKE2B ee43146e4c585004ea4dcee08c4026f07a0b8ed0b8fde54c69998ba2a9b460d27e9f7877a60dfa6cbad332c79c546f861ffbd9be88f829aa7eba360aa4cfa850 SHA512 af3d671efc552342f7af78185154bfb2c48dfd8fed3677851d79b0166b875fd6a0afb6d19536517500f34ba0aa89fb2362189de753b00b2b16a3186e7bd7b5b1 DIST papi-6.0.0.1.tar.gz 4665285 BLAKE2B 5b6b2de8c16510a05a57159ceba591625c78f2a6d4ea62979fea4dd3e72bce73138e36480d82e13713c9ff2298e00330619fa57fdc7f81d75e1ce519b6f600ae SHA512 54c37b49858e921bd1357d8b0bba12c27e40e89b1354d89e5a85672ef3e6d3a4784212079098004256369a172d744580fb283741e7b4ac2d6fa5642bc42ea2ad +DIST papi-7.1.0.tar.gz 5701396 BLAKE2B 66a781552ee6a20daa98e39b5a4385efbc3703e9f633c087f101260c8b3543bc5e8afb9f160b7450fde74ec0322ad632d5aa54b0a9c8d672f6a36b63901b3e50 SHA512 6e427505b9237a2165dee8c198708a26f4b366ca31a424340206d29c56d04b13405d20a734f311a1f18cbbbc1b940eb5c93535cd734b0c796459623e93624219 EBUILD papi-6.0.0.1-r1.ebuild 1184 BLAKE2B f941203229c4e9abeca59e027904a1f7bfea4ae38c70e69d148116d5c1969a7732795c01c10e93707838db324939e46963a9718ab65ccea81b346ccbf4c3b985 SHA512 09ab44fadeacb6fb04344b40d7a82014320d54010a7de48fb53c274c312b95d72c9dcb3d35739d60b19e5de2741fdb1fef939ef2cd2991f04570bedcae377b63 -EBUILD papi-6.0.0.1-r2.ebuild 1235 BLAKE2B 4a5a8efe17d531b96bded3ff78f45c3bd19a7ed8a5170b931f40107af9e2ceada210bf63dcb4a79521d8933c7886a8234307aef83baaffbffed30d19b65831da SHA512 d8aad56759a7d43abec65f36e932786aebd3e7cc42053820195c43c0a672e4a8d1fd80460f60da9b3aaec474dd21ffdea52597352fd5092f1b2bfeb159cdf065 -MISC metadata.xml 169 BLAKE2B 25149b73446be31f3ea3dd3a6394230987e7d4c601d1605fd3827b37bd99b3301c2e0edb95d0f59a4577ed27919f43c2cc02b1edf62c4012b935a82e709e0c05 SHA512 55c53f74b001bae56ba8c54581a4168335b6b3a28dac23a2102b76795d5fd41de33b8b3e1ec03f9acc6e7a3a77e93b1a6ff3e3967c3156dcbf22b5b5a6245ef5 +EBUILD papi-6.0.0.1-r2.ebuild 1368 BLAKE2B e853c82f4816527f573136bed134332cb696f42a882a758ccca25e5fff049742d92540e92bf0f808f664735384c1fe860d9800d3fcc5f852da5de28b1e3e8dc5 SHA512 cdc2b553736f3307860ac5885b8e41c177bb93812d1196c9809e4898cb25a9bec2b226f1703a3cecf8de62486960026b00c685f0c178e4722ca4990112156db5 +EBUILD papi-7.1.0.ebuild 1262 BLAKE2B f4729be6927d7fec25d98bf61f2699e78b359ceb0819e65fc4a9ba1164ed92ae05dd7f726bbc2bbddf27357fc715d42856919fbf4d1feff9abbda133b01207cb SHA512 96751fbe73fc634955b0f6eb44dc6a22b873ccb2c812073cb9c4a0d1cdfd3dc50139684afeb95c9ae8d77b12641c7454438ab0a2fa4916179d3bc56432a870b6 +MISC metadata.xml 329 BLAKE2B 1a99167c05af780d1efd8bae68864400c302b91cad98a25fbfcd06bc54bd199ac44fb3c514860372b3514234c9469eb01b39890d2d36ce0bc6eb0570b4c95223 SHA512 d2a0c4e073d69277355010b1dcf47554535881e2b65df8cdd90552c8517c41687c3c8e27f42d2a4d357b5f54cdf4b86ce1237df948297765abb6016c0b3cea07 diff --git a/dev-libs/papi/metadata.xml b/dev-libs/papi/metadata.xml index bef24d2c2337..ec5448654a7c 100644 --- a/dev-libs/papi/metadata.xml +++ b/dev-libs/papi/metadata.xml @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">icl-utk-edu/papi</remote-id> + <changelog>https://github.com/icl-utk-edu/papi/wiki/PAPI-Releases</changelog> + </upstream> </pkgmetadata> diff --git a/dev-libs/papi/papi-6.0.0.1-r2.ebuild b/dev-libs/papi/papi-6.0.0.1-r2.ebuild index b9e9db7b2516..60412b6cb2fe 100644 --- a/dev-libs/papi/papi-6.0.0.1-r2.ebuild +++ b/dev-libs/papi/papi-6.0.0.1-r2.ebuild @@ -3,11 +3,11 @@ EAPI=8 -inherit autotools fortran-2 toolchain-funcs +inherit autotools flag-o-matic fortran-2 toolchain-funcs DESCRIPTION="Performance Application Programming Interface" -HOMEPAGE="https://icl.cs.utk.edu/papi/" -SRC_URI="https://icl.cs.utk.edu/projects/${PN}/downloads/${P}.tar.gz" +HOMEPAGE="https://icl.utk.edu/papi/" +SRC_URI="https://icl.utk.edu/projects/${PN}/downloads/${P}.tar.gz" S="${WORKDIR}/${P}/src" LICENSE="BSD" @@ -33,6 +33,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/855983 + # https://github.com/icl-utk-edu/papi/issues/218 + filter-lto + tc-export AR # TODO: Could try adding diff --git a/dev-libs/papi/papi-7.1.0.ebuild b/dev-libs/papi/papi-7.1.0.ebuild new file mode 100644 index 000000000000..f7cc2137abaf --- /dev/null +++ b/dev-libs/papi/papi-7.1.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic fortran-2 toolchain-funcs + +DESCRIPTION="Performance Application Programming Interface" +HOMEPAGE="https://icl.utk.edu/papi/" +SRC_URI="https://icl.utk.edu/projects/${PN}/downloads/${P}.tar.gz" +S="${WORKDIR}/${P}/src" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=dev-libs/libpfm-4.13.0[static-libs] + virtual/mpi +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/855983 + # https://github.com/icl-utk-edu/papi/issues/218 + filter-lto + + tc-export AR + + # TODO: Could try adding + # --with-static-user-events=no + # --with-static-papi-events=no + # --with-static-lib=no + # --with-static-tools=no + # but this requires fixing the homebrew configure logic for + # little gain + local myeconfargs=( + --with-perf-events + --with-pfm-prefix="${EPREFIX}/usr" + --with-pfm-libdir="${EPREFIX}/usr/$(get_libdir)" + ) + + CONFIG_SHELL="${EPREFIX}/bin/bash" econf "${myeconfargs[@]}" +} + +src_install() { + default + + dodoc ../RE* + + find "${ED}" -name '*.a' -delete || die + find "${ED}" -name '*.la' -delete || die +} |