Package Details: papi 7.1.0-2

Git Clone URL: https://aur.archlinux.org/papi.git (read-only, click to copy)
Package Base: papi
Description: Performance Application Programming Interface
Upstream URL: http://icl.cs.utk.edu/papi
Licenses: BSD
Submitter: jedbrown
Maintainer: forcegk
Last Packager: forcegk
Votes: 21
Popularity: 0.000001
First Submitted: 2009-11-09 21:53 (UTC)
Last Updated: 2024-05-23 09:09 (UTC)

Latest Comments

1 2 3 4 Next › Last »

forcegk commented on 2024-05-23 09:08 (UTC)

@gamezelda fixed, tyvm

gamezelda commented on 2024-05-21 21:13 (UTC) (edited on 2024-05-21 21:13 (UTC) by gamezelda)

The new PKGBUILD tries to reference the AdlerLake X patch outside $srcdir, from the package root directory using relative paths:

prepare() {
  cd "${srcdir}"
  // [...]
  patch -Np1 -i ../alderlakex-support.patch
}

This breaks the build when you set a custom BUILDDIR (see for example https://wiki.archlinux.org/title/makepkg#Building_from_files_in_memory):

$ BUILDDIR=/tmp/papibuild makepkg -s
[...]
patch: **** Can't open patch file ../alderlakex-support.patch : No such file or directory

I suggest referencing the copy of the patch that makepkg creates on $srcdir to avoid this problem, i.e.:

prepare() {
  cd "${srcdir}"
  // [...]
  patch -Np1 -i alderlakex-support.patch
}

forcegk commented on 2024-05-21 09:15 (UTC)

@vlopezh solved @kmarius solved (I think)

Any CPU patches can be submitted over here since the release schedule for papi, as noted by @disc-kuraudo is kinda weird

vlopezh commented on 2024-02-08 08:02 (UTC)

PAPI 7.1.0 has been repackaged by the developers: https://github.com/icl-utk-edu/papi/issues/158

New sha512sum should be 6e427505b9237a2165dee8c198708a26f4b366ca31a424340206d29c56d04b13405d20a734f311a1f18cbbbc1b940eb5c93535cd734b0c796459623e93624219

kmarius commented on 2022-10-21 09:29 (UTC)

This does not build for me with /bin/sh symlinked to dash. The resulting error is

papi_libpfm4_events.h:9:10: error: #include expects "FILENAME" or <FILENAME>                                                                                                  
    9 | #include PEINCLUDE 
...

Explicitly running ./configure ... with bash resolves it.

wuxb commented on 2022-08-09 15:34 (UTC)

@daren papi-git sounds like a good option. However I don't have it on my to-do list so please do so if you need it.

disc-kuraudo commented on 2022-08-08 08:58 (UTC)

Would you add a papi-git version to the AUR?

The release schedule of this is kinda weird and many features got added in the meantime, like many more AMD Zen counters being available.

wuxb commented on 2022-05-16 21:37 (UTC)

@gamezelda Fixed. Thanks for the msg!

gamezelda commented on 2022-05-16 19:55 (UTC)

Fails to build after the recent GCC 12 update in the Arch repos. The problem is inside the vendored libpfm4 dependency, see also: https://sourceforge.net/p/perfmon2/mailman/perfmon2-devel/thread/cd043334-18bf-213b-4e35-39c63e250720@redhat.com/

The post above includes a patch. Another simpler workaround is to set -Wno-error=use-after-free, i.e. as follows in the PKGBUILD:

-  export CFLAGS="-fPIC ${CFLAGS}"
+  export CFLAGS="-fPIC -Wno-error=use-after-free ${CFLAGS}"