Package Details: libpfm 4.13.0-1

Git Clone URL: https://aur.archlinux.org/libpfm.git (read-only, click to copy)
Package Base: libpfm
Description: Library to encode performance events for use by perf tool
Upstream URL: https://perfmon2.sourceforge.net
Licenses: MIT
Submitter: grawlinson
Maintainer: None
Last Packager: grawlinson
Votes: 7
Popularity: 0.001531
First Submitted: 2022-06-09 03:42 (UTC)
Last Updated: 2023-07-17 07:55 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

dragonlinux commented on 2023-07-17 00:37 (UTC)

From d757dc4db7fcdb9f222e664583cabb1b426f4ece Mon Sep 17 00:00:00 2001 From: Yao Zhao dragonlinux@gmail.com Date: Sat, 15 Jul 2023 14:48:37 -0400 Subject: [PATCH] upgrade to 4.13.0


PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD index af89442..af42435 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer: George Rawlinson grawlinson@archlinux.org +# Contributor: Yao Zhao dragonlinux@gmail.com

pkgname=libpfm -pkgver=4.11.1 +pkgver=4.13.0 pkgrel=1 pkgdesc='Library to encode performance events for use by perf tool' arch=('x86_64') @@ -9,7 +10,7 @@ url='http://perfmon2.sourceforge.net' license=('MIT') depends=('glibc') makedepends=('git') -_commit='414e482ace00d334015341e032a8b325d80e92eb' +_commit='3d77461cb966259c51f3b3e322564187f4bef7fb' source=("$pkgname::git+https://git.code.sf.net/p/perfmon2/libpfm4#commit=$_commit") b2sums=('SKIP')

-- 2.41.0

dragonlinux commented on 2023-07-17 00:37 (UTC)

From d757dc4db7fcdb9f222e664583cabb1b426f4ece Mon Sep 17 00:00:00 2001 From: Yao Zhao dragonlinux@gmail.com Date: Sat, 15 Jul 2023 14:48:37 -0400 Subject: [PATCH] upgrade to 4.13.0


PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD index af89442..af42435 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer: George Rawlinson grawlinson@archlinux.org +# Contributor: Yao Zhao dragonlinux@gmail.com

pkgname=libpfm -pkgver=4.11.1 +pkgver=4.13.0 pkgrel=1 pkgdesc='Library to encode performance events for use by perf tool' arch=('x86_64') @@ -9,7 +10,7 @@ url='http://perfmon2.sourceforge.net' license=('MIT') depends=('glibc') makedepends=('git') -_commit='414e482ace00d334015341e032a8b325d80e92eb' +_commit='3d77461cb966259c51f3b3e322564187f4bef7fb' source=("$pkgname::git+https://git.code.sf.net/p/perfmon2/libpfm4#commit=$_commit") b2sums=('SKIP')

-- 2.41.0

grawlinson commented on 2022-11-14 20:12 (UTC)

What’s required in order to get this working with papi?

carlosal1015 commented on 2022-11-14 20:03 (UTC)

Hi, can I help in order to use with papi ?

milianw commented on 2017-09-25 08:43 (UTC)

Can someone please update this so we can let the PAPI package depend on it?

bchretien commented on 2014-04-03 17:47 (UTC)

@capjo: thanks! Package up-to-date ;-)

capjo commented on 2014-04-03 16:30 (UTC)

Version 4.5.0 is out. I've updated the PKGBUILD file, but only testet on my x86_64 machine. It worked there. I removed the config.mk file and used sed instead to make it work on my machine. The description was also updated. I paste the new PKGBUILD simply in this commment. # Maintainer: Benjamin Chretien <chretien at lirmm dot fr> # Contributor: Håvard Espeland <espeland@acm.org> pkgname=libpfm4 pkgver=4.5.0 conflicts=('libpfm3') pkgrel=1 pkgdesc="Library to encode performance events for use by perf tool" arch=('x86_64' 'i686') url="http://perfmon2.sourceforge.net/" license=('MIT') depends=('glibc') source=("http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-$pkgver.tar.gz") md5sums=('8eda1e3741c8f3359a33ebd553243333') build() { cd "$srcdir/libpfm-$pkgver" sed -i 's|PREFIX=/usr/local|PREFIX=/usr|g' config.mk sed -i 's|LDCONFIG=ldconfig|LDCONFIG=true|g' config.mk make } check () { cd "$srcdir/libpfm-$pkgver/tests" ./validate } package() { cd "$srcdir/libpfm-$pkgver" # Install libraries make DESTDIR="$pkgdir/" install # Install useful example files make DESTDIR="$pkgdir/" install_examples # Install license install -D -m0644 COPYING "${pkgdir}"/usr/share/licenses/libpfm4/LICENSE } # vim:set ts=2 sw=2 et:

bchretien commented on 2013-12-13 17:49 (UTC)

@capjo: thanks, it's done ;-)

capjo commented on 2013-12-12 02:31 (UTC)

Hi, thanks for this package. The examples files are missing, however, and they are quite useful. http://www.bnikolic.co.uk/blog/hpc-prof-events.html http://web.eece.maine.edu/~vweaver/projects/perf_events/faq.html It would be nice to install them. You need to modify the PKGBUILD script in the following way: package() { cd "$srcdir/libpfm-$pkgver" sed -i 's/$(DOCDIR)/$(DESTDIR)$(DOCDIR)/g' perf_examples/Makefile make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir/" install_examples install -D -m0644 COPYING "${pkgdir}"/usr/s hare/licenses/libpfm4/LICENSE } The sed line is necessary because of a bug in the Makefile. I already send a patch upstream.

bchretien commented on 2013-07-18 09:06 (UTC)

@haavares: ok, I will update it asap.