papi: update to 5.7.0.

This commit is contained in:
Johannes 2019-10-12 17:57:38 +02:00
parent d41d90ad81
commit e5b1706c98
2 changed files with 16 additions and 3 deletions

View file

@ -0,0 +1,12 @@
--- src/components/perf_event/tests/perf_event_system_wide.c.orig 2019-10-12 17:48:40.217216625 +0200
+++ src/components/perf_event/tests/perf_event_system_wide.c 2019-10-12 17:49:48.246645644 +0200
@@ -15,6 +15,9 @@
#define __USE_GNU
#endif
+/* For cpu_set_t */
+#define _GNU_SOURCE
+
/* For sched_setaffinity() */
#include <sched.h>

View file

@ -1,16 +1,16 @@
# Template file for 'papi'
pkgname=papi
version=5.6.0
version=5.7.0
revision=1
wrksrc="papi-${version}"
build_wrksrc="src"
build_style=gnu-configure
short_desc="Provides interface for use of performance counter hardware"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="BSD"
license="BSD-3-Clause"
homepage="http://icl.cs.utk.edu/papi/"
distfiles="http://icl.utk.edu/projects/papi/downloads/papi-${version}.tar.gz"
checksum=49b7293f9ca2d74d6d80bd06b5c4be303663123267b4ac0884cbcae4c914dc47
checksum=d1a3bb848e292c805bc9f29e09c27870e2ff4cda6c2fba3b7da8b4bba6547589
if [ -n "$CROSS_BUILD" ]; then
_ARCH="${XBPS_TARGET_MACHINE%-musl}"
@ -29,6 +29,7 @@ papi-devel_package() {
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}