summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 632f99fba1bc..938ec18555cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='extrae'
pkgdesc='Instrumentation framework to generate execution traces of the most used parallel runtimes (from BSC).'
pkgver='4.0.1.20220513'
-pkgrel='1'
+pkgrel='2'
arch=('i686' 'x86_64')
url='https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools'
license=('LGPL2.1')
@@ -21,6 +21,10 @@ prepare() {
patch -Np1 -i "$srcdir/extrae-issue-27-fix-pie-address-translation.patch"
patch -Np1 -i "$srcdir/extrae-Fix-references-to-the-build-directory.patch"
+ # The OpenMPI package also has a library called libompitrace, which conflicts with
+ # extrae's version - rename extrae's version to libextraeompitrace to avoid the clash
+ sed -ie 's/libompitrace/libextraeompitrace/g' example/LINUX/MPI+OMP/ld-preload/trace.sh scripts/mpitrace_wizard src/tracer/Makefile.am
+
autoreconf -i -f
}