* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/extrae/
@ 2021-04-19 8:04 Andrew Ammerlaan
2021-04-19 7:51 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
0 siblings, 1 reply; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-04-19 8:04 UTC (permalink / raw
To: gentoo-commits
commit: 540bef0ac2ed6e6b238da909b631c0d39d883c6f
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Apr 19 07:50:58 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Apr 19 07:51:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=540bef0a
sys-cluster/extrae: shorten description
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sys-cluster/extrae/extrae-3.8.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3.ebuild b/sys-cluster/extrae/extrae-3.8.3.ebuild
index 2b38c9b2b..59b3c2edb 100644
--- a/sys-cluster/extrae/extrae-3.8.3.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3.ebuild
@@ -6,7 +6,7 @@ EAPI=7
PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
inherit autotools java-pkg-opt-2 python-single-r1
-DESCRIPTION="Instrumentation framework to generate execution traces of the most used parallel runtimes"
+DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2022-06-07 12:01 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2022-06-07 12:01 UTC (permalink / raw
To: gentoo-commits
commit: 30e5a5914a5b08c9bf815fe776f778a3dba6cd26
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 7 11:57:04 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 7 12:01:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=30e5a591
sys-cluster/extrae: clean java stuff
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-4.0.1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys-cluster/extrae/extrae-4.0.1.ebuild b/sys-cluster/extrae/extrae-4.0.1.ebuild
index 4e08d5e85..2bdfd8adc 100644
--- a/sys-cluster/extrae/extrae-4.0.1.ebuild
+++ b/sys-cluster/extrae/extrae-4.0.1.ebuild
@@ -95,6 +95,7 @@ REQUIRED_USE="
src_prepare() {
default
+ java-pkg_clean
eautoreconf
}
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2022-06-02 15:57 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2022-06-02 15:57 UTC (permalink / raw
To: gentoo-commits
commit: e1499a574732f641844ec73596f429991fffbfc4
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jun 2 15:54:04 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Jun 2 15:55:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1499a57
sys-cluster/extrae: add 4.0.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/Manifest | 1 +
sys-cluster/extrae/extrae-4.0.1.ebuild | 234 +++++++++++++++++++++++++++++++++
2 files changed, 235 insertions(+)
diff --git a/sys-cluster/extrae/Manifest b/sys-cluster/extrae/Manifest
index 17608e9bc..1f6352936 100644
--- a/sys-cluster/extrae/Manifest
+++ b/sys-cluster/extrae/Manifest
@@ -1 +1,2 @@
DIST extrae-3.8.3.tar.gz 1056317 BLAKE2B 9efe7011ba9474de66deb8c679f10eff37cc3d5699b42cb1b076ed43b539bbc15ecc613b3f17b03df9e93a219ebcafd3e1d56229db9c0d4e7a0a56d5c3edd591 SHA512 3fba66447790e0a1c71c0e5a61f67ad966cdd4e19742799ecc50124a916ef599fff747027ccc803584f0ab2d1d76c29ded7072a70dd0aed5a3be7ff6ecbb8709
+DIST extrae-4.0.1.tar.gz 1082141 BLAKE2B a049f744aa1d2f6770e620939c5d7981098e86908843f0b9d38d06a4aa9103ed2d551a34301dbf57857316340031d536a814d82a9ab0aab5ab70b063171ff52c SHA512 58cbe06b1eb738dba3c9d38a96ca8a9bf442c492214e086876af25b8d7e01c379b46281f6815763e87e0e69214636f95486d48b1b6ce088b54d24b4d77ff0920
diff --git a/sys-cluster/extrae/extrae-4.0.1.ebuild b/sys-cluster/extrae/extrae-4.0.1.ebuild
new file mode 100644
index 000000000..8bcd5ef13
--- /dev/null
+++ b/sys-cluster/extrae/extrae-4.0.1.ebuild
@@ -0,0 +1,234 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit autotools java-pkg-opt-2 python-single-r1
+
+DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
+HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
+SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE_INSTRUMENT="
+ +instrument_dynamic-memory
+ +instrument_io
+ +instrument_syscall
+"
+IUSE="${IUSE_INSTRUMENT} clustering dlsym doc dyninst heterogeneous inotify memkind
+merge-in-trace nanos online opencl openmp openshmem +parallel-merge pebs-sampling
+peruse +posix-clock pthread sampling +single-mpi-lib sionlib smpss spectral +xml"
+
+#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
+#TODO: cuda cupti gm mx gaspi aspectj
+#TODO: support llvm libunwind, llvm rt, elftoolchain
+
+# aspectj? ( >=dev-java/aspectj-1.9.6 )
+CDEPEND="
+ ${PYTHON_DEPS}
+ dev-libs/libxml2
+ dev-libs/papi
+ !sys-cluster/openmpi[libompitrace(+)]
+ sys-libs/binutils-libs
+ sys-libs/libunwind
+ sys-libs/zlib
+ virtual/mpi
+
+ clustering? ( sys-cluster/clusteringsuite[treedbscan] )
+ dyninst? (
+ dev-libs/boost:=
+ dev-libs/libdwarf
+ sys-cluster/dyninst
+ virtual/libelf
+ )
+ inotify? ( dev-libs/libevent )
+ memkind? ( dev-libs/memkind )
+ online? ( sys-cluster/synapse )
+ opencl? ( dev-util/opencl-headers )
+ openshmem? ( sys-cluster/SOS )
+ peruse? ( sys-cluster/openmpi[peruse(-)] )
+ sionlib? ( sys-cluster/sionlib:= )
+ spectral? (
+ sci-libs/fftw
+ sys-cluster/spectral
+ )
+"
+DEPEND="
+ ${CDEPEND}
+ java? ( virtual/jdk:1.8 )
+"
+RDEPEND="
+ ${CDEPEND}
+ java? ( virtual/jre:1.8 )
+ virtual/opencl
+"
+BDEPEND="
+ sys-devel/binutils-config
+ doc? (
+ app-text/ghostscript-gpl
+ dev-python/sphinx
+ dev-tex/latexmk
+ dev-texlive/texlive-latexextra
+ )
+ java? ( app-admin/chrpath )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.8.3-link-sionlib.patch"
+)
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+
+ || ( ${IUSE_INSTRUMENT//+/} )
+
+ java? ( pthread )
+"
+# aspectj? ( java )
+# cupti? ( cuda )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ export VARTEXFONTS="${T}/fonts"
+
+ local myconf=(
+ --disable-mic
+ --disable-pmapi
+ --disable-static
+ --enable-shared
+ --without-cupti
+ --without-gm
+ --without-mx
+
+ --datadir="${T}"
+ --datarootdir="${T}"
+ --with-librt="${EPREFIX}/usr"
+ --with-mpi="${EPREFIX}/usr"
+ --with-papi="${EPREFIX}/usr"
+ --with-unwind="${EPREFIX}/usr"
+
+ $(use_enable doc)
+ $(use_enable heterogeneous)
+ $(use_enable inotify)
+ $(use_enable instrument_dynamic-memory)
+ $(use_enable instrument_io)
+ $(use_enable instrument_syscall)
+ $(use_enable merge-in-trace)
+ $(use_enable nanos)
+ $(use_enable online)
+ $(use_enable openmp)
+ $(use_enable parallel-merge)
+ $(use_enable pebs-sampling)
+ $(use_enable peruse)
+ $(use_enable posix-clock)
+ $(use_enable pthread)
+ $(use_enable sampling)
+ $(use_enable single-mpi-lib)
+ $(use_enable smpss)
+ $(use_enable xml)
+ )
+
+ use dlsym && myconf+=( "--with-pmpi-hook=dlsym" )
+
+# if use aspectj; then
+# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
+# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr/share/aspectj/lib" )
+# else
+ myconf+=( "--without-java-aspectj-weaver" )
+ myconf+=( "--without-java-aspectj" )
+# fi
+ if use clustering; then
+ myconf+=( "--with-clustering=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-clustering" )
+ fi
+ if use dyninst; then
+ myconf+=( "--with-boost=${EPREFIX}/usr" )
+ myconf+=( "--with-dyninst=${EPREFIX}/usr" )
+ myconf+=( "--with-dyninst-headers=${EPREFIX}/usr/include/dyninst" )
+ myconf+=( "--with-dwarf=${EPREFIX}/usr" )
+ myconf+=( "--with-elf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-boost" )
+ myconf+=( "--without-dyninst" )
+ myconf+=( "--without-dwarf" )
+ myconf+=( "--without-elf" )
+ fi
+ if use java; then
+ myconf+=( "--with-java-jdk=$(java-config -O)" )
+ else
+ myconf+=( "--without-java-jdk" )
+ fi
+ if use memkind; then
+ myconf+=( "--with-memkind=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-memkind" )
+ fi
+ if use online; then
+ myconf+=( "--with-synapse=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-synapse" )
+ fi
+ if use opencl; then
+ myconf+=( "--with-opencl=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-opencl" )
+ fi
+ if use openshmem; then
+ myconf+=( "--with-openshmem=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-openshmem" )
+ fi
+ if use sionlib; then
+ myconf+=( "--with-sionlib=${EPREFIX}/usr" )
+ myconf+=( "--with-sionlib-headers=${EPREFIX}/usr/include/sionlib" )
+ fi
+ if use spectral; then
+ myconf+=( "--with-fft=${EPREFIX}/usr" )
+ myconf+=( "--with-spectral=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-fft" )
+ myconf+=( "--without-spectral" )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ #TODO: build examples
+
+ mkdir -p "${D}/$(python_get_sitedir)/" || die
+ mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
+ python_optimize "${D}/$(python_get_sitedir)/pyextrae"
+
+ #super-duper workaround
+ mkdir -p "${ED}/usr/share/doc/${PF}" || die
+ mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
+ mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
+
+ if use doc ; then
+ mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
+ mv "${T}/man" "${ED}/usr/share/" || die
+ docompress -x "/usr/share/doc/${PF}/html"
+ fi
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docompress -x "/usr/share/doc/${PF}/tests"
+
+ if use java; then
+ chrpath -d "${ED}/usr/$(get_libdir)/libextrae-jvmti-agent.so" || die
+ chrpath -d "${ED}/usr/$(get_libdir)/libjavatrace.so" || die
+ fi
+
+ find "${ED}" -name '*.a' -delete || die
+ find "${ED}" -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2022-06-02 15:57 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2022-06-02 15:57 UTC (permalink / raw
To: gentoo-commits
commit: 51ded80176b55c0506b5151e556e959874da9a37
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jun 2 15:54:19 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Jun 2 15:55:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51ded801
sys-cluster/extrae: drop 3.8.3-r10
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/Manifest | 1 -
sys-cluster/extrae/extrae-3.8.3-r10.ebuild | 238 -----------------------------
2 files changed, 239 deletions(-)
diff --git a/sys-cluster/extrae/Manifest b/sys-cluster/extrae/Manifest
index 1f6352936..2e81d6e17 100644
--- a/sys-cluster/extrae/Manifest
+++ b/sys-cluster/extrae/Manifest
@@ -1,2 +1 @@
-DIST extrae-3.8.3.tar.gz 1056317 BLAKE2B 9efe7011ba9474de66deb8c679f10eff37cc3d5699b42cb1b076ed43b539bbc15ecc613b3f17b03df9e93a219ebcafd3e1d56229db9c0d4e7a0a56d5c3edd591 SHA512 3fba66447790e0a1c71c0e5a61f67ad966cdd4e19742799ecc50124a916ef599fff747027ccc803584f0ab2d1d76c29ded7072a70dd0aed5a3be7ff6ecbb8709
DIST extrae-4.0.1.tar.gz 1082141 BLAKE2B a049f744aa1d2f6770e620939c5d7981098e86908843f0b9d38d06a4aa9103ed2d551a34301dbf57857316340031d536a814d82a9ab0aab5ab70b063171ff52c SHA512 58cbe06b1eb738dba3c9d38a96ca8a9bf442c492214e086876af25b8d7e01c379b46281f6815763e87e0e69214636f95486d48b1b6ce088b54d24b4d77ff0920
diff --git a/sys-cluster/extrae/extrae-3.8.3-r10.ebuild b/sys-cluster/extrae/extrae-3.8.3-r10.ebuild
deleted file mode 100644
index 20f867fe8..000000000
--- a/sys-cluster/extrae/extrae-3.8.3-r10.ebuild
+++ /dev/null
@@ -1,238 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
-
-inherit autotools java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
-HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
-SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-
-IUSE_INSTRUMENT="
- +instrument_dynamic-memory
- +instrument_io
- +instrument_syscall
-"
-IUSE="${IUSE_INSTRUMENT} clustering dlsym doc dyninst heterogeneous inotify memkind
-merge-in-trace nanos online opencl openmp openshmem +parallel-merge pebs-sampling
-peruse +posix-clock pthread sampling +single-mpi-lib sionlib smpss spectral +xml"
-
-#aspectj and aspectj-weaver need to both be enabled at the same time
-#current dev-java/aspectj package only provides aspectj.jar
-#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
-#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: cuda cupti gm mx
-#TODO: support llvm libunwind, llvm rt, elftoolchain
-
-CDEPEND="
- ${PYTHON_DEPS}
- dev-libs/libxml2
- dev-libs/papi
- !sys-cluster/openmpi[libompitrace(+)]
- sys-libs/libunwind
- sys-libs/zlib
- virtual/mpi
-
- || ( sys-devel/binutils:* sys-libs/binutils-libs )
-
- clustering? ( sys-cluster/clusteringsuite[treedbscan] )
- dyninst? (
- dev-libs/boost:=
- dev-libs/libdwarf
- sys-cluster/dyninst
- virtual/libelf
- )
- inotify? ( dev-libs/libevent )
- memkind? ( dev-libs/memkind )
- online? ( sys-cluster/synapse )
- opencl? ( dev-util/opencl-headers )
- openshmem? ( sys-cluster/SOS )
- peruse? ( sys-cluster/openmpi[peruse(-)] )
- sionlib? ( sys-cluster/sionlib:= )
- spectral? (
- sci-libs/fftw
- sys-cluster/spectral
- )
-"
-# aspectj? ( >=dev-java/aspectj-1.9.6 )
-DEPEND="
- ${CDEPEND}
- java? ( virtual/jdk:1.8 )
-"
-RDEPEND="
- ${CDEPEND}
- java? ( virtual/jre:1.8 )
- virtual/opencl
-"
-BDEPEND="
- doc? (
- app-text/ghostscript-gpl
- dev-python/sphinx
- dev-tex/latexmk
- dev-texlive/texlive-latexextra
- )
- java? ( app-admin/chrpath )
-"
-
-PATCHES=( "${FILESDIR}/${P}-link-sionlib.patch" )
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
-
- || ( ${IUSE_INSTRUMENT//+/} )
-
- java? ( pthread )
-"
-# cupti? ( cuda )
-# aspectj? ( java )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- export VARTEXFONTS="${T}/fonts"
-
- local myconf=(
- --datadir="${T}"
- --datarootdir="${T}"
-
- --disable-mic
- --disable-pmapi
- --disable-static
-
- --enable-shared
-
- --with-librt="${EPREFIX}/usr"
- --with-mpi="${EPREFIX}/usr"
- --with-papi="${EPREFIX}/usr"
- --with-unwind="${EPREFIX}/usr"
-
- --without-cupti
- --without-gm
- --without-mx
-
- $(use_enable doc)
- $(use_enable heterogeneous)
- $(use_enable inotify)
- $(use_enable instrument_dynamic-memory)
- $(use_enable instrument_io)
- $(use_enable instrument_syscall)
- $(use_enable merge-in-trace)
- $(use_enable nanos)
- $(use_enable online)
- $(use_enable openmp)
- $(use_enable parallel-merge)
- $(use_enable pebs-sampling)
- $(use_enable peruse)
- $(use_enable posix-clock)
- $(use_enable pthread)
- $(use_enable sampling)
- $(use_enable single-mpi-lib)
- $(use_enable smpss)
- $(use_enable xml)
- )
-
- use dlsym && myconf+=( "--with-pmpi-hook=dlsym" )
-
-# if use aspectj; then
-# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
-# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
-# else
- myconf+=( "--without-java-aspectj-weaver" )
- myconf+=( "--without-java-aspectj" )
-# fi
- if use clustering; then
- myconf+=( "--with-clustering=${EPREFIX}/usr" )
- else
- myconf+=( "--without-clustering" )
- fi
- if use dyninst; then
- myconf+=( "--with-boost=${EPREFIX}/usr" )
- myconf+=( "--with-dyninst=${EPREFIX}/usr" )
- myconf+=( "--with-dyninst-headers=${EPREFIX}/usr/include/dyninst" )
- myconf+=( "--with-dwarf=${EPREFIX}/usr" )
- myconf+=( "--with-elf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-boost" )
- myconf+=( "--without-dyninst" )
- myconf+=( "--without-dwarf" )
- myconf+=( "--without-elf" )
- fi
- if use java; then
- myconf+=( "--with-java-jdk=$(java-config -O)" )
- else
- myconf+=( "--without-java-jdk" )
- fi
- if use memkind; then
- myconf+=( "--with-memkind=${EPREFIX}/usr" )
- else
- myconf+=( "--without-memkind" )
- fi
- if use online; then
- myconf+=( "--with-synapse=${EPREFIX}/usr" )
- else
- myconf+=( "--without-synapse" )
- fi
- if use opencl; then
- myconf+=( "--with-opencl=${EPREFIX}/usr" )
- else
- myconf+=( "--without-opencl" )
- fi
- if use openshmem; then
- myconf+=( "--with-openshmem=${EPREFIX}/usr" )
- else
- myconf+=( "--without-openshmem" )
- fi
- if use sionlib; then
- myconf+=( "--with-sionlib=${EPREFIX}/usr" )
- myconf+=( "--with-sionlib-headers=${EPREFIX}/usr/include/sionlib" )
- fi
- if use spectral; then
- myconf+=( "--with-fft=${EPREFIX}/usr" )
- myconf+=( "--with-spectral=${EPREFIX}/usr" )
- else
- myconf+=( "--without-fft" )
- myconf+=( "--without-spectral" )
- fi
-
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- #TODO: build examples
-
- mkdir -p "${D}/$(python_get_sitedir)/" || die
- mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
- python_optimize "${D}/$(python_get_sitedir)/pyextrae"
-
- #super-duper workaround
- mkdir -p "${ED}/usr/share/doc/${PF}" || die
- mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
- mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
-
- if use doc ; then
- mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
- mv "${T}/man" "${ED}/usr/share/" || die
- docompress -x "/usr/share/doc/${PF}/html"
- fi
- docompress -x "/usr/share/doc/${PF}/examples"
- docompress -x "/usr/share/doc/${PF}/tests"
-
- if use java; then
- chrpath -d "${ED}/usr/$(get_libdir)/libextrae-jvmti-agent.so" || die
- chrpath -d "${ED}/usr/$(get_libdir)/libjavatrace.so" || die
- fi
-
- find "${ED}" -name '*.a' -delete || die
- find "${ED}" -name '*.la' -delete || die
-}
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-08-20 1:32 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-08-20 1:32 UTC (permalink / raw
To: gentoo-commits
commit: 02310e94552ae41bdebc6886d969232f23c7c0d2
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Aug 20 01:23:33 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Aug 20 01:23:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02310e94
sys-cluster/extrae: rework of instrumentation use, add peruse
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
...rae-3.8.3-r9.ebuild => extrae-3.8.3-r10.ebuild} | 35 ++++++++++++++--------
sys-cluster/extrae/metadata.xml | 9 +++---
2 files changed, 27 insertions(+), 17 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r9.ebuild b/sys-cluster/extrae/extrae-3.8.3-r10.ebuild
similarity index 89%
rename from sys-cluster/extrae/extrae-3.8.3-r9.ebuild
rename to sys-cluster/extrae/extrae-3.8.3-r10.ebuild
index c52ea919c..e37da75a2 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r9.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r10.ebuild
@@ -14,28 +14,33 @@ SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz ->
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="clustering doc dyninst heterogeneous inotify +instrument-dynamic-memory +instrument-io
-+instrument-syscall memkind merge-in-trace nanos online opencl openmp openshmem
-+parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss
-spectral +xml"
+
+IUSE_INSTRUMENT="
+ +instrument-dynamic-memory
+ +instrument-io
+ +instrument-syscall
+"
+IUSE_EXPAND="INSTRUMENT"
+IUSE="${IUSE_INSTRUMENT} clustering dlsym doc dyninst heterogeneous inotify memkind
+merge-in-trace nanos online opencl openmp openshmem +parallel-merge pebs-sampling
+peruse +posix-clock pthread sampling +single-mpi-lib sionlib smpss spectral +xml"
#aspectj and aspectj-weaver need to both be enabled at the same time
#current dev-java/aspectj package only provides aspectj.jar
#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: pmapi cuda cupti gm mx aspectj
+#TODO: cuda cupti gm mx
#TODO: support llvm libunwind, llvm rt, elftoolchain
CDEPEND="
${PYTHON_DEPS}
dev-libs/libxml2
dev-libs/papi
- !<sys-cluster/openmpi-4.0.5-r1
- !>=sys-cluster/openmpi-4.0.5-r1[libompitrace]
+ !sys-cluster/openmpi[libompitrace(+)]
+ sys-libs/libunwind
sys-libs/zlib
virtual/mpi
- || ( sys-libs/libunwind sys-libs/llvm-libunwind )
|| ( sys-devel/binutils:* sys-libs/binutils-libs )
clustering? ( sys-cluster/clusteringsuite[treedbscan] )
@@ -50,6 +55,7 @@ CDEPEND="
online? ( sys-cluster/synapse )
opencl? ( dev-util/opencl-headers )
openshmem? ( sys-cluster/SOS )
+ peruse? ( sys-cluster/openmpi[peruse(-)] )
sionlib? ( sys-cluster/sionlib:= )
spectral? (
sci-libs/fftw
@@ -74,8 +80,12 @@ BDEPEND="
dev-texlive/texlive-latexextra
)
"
+
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
+
+ || ( ${IUSE_INSTRUMENT//+/} )
+
java? ( pthread )
"
# cupti? ( cuda )
@@ -94,8 +104,6 @@ src_configure() {
--datarootdir="${T}"
--disable-mic
- --disable-online
- --disable-peruse
--disable-pmapi
--disable-static
@@ -104,7 +112,6 @@ src_configure() {
--with-librt="${EPREFIX}/usr"
--with-mpi="${EPREFIX}/usr"
--with-papi="${EPREFIX}/usr"
- --with-pic
--with-unwind="${EPREFIX}/usr"
--without-cupti
@@ -121,16 +128,18 @@ src_configure() {
$(use_enable nanos)
$(use_enable online)
$(use_enable openmp)
- $(use_enable sampling)
$(use_enable parallel-merge)
$(use_enable pebs-sampling)
+ $(use_enable peruse)
$(use_enable posix-clock)
$(use_enable pthread)
+ $(use_enable sampling)
$(use_enable single-mpi-lib)
$(use_enable smpss)
$(use_enable xml)
)
-#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
+
+ use dlsym && myconf+=( "--with-pmpi-hook=dlsym" )
# if use aspectj; then
# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index ba115eca5..9e8da6d6f 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -21,7 +21,8 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<!--<flag name="cuda">Enable support for tracing CUDA calls on nVidia hardware and needs to point to the CUDA SDK installation path. This instrumentation is only valid in binaries that use the shared version of the CUDA library.</flag>-->
<!--<flag name="cupti">CUPTI is used to instrument CUDA calls</flag>-->
<flag name="doc">Generates the documentation of this instrumentation package</flag>
- <flag name="dyninst">Build with dyninst</flag>
+ <flag name="dlsym">Use dlsym instead of PMPI</flag>
+ <flag name="dyninst">Build with <pkg>sys-cluster/dyninst</pkg></flag>
<flag name="heterogeneous">Enable support for heterogeneous tracing</flag>
<flag name="inotify">Enable inotify support</flag>
<flag name="instrument-dynamic-memory">Enables instrumentation for dynamic memory (malloc, free, realloc) calls</flag>
@@ -37,11 +38,11 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<flag name="openshmem">OpenSHMEM to be used for the instrumentation package</flag>
<flag name="parallel-merge">Build the parallel mergers (mpimpi2prv/mpimpi2dim) based on MPI</flag>
<flag name="pebs-sampling">enable PEBS sampling</flag>
- <!--<flag name="pmapi">Enable PMAPI library to gather CPU performance counters</flag>-->
+ <flag name="peruse">Enable gathering information with PerUse</flag>
<flag name="posix-clock">Use POSIX clock (clock_gettime call) instead of low level timing routines. Use this option if the system where you install the instrumentation package modifies the frequency of its processors at runtime.</flag>
<flag name="pthread">Enable support for tracing pthread library</flag>
- <flag name="sampling">Enable PAPI sampling support</flag>
- <flag name="spectral">This package enables support for on-line spectral analysis.</flag>
+ <flag name="sampling">Enable <pkg>dev-libs/papi</pkg> sampling support</flag>
+ <flag name="spectral">This package enables support for on-line <pkg>sys-cluster/spectral</pkg> analysis.</flag>
<flag name="single-mpi-lib">Produces a single instrumentation library for MPI that contains both Fortran and C wrappers. Applications that call the MPI library from both C and Fortran languages need this flag to be enabled.</flag>
<flag name="sionlib">Enable support for <pkg>sys-cluster/sionlib</pkg></flag>
<flag name="smpss">Enable support for tracing SMP-superscalar</flag>
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-08-06 0:16 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-08-06 0:16 UTC (permalink / raw
To: gentoo-commits
commit: 80ce0488664df5fb8050d222637f3907b97da61d
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Aug 6 00:13:32 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Aug 6 00:16:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=80ce0488
sys-cluster/extrae: add openshmem useflag
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../{extrae-3.8.3-r8.ebuild => extrae-3.8.3-r9.ebuild} | 14 ++++++++++----
sys-cluster/extrae/metadata.xml | 1 +
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r8.ebuild b/sys-cluster/extrae/extrae-3.8.3-r9.ebuild
similarity index 94%
rename from sys-cluster/extrae/extrae-3.8.3-r8.ebuild
rename to sys-cluster/extrae/extrae-3.8.3-r9.ebuild
index 5f1a1ef45..c52ea919c 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r8.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r9.ebuild
@@ -15,14 +15,15 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="clustering doc dyninst heterogeneous inotify +instrument-dynamic-memory +instrument-io
-+instrument-syscall memkind merge-in-trace nanos online opencl openmp +parallel-merge
-pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss spectral +xml"
++instrument-syscall memkind merge-in-trace nanos online opencl openmp openshmem
++parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss
+spectral +xml"
#aspectj and aspectj-weaver need to both be enabled at the same time
#current dev-java/aspectj package only provides aspectj.jar
#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: pmapi cuda cupti openshmem gm mx aspectj
+#TODO: pmapi cuda cupti gm mx aspectj
#TODO: support llvm libunwind, llvm rt, elftoolchain
CDEPEND="
@@ -48,6 +49,7 @@ CDEPEND="
memkind? ( dev-libs/memkind )
online? ( sys-cluster/synapse )
opencl? ( dev-util/opencl-headers )
+ openshmem? ( sys-cluster/SOS )
sionlib? ( sys-cluster/sionlib:= )
spectral? (
sci-libs/fftw
@@ -106,7 +108,6 @@ src_configure() {
--with-unwind="${EPREFIX}/usr"
--without-cupti
- --without-openshmem
--without-gm
--without-mx
@@ -175,6 +176,11 @@ src_configure() {
else
myconf+=( "--without-opencl" )
fi
+ if use openshmem; then
+ myconf+=( "--with-openshmem=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-openshmem" )
+ fi
if use sionlib; then
myconf+=( "--with-sionlib=${EPREFIX}/usr" )
myconf+=( "--with-sionlib-headers=${EPREFIX}/usr/include/sionlib" )
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index fc023d8fb..ba115eca5 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -34,6 +34,7 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<flag name="online">Enable on-line analysis</flag>
<flag name="opencl">Enable support for tracing OpenCL</flag>
<flag name="openmp">Enable support for tracing OpenMP</flag>
+ <flag name="openshmem">OpenSHMEM to be used for the instrumentation package</flag>
<flag name="parallel-merge">Build the parallel mergers (mpimpi2prv/mpimpi2dim) based on MPI</flag>
<flag name="pebs-sampling">enable PEBS sampling</flag>
<!--<flag name="pmapi">Enable PMAPI library to gather CPU performance counters</flag>-->
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-07-28 0:21 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-07-28 0:21 UTC (permalink / raw
To: gentoo-commits
commit: 26ad00568a47f83595f7678e62b6ed4c8f74ffa1
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Jul 28 00:21:11 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Jul 28 00:21:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26ad0056
sys-cluster/extrae: add dyninst useflag
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r8.ebuild | 41 ++++++++++++++-----------------
sys-cluster/extrae/metadata.xml | 6 +----
2 files changed, 20 insertions(+), 27 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r8.ebuild b/sys-cluster/extrae/extrae-3.8.3-r8.ebuild
index 49144b4b8..5f1a1ef45 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r8.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r8.ebuild
@@ -14,17 +14,15 @@ SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz ->
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="boost clustering doc dwarf elf heterogeneous inotify +instrument-dynamic-memory
-+instrument-io +instrument-syscall memkind merge-in-trace nanos online opencl openmp
-+parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss
-spectral +xml"
+IUSE="clustering doc dyninst heterogeneous inotify +instrument-dynamic-memory +instrument-io
++instrument-syscall memkind merge-in-trace nanos online opencl openmp +parallel-merge
+pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss spectral +xml"
#aspectj and aspectj-weaver need to both be enabled at the same time
#current dev-java/aspectj package only provides aspectj.jar
#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: remove some useflags (boost elf dwarf)
-#TODO: pmapi online dyninst cuda cupti openshmem gm mx aspectj
+#TODO: pmapi cuda cupti openshmem gm mx aspectj
#TODO: support llvm libunwind, llvm rt, elftoolchain
CDEPEND="
@@ -39,10 +37,13 @@ CDEPEND="
|| ( sys-libs/libunwind sys-libs/llvm-libunwind )
|| ( sys-devel/binutils:* sys-libs/binutils-libs )
- boost? ( dev-libs/boost:= )
- clustering? ( sys-cluster/clusteringsuite )
- dwarf? ( dev-libs/libdwarf )
- elf? ( virtual/libelf )
+ clustering? ( sys-cluster/clusteringsuite[treedbscan] )
+ dyninst? (
+ dev-libs/boost:=
+ dev-libs/libdwarf
+ sys-cluster/dyninst
+ virtual/libelf
+ )
inotify? ( dev-libs/libevent )
memkind? ( dev-libs/memkind )
online? ( sys-cluster/synapse )
@@ -76,7 +77,6 @@ REQUIRED_USE="
java? ( pthread )
"
# cupti? ( cuda )
-# dyninst? ( boost dwarf elf )
# aspectj? ( java )
src_prepare() {
@@ -105,7 +105,6 @@ src_configure() {
--with-pic
--with-unwind="${EPREFIX}/usr"
- --without-dyninst
--without-cupti
--without-openshmem
--without-gm
@@ -119,6 +118,7 @@ src_configure() {
$(use_enable instrument-syscall)
$(use_enable merge-in-trace)
$(use_enable nanos)
+ $(use_enable online)
$(use_enable openmp)
$(use_enable sampling)
$(use_enable parallel-merge)
@@ -138,24 +138,21 @@ src_configure() {
myconf+=( "--without-java-aspectj-weaver" )
myconf+=( "--without-java-aspectj" )
# fi
- if use boost; then
- myconf+=( "--with-boost=${EPREFIX}/usr" )
- else
- myconf+=( "--without-boost" )
- fi
if use clustering; then
myconf+=( "--with-clustering=${EPREFIX}/usr" )
else
myconf+=( "--without-clustering" )
fi
- if use dwarf; then
+ if use dyninst; then
+ myconf+=( "--with-boost=${EPREFIX}/usr" )
+ myconf+=( "--with-dyninst=${EPREFIX}/usr" )
+ myconf+=( "--with-dyninst-headers=${EPREFIX}/usr/include/dyninst" )
myconf+=( "--with-dwarf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-dwarf" )
- fi
- if use elf; then
myconf+=( "--with-elf=${EPREFIX}/usr" )
else
+ myconf+=( "--without-boost" )
+ myconf+=( "--without-dyninst" )
+ myconf+=( "--without-dwarf" )
myconf+=( "--without-elf" )
fi
if use java; then
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index 3db14b4bc..fc023d8fb 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -17,14 +17,11 @@ process). Extrae generates trace files that can be later visualized with sys-clu
</upstream>
<use>
<!--<flag name="aspectj">Enable support for tracing Java through <pkg>dev-java/aspectj</pkg> (experimental)</flag>-->
- <flag name="boost">Search for boost</flag>
<flag name="clustering">Enable <pkg>sys-cluster/clusteringsuite</pkg> support</flag>
<!--<flag name="cuda">Enable support for tracing CUDA calls on nVidia hardware and needs to point to the CUDA SDK installation path. This instrumentation is only valid in binaries that use the shared version of the CUDA library.</flag>-->
<!--<flag name="cupti">CUPTI is used to instrument CUDA calls</flag>-->
<flag name="doc">Generates the documentation of this instrumentation package</flag>
- <flag name="dwarf">Build with <pkg>dev-libs/libdwarf</pkg></flag>
- <!--<flag name="dyninst">Build with dyninst</flag>-->
- <flag name="elf">Build with <pkg>virtual/libelf</pkg></flag>
+ <flag name="dyninst">Build with dyninst</flag>
<flag name="heterogeneous">Enable support for heterogeneous tracing</flag>
<flag name="inotify">Enable inotify support</flag>
<flag name="instrument-dynamic-memory">Enables instrumentation for dynamic memory (malloc, free, realloc) calls</flag>
@@ -47,7 +44,6 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<flag name="single-mpi-lib">Produces a single instrumentation library for MPI that contains both Fortran and C wrappers. Applications that call the MPI library from both C and Fortran languages need this flag to be enabled.</flag>
<flag name="sionlib">Enable support for <pkg>sys-cluster/sionlib</pkg></flag>
<flag name="smpss">Enable support for tracing SMP-superscalar</flag>
- <!--<flag name="synapse">This library is a front-end of the MRNet library</flag>-->
<flag name="xml">Enable support for XML configuration</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-07-26 23:28 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-07-26 23:28 UTC (permalink / raw
To: gentoo-commits
commit: d731e99abfe60e51606dc5cf67193740fa659499
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jul 26 22:25:37 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jul 26 23:28:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d731e99a
sys-cluster/extrae: fix sionlib detection
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../extrae/{extrae-3.8.3-r7.ebuild => extrae-3.8.3-r8.ebuild} | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r7.ebuild b/sys-cluster/extrae/extrae-3.8.3-r8.ebuild
similarity index 96%
rename from sys-cluster/extrae/extrae-3.8.3-r7.ebuild
rename to sys-cluster/extrae/extrae-3.8.3-r8.ebuild
index 50f2ccc32..49144b4b8 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r7.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r8.ebuild
@@ -47,7 +47,7 @@ CDEPEND="
memkind? ( dev-libs/memkind )
online? ( sys-cluster/synapse )
opencl? ( dev-util/opencl-headers )
- sionlib? ( sys-cluster/sionlib:=[-tools] )
+ sionlib? ( sys-cluster/sionlib:= )
spectral? (
sci-libs/fftw
sys-cluster/spectral
@@ -178,6 +178,10 @@ src_configure() {
else
myconf+=( "--without-opencl" )
fi
+ if use sionlib; then
+ myconf+=( "--with-sionlib=${EPREFIX}/usr" )
+ myconf+=( "--with-sionlib-headers=${EPREFIX}/usr/include/sionlib" )
+ fi
if use spectral; then
myconf+=( "--with-fft=${EPREFIX}/usr" )
myconf+=( "--with-spectral=${EPREFIX}/usr" )
@@ -186,8 +190,6 @@ src_configure() {
myconf+=( "--without-spectral" )
fi
- use sionlib && myconf+=( "--with-sionlib=${EPREFIX}/usr" )
-
econf "${myconf[@]}"
}
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-07-26 16:06 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-07-26 16:06 UTC (permalink / raw
To: gentoo-commits
commit: d48c771aca29f31b5bd083082ad9455d738e378f
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jul 26 16:05:34 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jul 26 16:06:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d48c771a
sys-cluster/extrae: add online useflag
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../{extrae-3.8.3-r6.ebuild => extrae-3.8.3-r7.ebuild} | 17 +++++++++++------
sys-cluster/extrae/metadata.xml | 2 +-
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r6.ebuild b/sys-cluster/extrae/extrae-3.8.3-r7.ebuild
similarity index 93%
rename from sys-cluster/extrae/extrae-3.8.3-r6.ebuild
rename to sys-cluster/extrae/extrae-3.8.3-r7.ebuild
index 4baf807be..50f2ccc32 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r6.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r7.ebuild
@@ -15,15 +15,16 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="boost clustering doc dwarf elf heterogeneous inotify +instrument-dynamic-memory
-+instrument-io +instrument-syscall memkind merge-in-trace nanos opencl openmp +parallel-merge
-pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss spectral +xml"
++instrument-io +instrument-syscall memkind merge-in-trace nanos online opencl openmp
++parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss
+spectral +xml"
#aspectj and aspectj-weaver need to both be enabled at the same time
#current dev-java/aspectj package only provides aspectj.jar
#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
#aspectj-weaver needs bar/aspectjweaver.jar
#TODO: remove some useflags (boost elf dwarf)
-#TODO: pmapi online dyninst cuda cupti openshmem gm mx synapse aspectj
+#TODO: pmapi online dyninst cuda cupti openshmem gm mx aspectj
#TODO: support llvm libunwind, llvm rt, elftoolchain
CDEPEND="
@@ -44,8 +45,9 @@ CDEPEND="
elf? ( virtual/libelf )
inotify? ( dev-libs/libevent )
memkind? ( dev-libs/memkind )
+ online? ( sys-cluster/synapse )
opencl? ( dev-util/opencl-headers )
- sionlib? ( sys-cluster/sionlib:= )
+ sionlib? ( sys-cluster/sionlib:=[-tools] )
spectral? (
sci-libs/fftw
sys-cluster/spectral
@@ -75,7 +77,6 @@ REQUIRED_USE="
"
# cupti? ( cuda )
# dyninst? ( boost dwarf elf )
-# online? ( synapse )
# aspectj? ( java )
src_prepare() {
@@ -106,7 +107,6 @@ src_configure() {
--without-dyninst
--without-cupti
- --without-synapse
--without-openshmem
--without-gm
--without-mx
@@ -168,6 +168,11 @@ src_configure() {
else
myconf+=( "--without-memkind" )
fi
+ if use online; then
+ myconf+=( "--with-synapse=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-synapse" )
+ fi
if use opencl; then
myconf+=( "--with-opencl=${EPREFIX}/usr" )
else
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index 4a9abda54..3db14b4bc 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -34,7 +34,7 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<flag name="memkind">Enable <pkg>dev-libs/memkind</pkg> support</flag>
<flag name="merge-in-trace">Embed the merging process in the tracing library so the final tracefile can be generated automatically from the application run</flag>
<flag name="nanos">Enable support for tracing <pkg>sys-cluster/nanos6</pkg> run-time</flag>
- <!--<flag name="online">Enable on-line analysis</flag>-->
+ <flag name="online">Enable on-line analysis</flag>
<flag name="opencl">Enable support for tracing OpenCL</flag>
<flag name="openmp">Enable support for tracing OpenMP</flag>
<flag name="parallel-merge">Build the parallel mergers (mpimpi2prv/mpimpi2dim) based on MPI</flag>
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-07-11 0:29 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-07-11 0:29 UTC (permalink / raw
To: gentoo-commits
commit: 96044191ae3ba0e0aa6708d70e540a2b39d492eb
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jul 11 00:25:59 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Jul 11 00:29:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96044191
sys-cluster/extrae: add memkind description
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index bcef4fe59..4a9abda54 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -31,6 +31,7 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<flag name="instrument-io">Enables instrumentation for basic I/O (read, write) calls</flag>
<flag name="instrument-syscall">Enables instrumentation for system calls (other than I/O and mallocs)</flag>
<flag name="java">Enable support for tracing Java. This is necessary to create the connectors between |TRACE| and Java applications.</flag>
+ <flag name="memkind">Enable <pkg>dev-libs/memkind</pkg> support</flag>
<flag name="merge-in-trace">Embed the merging process in the tracing library so the final tracefile can be generated automatically from the application run</flag>
<flag name="nanos">Enable support for tracing <pkg>sys-cluster/nanos6</pkg> run-time</flag>
<!--<flag name="online">Enable on-line analysis</flag>-->
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-07-10 14:32 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-07-10 14:32 UTC (permalink / raw
To: gentoo-commits
commit: 19c5c0a12bcd017f5daa0723de4eed982f08adee
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Jul 10 14:31:43 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Jul 10 14:31:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19c5c0a1
sys-cluster/extrae: add memkind and spectral
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
...trae-3.8.3-r5.ebuild => extrae-3.8.3-r6.ebuild} | 42 ++++++++++++----------
sys-cluster/extrae/metadata.xml | 3 +-
2 files changed, 25 insertions(+), 20 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r5.ebuild b/sys-cluster/extrae/extrae-3.8.3-r6.ebuild
similarity index 86%
rename from sys-cluster/extrae/extrae-3.8.3-r5.ebuild
rename to sys-cluster/extrae/extrae-3.8.3-r6.ebuild
index a221e2b61..4baf807be 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r5.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r6.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( pypy3 python3_{8,9} )
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
inherit autotools java-pkg-opt-2 python-single-r1
@@ -14,25 +14,22 @@ SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz ->
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="boost clustering doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
+IUSE="boost clustering doc dwarf elf heterogeneous inotify +instrument-dynamic-memory
++instrument-io +instrument-syscall memkind merge-in-trace nanos opencl openmp +parallel-merge
+pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss spectral +xml"
+
#aspectj and aspectj-weaver need to both be enabled at the same time
#current dev-java/aspectj package only provides aspectj.jar
#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: find out who is pulling in libpfm
-#TODO: find out which FFT library is used
-#TODO: remove some useflags (boost fft elf dwarf)
-#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind aspectj
+#TODO: remove some useflags (boost elf dwarf)
+#TODO: pmapi online dyninst cuda cupti openshmem gm mx synapse aspectj
#TODO: support llvm libunwind, llvm rt, elftoolchain
CDEPEND="
${PYTHON_DEPS}
- app-arch/xz-utils
- dev-libs/icu
- dev-libs/libpfm
dev-libs/libxml2
dev-libs/papi
- sys-apps/hwloc
!<sys-cluster/openmpi-4.0.5-r1
!>=sys-cluster/openmpi-4.0.5-r1[libompitrace]
sys-libs/zlib
@@ -46,8 +43,13 @@ CDEPEND="
dwarf? ( dev-libs/libdwarf )
elf? ( virtual/libelf )
inotify? ( dev-libs/libevent )
+ memkind? ( dev-libs/memkind )
opencl? ( dev-util/opencl-headers )
sionlib? ( sys-cluster/sionlib:= )
+ spectral? (
+ sci-libs/fftw
+ sys-cluster/spectral
+ )
"
# aspectj? ( >=dev-java/aspectj-1.9.6 )
DEPEND="
@@ -75,7 +77,6 @@ REQUIRED_USE="
# dyninst? ( boost dwarf elf )
# online? ( synapse )
# aspectj? ( java )
-# spectral? ( fft )
src_prepare() {
default
@@ -105,9 +106,7 @@ src_configure() {
--without-dyninst
--without-cupti
- --without-memkind
--without-synapse
- --without-spectral
--without-openshmem
--without-gm
--without-mx
@@ -159,21 +158,28 @@ src_configure() {
else
myconf+=( "--without-elf" )
fi
- if use fft; then
- myconf+=( "--with-fft=${EPREFIX}/usr" )
- else
- myconf+=( "--without-fft" )
- fi
if use java; then
myconf+=( "--with-java-jdk=$(java-config -O)" )
else
myconf+=( "--without-java-jdk" )
fi
+ if use memkind; then
+ myconf+=( "--with-memkind=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-memkind" )
+ fi
if use opencl; then
myconf+=( "--with-opencl=${EPREFIX}/usr" )
else
myconf+=( "--without-opencl" )
fi
+ if use spectral; then
+ myconf+=( "--with-fft=${EPREFIX}/usr" )
+ myconf+=( "--with-spectral=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-fft" )
+ myconf+=( "--without-spectral" )
+ fi
use sionlib && myconf+=( "--with-sionlib=${EPREFIX}/usr" )
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index 9c6006a1b..bcef4fe59 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -25,7 +25,6 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<flag name="dwarf">Build with <pkg>dev-libs/libdwarf</pkg></flag>
<!--<flag name="dyninst">Build with dyninst</flag>-->
<flag name="elf">Build with <pkg>virtual/libelf</pkg></flag>
- <flag name="fft">Search for FFT package (which?)</flag>
<flag name="heterogeneous">Enable support for heterogeneous tracing</flag>
<flag name="inotify">Enable inotify support</flag>
<flag name="instrument-dynamic-memory">Enables instrumentation for dynamic memory (malloc, free, realloc) calls</flag>
@@ -43,7 +42,7 @@ process). Extrae generates trace files that can be later visualized with sys-clu
<flag name="posix-clock">Use POSIX clock (clock_gettime call) instead of low level timing routines. Use this option if the system where you install the instrumentation package modifies the frequency of its processors at runtime.</flag>
<flag name="pthread">Enable support for tracing pthread library</flag>
<flag name="sampling">Enable PAPI sampling support</flag>
- <!--<flag name="spectral">This package enables support for on-line spectral analysis.</flag>-->
+ <flag name="spectral">This package enables support for on-line spectral analysis.</flag>
<flag name="single-mpi-lib">Produces a single instrumentation library for MPI that contains both Fortran and C wrappers. Applications that call the MPI library from both C and Fortran languages need this flag to be enabled.</flag>
<flag name="sionlib">Enable support for <pkg>sys-cluster/sionlib</pkg></flag>
<flag name="smpss">Enable support for tracing SMP-superscalar</flag>
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-06-15 13:27 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-06-15 13:27 UTC (permalink / raw
To: gentoo-commits
commit: abd123292f03e7af5829d4bfd9a08c7f9e511951
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 15 13:27:06 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 15 13:27:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=abd12329
sys-cluster/extrae: drop 3.8.3-r1, 3.8.3-r2, 3.8.3-r3, 3.8.3-r4
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 193 ----------------------------
sys-cluster/extrae/extrae-3.8.3-r2.ebuild | 198 ----------------------------
sys-cluster/extrae/extrae-3.8.3-r3.ebuild | 203 -----------------------------
sys-cluster/extrae/extrae-3.8.3-r4.ebuild | 207 ------------------------------
4 files changed, 801 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
deleted file mode 100644
index 83906e3ff..000000000
--- a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-inherit autotools java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
-HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
-SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib smpss +xml"
-#aspectj and aspectj-weaver need to both be enabled at the same time
-#current dev-java/aspectj package only provides aspectj.jar
-#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
-#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: find out who is pulling in libpfm
-#TODO: find out which FFT library is used
-#TODO: remove some useflags (boost fft elf dwarf)
-#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind sionlib aspectj
-#TODO: support llvm libunwind, llvm rt, elftoolchain
-
-CDEPEND="
- ${PYTHON_DEPS}
- app-arch/xz-utils
- dev-libs/icu
- dev-libs/libpfm
- dev-libs/libxml2
- dev-libs/papi
- sys-apps/hwloc
- sys-libs/zlib
- virtual/mpi
-
- || ( sys-libs/libunwind sys-libs/llvm-libunwind )
- || ( sys-devel/binutils:* sys-libs/binutils-libs )
-
- boost? ( dev-libs/boost:= )
- dwarf? ( dev-libs/libdwarf )
- elf? ( virtual/libelf )
- inotify? ( dev-libs/libevent )
- opencl? ( dev-util/opencl-headers )
-"
-# aspectj? ( >=dev-java/aspectj-1.9.6 )
-DEPEND="
- ${CDEPEND}
- java? ( virtual/jdk:1.8 )
-"
-RDEPEND="
- ${CDEPEND}
- java? ( virtual/jre:1.8 )
- virtual/opencl
-"
-BDEPEND="
- doc? (
- app-text/ghostscript-gpl
- dev-python/sphinx
- dev-tex/latexmk
- dev-texlive/texlive-latexextra
- )
-"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- java? ( pthread )
-"
-# cupti? ( cuda )
-# dyninst? ( boost dwarf elf )
-# online? ( synapse )
-# aspectj? ( java )
-# spectral? ( fft )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myconf=(
- --datadir="${T}"
- --datarootdir="${T}"
- --libdir="${EPREFIX}/usr/$(get_libdir)/extrae/lib"
-
- --disable-mic
- --disable-online
- --disable-peruse
- --disable-pmapi
- --disable-static
-
- --enable-shared
-
- --with-librt="${EPREFIX}/usr"
- --with-mpi="${EPREFIX}/usr"
- --with-papi="${EPREFIX}/usr"
- --with-pic
- --with-unwind="${EPREFIX}/usr"
-
- --without-dyninst
- --without-cupti
- --without-memkind
- --without-clustering
- --without-synapse
- --without-spectral
- --without-openshmem
- --without-gm
- --without-mx
-
- $(use_enable doc)
- $(use_enable heterogeneous)
- $(use_enable inotify)
- $(use_enable instrument-dynamic-memory)
- $(use_enable instrument-io)
- $(use_enable instrument-syscall)
- $(use_enable merge-in-trace)
- $(use_enable nanos)
- $(use_enable openmp)
- $(use_enable sampling)
- $(use_enable parallel-merge)
- $(use_enable pebs-sampling)
- $(use_enable posix-clock)
- $(use_enable pthread)
- $(use_enable single-mpi-lib)
- $(use_enable smpss)
- $(use_enable xml)
- )
-# --without-sionlib
-#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
-
-# if use aspectj; then
-# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
-# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
-# else
- myconf+=( "--without-java-aspectj-weaver" )
- myconf+=( "--without-java-aspectj" )
-# fi
- if use boost; then
- myconf+=( "--with-boost=${EPREFIX}/usr" )
- else
- myconf+=( "--without-boost" )
- fi
- if use dwarf; then
- myconf+=( "--with-dwarf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-dwarf" )
- fi
- if use elf; then
- myconf+=( "--with-elf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-elf" )
- fi
- if use fft; then
- myconf+=( "--with-fft=${EPREFIX}/usr" )
- else
- myconf+=( "--without-fft" )
- fi
- if use java; then
- myconf+=( "--with-java-jdk=$(java-config -O)" )
- else
- myconf+=( "--without-java-jdk" )
- fi
- if use opencl; then
- myconf+=( "--with-opencl=${EPREFIX}/usr" )
- else
- myconf+=( "--without-opencl" )
- fi
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- mkdir -p "${D}/$(python_get_sitedir)/" || die
- mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
- python_optimize "${D}/$(python_get_sitedir)/pyextrae"
-
- #super-duper workaround
- mkdir -p "${ED}/usr/share/doc/${PF}" || die
- mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
- mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
-
- if use doc ; then
- mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
- mv "${T}/man" "${ED}/usr/share/" || die
- docompress -x "/usr/share/doc/${PF}/html"
- fi
- docompress -x "/usr/share/doc/${PF}/examples"
- docompress -x "/usr/share/doc/${PF}/tests"
-
- find "${ED}" -name '*.a' -delete || die
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
deleted file mode 100644
index da5d5f590..000000000
--- a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-inherit autotools java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
-HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
-SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
-#aspectj and aspectj-weaver need to both be enabled at the same time
-#current dev-java/aspectj package only provides aspectj.jar
-#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
-#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: find out who is pulling in libpfm
-#TODO: find out which FFT library is used
-#TODO: remove some useflags (boost fft elf dwarf)
-#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind aspectj
-#TODO: support llvm libunwind, llvm rt, elftoolchain
-
-CDEPEND="
- ${PYTHON_DEPS}
- app-arch/xz-utils
- dev-libs/icu
- dev-libs/libpfm
- dev-libs/libxml2
- dev-libs/papi
- sys-apps/hwloc
- sys-libs/zlib
- virtual/mpi
-
- || ( sys-libs/libunwind sys-libs/llvm-libunwind )
- || ( sys-devel/binutils:* sys-libs/binutils-libs )
-
- boost? ( dev-libs/boost:= )
- dwarf? ( dev-libs/libdwarf )
- elf? ( virtual/libelf )
- inotify? ( dev-libs/libevent )
- opencl? ( dev-util/opencl-headers )
- sionlib? ( sys-cluster/sionlib:= )
-"
-# aspectj? ( >=dev-java/aspectj-1.9.6 )
-DEPEND="
- ${CDEPEND}
- java? ( virtual/jdk:1.8 )
-"
-RDEPEND="
- ${CDEPEND}
- java? ( virtual/jre:1.8 )
- virtual/opencl
-"
-BDEPEND="
- doc? (
- app-text/ghostscript-gpl
- dev-python/sphinx
- dev-tex/latexmk
- dev-texlive/texlive-latexextra
- )
-"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- java? ( pthread )
-"
-# cupti? ( cuda )
-# dyninst? ( boost dwarf elf )
-# online? ( synapse )
-# aspectj? ( java )
-# spectral? ( fft )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- export VARTEXFONTS="${T}/fonts"
-
- local myconf=(
- --datadir="${T}"
- --datarootdir="${T}"
- --libdir="${EPREFIX}/usr/$(get_libdir)/extrae/lib"
-
- --disable-mic
- --disable-online
- --disable-peruse
- --disable-pmapi
- --disable-static
-
- --enable-shared
-
- --with-librt="${EPREFIX}/usr"
- --with-mpi="${EPREFIX}/usr"
- --with-papi="${EPREFIX}/usr"
- --with-pic
- --with-unwind="${EPREFIX}/usr"
-
- --without-dyninst
- --without-cupti
- --without-memkind
- --without-clustering
- --without-synapse
- --without-spectral
- --without-openshmem
- --without-gm
- --without-mx
-
- $(use_enable doc)
- $(use_enable heterogeneous)
- $(use_enable inotify)
- $(use_enable instrument-dynamic-memory)
- $(use_enable instrument-io)
- $(use_enable instrument-syscall)
- $(use_enable merge-in-trace)
- $(use_enable nanos)
- $(use_enable openmp)
- $(use_enable sampling)
- $(use_enable parallel-merge)
- $(use_enable pebs-sampling)
- $(use_enable posix-clock)
- $(use_enable pthread)
- $(use_enable single-mpi-lib)
- $(use_enable smpss)
- $(use_enable xml)
- )
-#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
-
-# if use aspectj; then
-# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
-# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
-# else
- myconf+=( "--without-java-aspectj-weaver" )
- myconf+=( "--without-java-aspectj" )
-# fi
- if use boost; then
- myconf+=( "--with-boost=${EPREFIX}/usr" )
- else
- myconf+=( "--without-boost" )
- fi
- if use dwarf; then
- myconf+=( "--with-dwarf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-dwarf" )
- fi
- if use elf; then
- myconf+=( "--with-elf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-elf" )
- fi
- if use fft; then
- myconf+=( "--with-fft=${EPREFIX}/usr" )
- else
- myconf+=( "--without-fft" )
- fi
- if use java; then
- myconf+=( "--with-java-jdk=$(java-config -O)" )
- else
- myconf+=( "--without-java-jdk" )
- fi
- if use opencl; then
- myconf+=( "--with-opencl=${EPREFIX}/usr" )
- else
- myconf+=( "--without-opencl" )
- fi
-
- use sionlib && myconf+=( "--with-sionlib=${EPREFIX}/usr" )
-
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- mkdir -p "${D}/$(python_get_sitedir)/" || die
- mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
- python_optimize "${D}/$(python_get_sitedir)/pyextrae"
-
- #super-duper workaround
- mkdir -p "${ED}/usr/share/doc/${PF}" || die
- mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
- mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
-
- if use doc ; then
- mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
- mv "${T}/man" "${ED}/usr/share/" || die
- docompress -x "/usr/share/doc/${PF}/html"
- fi
- docompress -x "/usr/share/doc/${PF}/examples"
- docompress -x "/usr/share/doc/${PF}/tests"
-
- find "${ED}" -name '*.a' -delete || die
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
deleted file mode 100644
index 43c112809..000000000
--- a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-inherit autotools java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
-HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
-SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="boost clustering doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
-#aspectj and aspectj-weaver need to both be enabled at the same time
-#current dev-java/aspectj package only provides aspectj.jar
-#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
-#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: find out who is pulling in libpfm
-#TODO: find out which FFT library is used
-#TODO: remove some useflags (boost fft elf dwarf)
-#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind aspectj
-#TODO: support llvm libunwind, llvm rt, elftoolchain
-
-CDEPEND="
- ${PYTHON_DEPS}
- app-arch/xz-utils
- dev-libs/icu
- dev-libs/libpfm
- dev-libs/libxml2
- dev-libs/papi
- sys-apps/hwloc
- sys-libs/zlib
- virtual/mpi
-
- || ( sys-libs/libunwind sys-libs/llvm-libunwind )
- || ( sys-devel/binutils:* sys-libs/binutils-libs )
-
- boost? ( dev-libs/boost:= )
- clustering? ( sys-cluster/clusteringsuite )
- dwarf? ( dev-libs/libdwarf )
- elf? ( virtual/libelf )
- inotify? ( dev-libs/libevent )
- opencl? ( dev-util/opencl-headers )
- sionlib? ( sys-cluster/sionlib:= )
-"
-# aspectj? ( >=dev-java/aspectj-1.9.6 )
-DEPEND="
- ${CDEPEND}
- java? ( virtual/jdk:1.8 )
-"
-RDEPEND="
- ${CDEPEND}
- java? ( virtual/jre:1.8 )
- virtual/opencl
-"
-BDEPEND="
- doc? (
- app-text/ghostscript-gpl
- dev-python/sphinx
- dev-tex/latexmk
- dev-texlive/texlive-latexextra
- )
-"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- java? ( pthread )
-"
-# cupti? ( cuda )
-# dyninst? ( boost dwarf elf )
-# online? ( synapse )
-# aspectj? ( java )
-# spectral? ( fft )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- export VARTEXFONTS="${T}/fonts"
-
- local myconf=(
- --datadir="${T}"
- --datarootdir="${T}"
- --libdir="${EPREFIX}/usr/$(get_libdir)/extrae/lib"
-
- --disable-mic
- --disable-online
- --disable-peruse
- --disable-pmapi
- --disable-static
-
- --enable-shared
-
- --with-librt="${EPREFIX}/usr"
- --with-mpi="${EPREFIX}/usr"
- --with-papi="${EPREFIX}/usr"
- --with-pic
- --with-unwind="${EPREFIX}/usr"
-
- --without-dyninst
- --without-cupti
- --without-memkind
- --without-synapse
- --without-spectral
- --without-openshmem
- --without-gm
- --without-mx
-
- $(use_enable doc)
- $(use_enable heterogeneous)
- $(use_enable inotify)
- $(use_enable instrument-dynamic-memory)
- $(use_enable instrument-io)
- $(use_enable instrument-syscall)
- $(use_enable merge-in-trace)
- $(use_enable nanos)
- $(use_enable openmp)
- $(use_enable sampling)
- $(use_enable parallel-merge)
- $(use_enable pebs-sampling)
- $(use_enable posix-clock)
- $(use_enable pthread)
- $(use_enable single-mpi-lib)
- $(use_enable smpss)
- $(use_enable xml)
- )
-#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
-
-# if use aspectj; then
-# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
-# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
-# else
- myconf+=( "--without-java-aspectj-weaver" )
- myconf+=( "--without-java-aspectj" )
-# fi
- if use boost; then
- myconf+=( "--with-boost=${EPREFIX}/usr" )
- else
- myconf+=( "--without-boost" )
- fi
- if use clustering; then
- myconf+=( "--with-clustering=${EPREFIX}/usr" )
- else
- myconf+=( "--without-clustering" )
- fi
- if use dwarf; then
- myconf+=( "--with-dwarf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-dwarf" )
- fi
- if use elf; then
- myconf+=( "--with-elf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-elf" )
- fi
- if use fft; then
- myconf+=( "--with-fft=${EPREFIX}/usr" )
- else
- myconf+=( "--without-fft" )
- fi
- if use java; then
- myconf+=( "--with-java-jdk=$(java-config -O)" )
- else
- myconf+=( "--without-java-jdk" )
- fi
- if use opencl; then
- myconf+=( "--with-opencl=${EPREFIX}/usr" )
- else
- myconf+=( "--without-opencl" )
- fi
-
- use sionlib && myconf+=( "--with-sionlib=${EPREFIX}/usr" )
-
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- mkdir -p "${D}/$(python_get_sitedir)/" || die
- mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
- python_optimize "${D}/$(python_get_sitedir)/pyextrae"
-
- #super-duper workaround
- mkdir -p "${ED}/usr/share/doc/${PF}" || die
- mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
- mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
-
- if use doc ; then
- mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
- mv "${T}/man" "${ED}/usr/share/" || die
- docompress -x "/usr/share/doc/${PF}/html"
- fi
- docompress -x "/usr/share/doc/${PF}/examples"
- docompress -x "/usr/share/doc/${PF}/tests"
-
- find "${ED}" -name '*.a' -delete || die
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/sys-cluster/extrae/extrae-3.8.3-r4.ebuild b/sys-cluster/extrae/extrae-3.8.3-r4.ebuild
deleted file mode 100644
index dcbbd4dd0..000000000
--- a/sys-cluster/extrae/extrae-3.8.3-r4.ebuild
+++ /dev/null
@@ -1,207 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-inherit autotools java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
-HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
-SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="boost clustering doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
-#aspectj and aspectj-weaver need to both be enabled at the same time
-#current dev-java/aspectj package only provides aspectj.jar
-#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
-#aspectj-weaver needs bar/aspectjweaver.jar
-#TODO: find out who is pulling in libpfm
-#TODO: find out which FFT library is used
-#TODO: remove some useflags (boost fft elf dwarf)
-#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind aspectj
-#TODO: support llvm libunwind, llvm rt, elftoolchain
-
-CDEPEND="
- ${PYTHON_DEPS}
- app-arch/xz-utils
- dev-libs/icu
- dev-libs/libpfm
- dev-libs/libxml2
- dev-libs/papi
- sys-apps/hwloc
- sys-libs/zlib
- virtual/mpi
-
- || ( sys-libs/libunwind sys-libs/llvm-libunwind )
- || ( sys-devel/binutils:* sys-libs/binutils-libs )
-
- boost? ( dev-libs/boost:= )
- clustering? ( sys-cluster/clusteringsuite )
- dwarf? ( dev-libs/libdwarf )
- elf? ( virtual/libelf )
- inotify? ( dev-libs/libevent )
- opencl? ( dev-util/opencl-headers )
- sionlib? ( sys-cluster/sionlib:= )
-"
-# aspectj? ( >=dev-java/aspectj-1.9.6 )
-DEPEND="
- ${CDEPEND}
- java? ( virtual/jdk:1.8 )
-"
-RDEPEND="
- ${CDEPEND}
- java? ( virtual/jre:1.8 )
- virtual/opencl
-"
-BDEPEND="
- doc? (
- app-text/ghostscript-gpl
- dev-python/sphinx
- dev-tex/latexmk
- dev-texlive/texlive-latexextra
- )
-"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
- java? ( pthread )
-"
-# cupti? ( cuda )
-# dyninst? ( boost dwarf elf )
-# online? ( synapse )
-# aspectj? ( java )
-# spectral? ( fft )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- export VARTEXFONTS="${T}/fonts"
-
- local myconf=(
- --datadir="${T}"
- --datarootdir="${T}"
- --libdir="${EPREFIX}/usr/$(get_libdir)/extrae/lib"
-
- --disable-mic
- --disable-online
- --disable-peruse
- --disable-pmapi
- --disable-static
-
- --enable-shared
-
- --with-librt="${EPREFIX}/usr"
- --with-mpi="${EPREFIX}/usr"
- --with-papi="${EPREFIX}/usr"
- --with-pic
- --with-unwind="${EPREFIX}/usr"
-
- --without-dyninst
- --without-cupti
- --without-memkind
- --without-synapse
- --without-spectral
- --without-openshmem
- --without-gm
- --without-mx
-
- $(use_enable doc)
- $(use_enable heterogeneous)
- $(use_enable inotify)
- $(use_enable instrument-dynamic-memory)
- $(use_enable instrument-io)
- $(use_enable instrument-syscall)
- $(use_enable merge-in-trace)
- $(use_enable nanos)
- $(use_enable openmp)
- $(use_enable sampling)
- $(use_enable parallel-merge)
- $(use_enable pebs-sampling)
- $(use_enable posix-clock)
- $(use_enable pthread)
- $(use_enable single-mpi-lib)
- $(use_enable smpss)
- $(use_enable xml)
- )
-#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
-
-# if use aspectj; then
-# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
-# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
-# else
- myconf+=( "--without-java-aspectj-weaver" )
- myconf+=( "--without-java-aspectj" )
-# fi
- if use boost; then
- myconf+=( "--with-boost=${EPREFIX}/usr" )
- else
- myconf+=( "--without-boost" )
- fi
- if use clustering; then
- myconf+=( "--with-clustering=${EPREFIX}/usr" )
- else
- myconf+=( "--without-clustering" )
- fi
- if use dwarf; then
- myconf+=( "--with-dwarf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-dwarf" )
- fi
- if use elf; then
- myconf+=( "--with-elf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-elf" )
- fi
- if use fft; then
- myconf+=( "--with-fft=${EPREFIX}/usr" )
- else
- myconf+=( "--without-fft" )
- fi
- if use java; then
- myconf+=( "--with-java-jdk=$(java-config -O)" )
- else
- myconf+=( "--without-java-jdk" )
- fi
- if use opencl; then
- myconf+=( "--with-opencl=${EPREFIX}/usr" )
- else
- myconf+=( "--without-opencl" )
- fi
-
- use sionlib && myconf+=( "--with-sionlib=${EPREFIX}/usr" )
-
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- mkdir -p "${D}/$(python_get_sitedir)/" || die
- mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
- python_optimize "${D}/$(python_get_sitedir)/pyextrae"
-
- #super-duper workaround
- mkdir -p "${ED}/usr/share/doc/${PF}" || die
- mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
- mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
-
- if use doc ; then
- mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
- mv "${T}/man" "${ED}/usr/share/" || die
- docompress -x "/usr/share/doc/${PF}/html"
- fi
- docompress -x "/usr/share/doc/${PF}/examples"
- docompress -x "/usr/share/doc/${PF}/tests"
-
- echo LDPATH="/usr/$(get_libdir)/extrae/lib" > 99extrae
- insinto /etc/env.d
- doins 99extrae
-
- find "${ED}" -name '*.a' -delete || die
- find "${ED}" -name '*.la' -delete || die
-}
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-06-15 13:27 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-06-15 13:27 UTC (permalink / raw
To: gentoo-commits
commit: 082d434af1832d7995644d85cba5e6f8b1c537df
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 15 13:26:39 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 15 13:27:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=082d434a
sys-cluster/extrae: install in /usr/lib(64)
no more collision with openmpi now
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r4.ebuild | 207 ++++++++++++++++++++++++++++++
sys-cluster/extrae/extrae-3.8.3-r5.ebuild | 207 ++++++++++++++++++++++++++++++
sys-cluster/extrae/metadata.xml | 4 +-
3 files changed, 416 insertions(+), 2 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r4.ebuild b/sys-cluster/extrae/extrae-3.8.3-r4.ebuild
new file mode 100644
index 000000000..dcbbd4dd0
--- /dev/null
+++ b/sys-cluster/extrae/extrae-3.8.3-r4.ebuild
@@ -0,0 +1,207 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+inherit autotools java-pkg-opt-2 python-single-r1
+
+DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
+HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
+SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="boost clustering doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
+#aspectj and aspectj-weaver need to both be enabled at the same time
+#current dev-java/aspectj package only provides aspectj.jar
+#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
+#aspectj-weaver needs bar/aspectjweaver.jar
+#TODO: find out who is pulling in libpfm
+#TODO: find out which FFT library is used
+#TODO: remove some useflags (boost fft elf dwarf)
+#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind aspectj
+#TODO: support llvm libunwind, llvm rt, elftoolchain
+
+CDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/xz-utils
+ dev-libs/icu
+ dev-libs/libpfm
+ dev-libs/libxml2
+ dev-libs/papi
+ sys-apps/hwloc
+ sys-libs/zlib
+ virtual/mpi
+
+ || ( sys-libs/libunwind sys-libs/llvm-libunwind )
+ || ( sys-devel/binutils:* sys-libs/binutils-libs )
+
+ boost? ( dev-libs/boost:= )
+ clustering? ( sys-cluster/clusteringsuite )
+ dwarf? ( dev-libs/libdwarf )
+ elf? ( virtual/libelf )
+ inotify? ( dev-libs/libevent )
+ opencl? ( dev-util/opencl-headers )
+ sionlib? ( sys-cluster/sionlib:= )
+"
+# aspectj? ( >=dev-java/aspectj-1.9.6 )
+DEPEND="
+ ${CDEPEND}
+ java? ( virtual/jdk:1.8 )
+"
+RDEPEND="
+ ${CDEPEND}
+ java? ( virtual/jre:1.8 )
+ virtual/opencl
+"
+BDEPEND="
+ doc? (
+ app-text/ghostscript-gpl
+ dev-python/sphinx
+ dev-tex/latexmk
+ dev-texlive/texlive-latexextra
+ )
+"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ java? ( pthread )
+"
+# cupti? ( cuda )
+# dyninst? ( boost dwarf elf )
+# online? ( synapse )
+# aspectj? ( java )
+# spectral? ( fft )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ export VARTEXFONTS="${T}/fonts"
+
+ local myconf=(
+ --datadir="${T}"
+ --datarootdir="${T}"
+ --libdir="${EPREFIX}/usr/$(get_libdir)/extrae/lib"
+
+ --disable-mic
+ --disable-online
+ --disable-peruse
+ --disable-pmapi
+ --disable-static
+
+ --enable-shared
+
+ --with-librt="${EPREFIX}/usr"
+ --with-mpi="${EPREFIX}/usr"
+ --with-papi="${EPREFIX}/usr"
+ --with-pic
+ --with-unwind="${EPREFIX}/usr"
+
+ --without-dyninst
+ --without-cupti
+ --without-memkind
+ --without-synapse
+ --without-spectral
+ --without-openshmem
+ --without-gm
+ --without-mx
+
+ $(use_enable doc)
+ $(use_enable heterogeneous)
+ $(use_enable inotify)
+ $(use_enable instrument-dynamic-memory)
+ $(use_enable instrument-io)
+ $(use_enable instrument-syscall)
+ $(use_enable merge-in-trace)
+ $(use_enable nanos)
+ $(use_enable openmp)
+ $(use_enable sampling)
+ $(use_enable parallel-merge)
+ $(use_enable pebs-sampling)
+ $(use_enable posix-clock)
+ $(use_enable pthread)
+ $(use_enable single-mpi-lib)
+ $(use_enable smpss)
+ $(use_enable xml)
+ )
+#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
+
+# if use aspectj; then
+# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
+# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
+# else
+ myconf+=( "--without-java-aspectj-weaver" )
+ myconf+=( "--without-java-aspectj" )
+# fi
+ if use boost; then
+ myconf+=( "--with-boost=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-boost" )
+ fi
+ if use clustering; then
+ myconf+=( "--with-clustering=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-clustering" )
+ fi
+ if use dwarf; then
+ myconf+=( "--with-dwarf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-dwarf" )
+ fi
+ if use elf; then
+ myconf+=( "--with-elf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-elf" )
+ fi
+ if use fft; then
+ myconf+=( "--with-fft=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-fft" )
+ fi
+ if use java; then
+ myconf+=( "--with-java-jdk=$(java-config -O)" )
+ else
+ myconf+=( "--without-java-jdk" )
+ fi
+ if use opencl; then
+ myconf+=( "--with-opencl=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-opencl" )
+ fi
+
+ use sionlib && myconf+=( "--with-sionlib=${EPREFIX}/usr" )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ mkdir -p "${D}/$(python_get_sitedir)/" || die
+ mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
+ python_optimize "${D}/$(python_get_sitedir)/pyextrae"
+
+ #super-duper workaround
+ mkdir -p "${ED}/usr/share/doc/${PF}" || die
+ mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
+ mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
+
+ if use doc ; then
+ mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
+ mv "${T}/man" "${ED}/usr/share/" || die
+ docompress -x "/usr/share/doc/${PF}/html"
+ fi
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docompress -x "/usr/share/doc/${PF}/tests"
+
+ echo LDPATH="/usr/$(get_libdir)/extrae/lib" > 99extrae
+ insinto /etc/env.d
+ doins 99extrae
+
+ find "${ED}" -name '*.a' -delete || die
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sys-cluster/extrae/extrae-3.8.3-r5.ebuild b/sys-cluster/extrae/extrae-3.8.3-r5.ebuild
new file mode 100644
index 000000000..a221e2b61
--- /dev/null
+++ b/sys-cluster/extrae/extrae-3.8.3-r5.ebuild
@@ -0,0 +1,207 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{8,9} )
+
+inherit autotools java-pkg-opt-2 python-single-r1
+
+DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
+HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
+SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="boost clustering doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
+#aspectj and aspectj-weaver need to both be enabled at the same time
+#current dev-java/aspectj package only provides aspectj.jar
+#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
+#aspectj-weaver needs bar/aspectjweaver.jar
+#TODO: find out who is pulling in libpfm
+#TODO: find out which FFT library is used
+#TODO: remove some useflags (boost fft elf dwarf)
+#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind aspectj
+#TODO: support llvm libunwind, llvm rt, elftoolchain
+
+CDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/xz-utils
+ dev-libs/icu
+ dev-libs/libpfm
+ dev-libs/libxml2
+ dev-libs/papi
+ sys-apps/hwloc
+ !<sys-cluster/openmpi-4.0.5-r1
+ !>=sys-cluster/openmpi-4.0.5-r1[libompitrace]
+ sys-libs/zlib
+ virtual/mpi
+
+ || ( sys-libs/libunwind sys-libs/llvm-libunwind )
+ || ( sys-devel/binutils:* sys-libs/binutils-libs )
+
+ boost? ( dev-libs/boost:= )
+ clustering? ( sys-cluster/clusteringsuite )
+ dwarf? ( dev-libs/libdwarf )
+ elf? ( virtual/libelf )
+ inotify? ( dev-libs/libevent )
+ opencl? ( dev-util/opencl-headers )
+ sionlib? ( sys-cluster/sionlib:= )
+"
+# aspectj? ( >=dev-java/aspectj-1.9.6 )
+DEPEND="
+ ${CDEPEND}
+ java? ( virtual/jdk:1.8 )
+"
+RDEPEND="
+ ${CDEPEND}
+ java? ( virtual/jre:1.8 )
+ virtual/opencl
+"
+BDEPEND="
+ doc? (
+ app-text/ghostscript-gpl
+ dev-python/sphinx
+ dev-tex/latexmk
+ dev-texlive/texlive-latexextra
+ )
+"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ java? ( pthread )
+"
+# cupti? ( cuda )
+# dyninst? ( boost dwarf elf )
+# online? ( synapse )
+# aspectj? ( java )
+# spectral? ( fft )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ export VARTEXFONTS="${T}/fonts"
+
+ local myconf=(
+ --datadir="${T}"
+ --datarootdir="${T}"
+
+ --disable-mic
+ --disable-online
+ --disable-peruse
+ --disable-pmapi
+ --disable-static
+
+ --enable-shared
+
+ --with-librt="${EPREFIX}/usr"
+ --with-mpi="${EPREFIX}/usr"
+ --with-papi="${EPREFIX}/usr"
+ --with-pic
+ --with-unwind="${EPREFIX}/usr"
+
+ --without-dyninst
+ --without-cupti
+ --without-memkind
+ --without-synapse
+ --without-spectral
+ --without-openshmem
+ --without-gm
+ --without-mx
+
+ $(use_enable doc)
+ $(use_enable heterogeneous)
+ $(use_enable inotify)
+ $(use_enable instrument-dynamic-memory)
+ $(use_enable instrument-io)
+ $(use_enable instrument-syscall)
+ $(use_enable merge-in-trace)
+ $(use_enable nanos)
+ $(use_enable openmp)
+ $(use_enable sampling)
+ $(use_enable parallel-merge)
+ $(use_enable pebs-sampling)
+ $(use_enable posix-clock)
+ $(use_enable pthread)
+ $(use_enable single-mpi-lib)
+ $(use_enable smpss)
+ $(use_enable xml)
+ )
+#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
+
+# if use aspectj; then
+# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
+# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
+# else
+ myconf+=( "--without-java-aspectj-weaver" )
+ myconf+=( "--without-java-aspectj" )
+# fi
+ if use boost; then
+ myconf+=( "--with-boost=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-boost" )
+ fi
+ if use clustering; then
+ myconf+=( "--with-clustering=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-clustering" )
+ fi
+ if use dwarf; then
+ myconf+=( "--with-dwarf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-dwarf" )
+ fi
+ if use elf; then
+ myconf+=( "--with-elf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-elf" )
+ fi
+ if use fft; then
+ myconf+=( "--with-fft=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-fft" )
+ fi
+ if use java; then
+ myconf+=( "--with-java-jdk=$(java-config -O)" )
+ else
+ myconf+=( "--without-java-jdk" )
+ fi
+ if use opencl; then
+ myconf+=( "--with-opencl=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-opencl" )
+ fi
+
+ use sionlib && myconf+=( "--with-sionlib=${EPREFIX}/usr" )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ #TODO: build examples
+
+ mkdir -p "${D}/$(python_get_sitedir)/" || die
+ mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
+ python_optimize "${D}/$(python_get_sitedir)/pyextrae"
+
+ #super-duper workaround
+ mkdir -p "${ED}/usr/share/doc/${PF}" || die
+ mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
+ mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
+
+ if use doc ; then
+ mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
+ mv "${T}/man" "${ED}/usr/share/" || die
+ docompress -x "/usr/share/doc/${PF}/html"
+ fi
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docompress -x "/usr/share/doc/${PF}/tests"
+
+ find "${ED}" -name '*.a' -delete || die
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index 62a7dbbc5..9564c611b 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -9,7 +9,7 @@
A dynamic instrumentation package to trace programs compiled and run with the shared
memory model (like OpenMP and pthreads), the message passing (MPI) programming model or
both programming models (different MPI processes using OpenMP or pthreads within each MPI
-process). Extrae generates trace files that can be later visualized with <pkg>sys-cluster/paraver</pkg>.
+process). Extrae generates trace files that can be later visualized with sys-cluster/paraver.
</longdescription>
<upstream>
<bugs-to>https://github.com/bsc-performance-tools/extrae/issues</bugs-to>
@@ -33,7 +33,7 @@ process). Extrae generates trace files that can be later visualized with <pkg>sy
<flag name="instrument-syscall">Enables instrumentation for system calls (other than I/O and mallocs)</flag>
<flag name="java">Enable support for tracing Java. This is necessary to create the connectors between |TRACE| and Java applications.</flag>
<flag name="merge-in-trace">Embed the merging process in the tracing library so the final tracefile can be generated automatically from the application run</flag>
- <flag name="nanos">Enable support for tracing <pkg>sys-cluster/nanos</pkg> run-time</flag>
+ <flag name="nanos">Enable support for tracing <pkg>sys-cluster/nanos6</pkg> run-time</flag>
<!--<flag name="online">Enable on-line analysis</flag>-->
<flag name="opencl">Enable support for tracing OpenCL</flag>
<flag name="openmp">Enable support for tracing OpenMP</flag>
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-27 5:55 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-27 5:55 UTC (permalink / raw
To: gentoo-commits
commit: c0ad8c4ee84b6d70578ac0a13c2e4f84e2c0ea69
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Apr 27 05:54:53 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Apr 27 05:54:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0ad8c4e
sys-cluster/extrae: relax dependencies
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 3 +--
sys-cluster/extrae/extrae-3.8.3-r2.ebuild | 3 +--
sys-cluster/extrae/extrae-3.8.3-r3.ebuild | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
index f353ab149..83906e3ff 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
@@ -29,14 +29,13 @@ CDEPEND="
app-arch/xz-utils
dev-libs/icu
dev-libs/libpfm
- sys-libs/libunwind
dev-libs/libxml2
dev-libs/papi
sys-apps/hwloc
- sys-libs/glibc
sys-libs/zlib
virtual/mpi
+ || ( sys-libs/libunwind sys-libs/llvm-libunwind )
|| ( sys-devel/binutils:* sys-libs/binutils-libs )
boost? ( dev-libs/boost:= )
diff --git a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
index fc4335eb8..da5d5f590 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
@@ -29,14 +29,13 @@ CDEPEND="
app-arch/xz-utils
dev-libs/icu
dev-libs/libpfm
- sys-libs/libunwind
dev-libs/libxml2
dev-libs/papi
sys-apps/hwloc
- sys-libs/glibc
sys-libs/zlib
virtual/mpi
+ || ( sys-libs/libunwind sys-libs/llvm-libunwind )
|| ( sys-devel/binutils:* sys-libs/binutils-libs )
boost? ( dev-libs/boost:= )
diff --git a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
index 69d96736a..43c112809 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
@@ -29,14 +29,13 @@ CDEPEND="
app-arch/xz-utils
dev-libs/icu
dev-libs/libpfm
- sys-libs/libunwind
dev-libs/libxml2
dev-libs/papi
sys-apps/hwloc
- sys-libs/glibc
sys-libs/zlib
virtual/mpi
+ || ( sys-libs/libunwind sys-libs/llvm-libunwind )
|| ( sys-devel/binutils:* sys-libs/binutils-libs )
boost? ( dev-libs/boost:= )
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-26 23:29 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-26 23:29 UTC (permalink / raw
To: gentoo-commits
commit: bc42c1e25088351276554a3abfea77035895f6b6
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 26 23:29:16 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 26 23:29:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc42c1e2
sys-cluster/extrae: finally the last dep
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 1 +
sys-cluster/extrae/extrae-3.8.3-r2.ebuild | 1 +
sys-cluster/extrae/extrae-3.8.3-r3.ebuild | 1 +
3 files changed, 3 insertions(+)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
index 4d683f4b6..f353ab149 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
@@ -57,6 +57,7 @@ RDEPEND="
"
BDEPEND="
doc? (
+ app-text/ghostscript-gpl
dev-python/sphinx
dev-tex/latexmk
dev-texlive/texlive-latexextra
diff --git a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
index bf78ee096..fc4335eb8 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
@@ -58,6 +58,7 @@ RDEPEND="
"
BDEPEND="
doc? (
+ app-text/ghostscript-gpl
dev-python/sphinx
dev-tex/latexmk
dev-texlive/texlive-latexextra
diff --git a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
index d7e945c26..69d96736a 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
@@ -59,6 +59,7 @@ RDEPEND="
"
BDEPEND="
doc? (
+ app-text/ghostscript-gpl
dev-python/sphinx
dev-tex/latexmk
dev-texlive/texlive-latexextra
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-26 22:52 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-26 22:52 UTC (permalink / raw
To: gentoo-commits
commit: b723e77f9084b88447390163e07ad29af0735d05
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 26 22:52:37 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 26 22:52:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b723e77f
sys-cluster/extrae: another missing dep
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 1 +
sys-cluster/extrae/extrae-3.8.3-r2.ebuild | 1 +
sys-cluster/extrae/extrae-3.8.3-r3.ebuild | 1 +
3 files changed, 3 insertions(+)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
index 967efc0a3..4d683f4b6 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
@@ -59,6 +59,7 @@ BDEPEND="
doc? (
dev-python/sphinx
dev-tex/latexmk
+ dev-texlive/texlive-latexextra
)
"
REQUIRED_USE="
diff --git a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
index e2e5e600e..bf78ee096 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
@@ -60,6 +60,7 @@ BDEPEND="
doc? (
dev-python/sphinx
dev-tex/latexmk
+ dev-texlive/texlive-latexextra
)
"
REQUIRED_USE="
diff --git a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
index 9a045f5b2..d7e945c26 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
@@ -61,6 +61,7 @@ BDEPEND="
doc? (
dev-python/sphinx
dev-tex/latexmk
+ dev-texlive/texlive-latexextra
)
"
REQUIRED_USE="
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-26 21:20 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-26 21:20 UTC (permalink / raw
To: gentoo-commits
commit: c64b5f792beaa78247a5d23eb0f8723b1d956509
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 26 21:20:12 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 26 21:20:12 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c64b5f79
sys-cluster/extrae: missing doc dep
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 5 ++++-
sys-cluster/extrae/extrae-3.8.3-r2.ebuild | 5 ++++-
sys-cluster/extrae/extrae-3.8.3-r3.ebuild | 5 ++++-
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
index f1781b099..967efc0a3 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
@@ -56,7 +56,10 @@ RDEPEND="
virtual/opencl
"
BDEPEND="
- doc? ( dev-python/sphinx )
+ doc? (
+ dev-python/sphinx
+ dev-tex/latexmk
+ )
"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
diff --git a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
index 08350300d..e2e5e600e 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
@@ -57,7 +57,10 @@ RDEPEND="
virtual/opencl
"
BDEPEND="
- doc? ( dev-python/sphinx )
+ doc? (
+ dev-python/sphinx
+ dev-tex/latexmk
+ )
"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
diff --git a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
index 0f9074028..9a045f5b2 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
@@ -58,7 +58,10 @@ RDEPEND="
virtual/opencl
"
BDEPEND="
- doc? ( dev-python/sphinx )
+ doc? (
+ dev-python/sphinx
+ dev-tex/latexmk
+ )
"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-26 19:57 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-26 19:57 UTC (permalink / raw
To: gentoo-commits
commit: f69ea7ee29fd789d0c6146bbc8753c6d6f280112
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 26 19:53:12 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 26 19:57:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f69ea7ee
sys-cluster/extrae: rebuild when sionlib changes
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r2.ebuild | 2 +-
.../extrae/{extrae-3.8.3-r2.ebuild => extrae-3.8.3-r3.ebuild} | 11 ++++++++---
sys-cluster/extrae/metadata.xml | 3 ++-
3 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
index 8f87b2140..08350300d 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
@@ -44,7 +44,7 @@ CDEPEND="
elf? ( virtual/libelf )
inotify? ( dev-libs/libevent )
opencl? ( dev-util/opencl-headers )
- sionlib? ( sys-cluster/sionlib )
+ sionlib? ( sys-cluster/sionlib:= )
"
# aspectj? ( >=dev-java/aspectj-1.9.6 )
DEPEND="
diff --git a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
similarity index 90%
copy from sys-cluster/extrae/extrae-3.8.3-r2.ebuild
copy to sys-cluster/extrae/extrae-3.8.3-r3.ebuild
index 8f87b2140..0f9074028 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz ->
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
+IUSE="boost clustering doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
#aspectj and aspectj-weaver need to both be enabled at the same time
#current dev-java/aspectj package only provides aspectj.jar
#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
@@ -40,11 +40,12 @@ CDEPEND="
|| ( sys-devel/binutils:* sys-libs/binutils-libs )
boost? ( dev-libs/boost:= )
+ clustering? ( sys-cluster/clusteringsuite )
dwarf? ( dev-libs/libdwarf )
elf? ( virtual/libelf )
inotify? ( dev-libs/libevent )
opencl? ( dev-util/opencl-headers )
- sionlib? ( sys-cluster/sionlib )
+ sionlib? ( sys-cluster/sionlib:= )
"
# aspectj? ( >=dev-java/aspectj-1.9.6 )
DEPEND="
@@ -99,7 +100,6 @@ src_configure() {
--without-dyninst
--without-cupti
--without-memkind
- --without-clustering
--without-synapse
--without-spectral
--without-openshmem
@@ -138,6 +138,11 @@ src_configure() {
else
myconf+=( "--without-boost" )
fi
+ if use clustering; then
+ myconf+=( "--with-clustering=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-clustering" )
+ fi
if use dwarf; then
myconf+=( "--with-dwarf=${EPREFIX}/usr" )
else
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index 9a9b339ec..62a7dbbc5 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -18,9 +18,10 @@ process). Extrae generates trace files that can be later visualized with <pkg>sy
<use>
<!--<flag name="aspectj">Enable support for tracing Java through <pkg>dev-java/aspectj</pkg> (experimental)</flag>-->
<flag name="boost">Search for boost</flag>
- <flag name="doc">Generates the documentation of this instrumentation package</flag>
+ <flag name="clustering">Enable <pkg>sys-cluster/clusteringsuite</pkg> support</flag>
<!--<flag name="cuda">Enable support for tracing CUDA calls on nVidia hardware and needs to point to the CUDA SDK installation path. This instrumentation is only valid in binaries that use the shared version of the CUDA library.</flag>-->
<!--<flag name="cupti">CUPTI is used to instrument CUDA calls</flag>-->
+ <flag name="doc">Generates the documentation of this instrumentation package</flag>
<flag name="dwarf">Build with <pkg>dev-libs/libdwarf</pkg></flag>
<!--<flag name="dyninst">Build with dyninst</flag>-->
<flag name="elf">Build with <pkg>virtual/libelf</pkg></flag>
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-25 23:29 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-25 23:29 UTC (permalink / raw
To: gentoo-commits
commit: 98b1862e41bd0dc838cdacd25c0c0fa70d0c54b5
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 25 23:28:52 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Apr 25 23:29:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98b1862e
sys-cluster/extrae: add sionlib support
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r2.ebuild | 194 ++++++++++++++++++++++++++++++
sys-cluster/extrae/metadata.xml | 1 +
2 files changed, 195 insertions(+)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r2.ebuild b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
new file mode 100644
index 000000000..8f87b2140
--- /dev/null
+++ b/sys-cluster/extrae/extrae-3.8.3-r2.ebuild
@@ -0,0 +1,194 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+inherit autotools java-pkg-opt-2 python-single-r1
+
+DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
+HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
+SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib sionlib smpss +xml"
+#aspectj and aspectj-weaver need to both be enabled at the same time
+#current dev-java/aspectj package only provides aspectj.jar
+#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
+#aspectj-weaver needs bar/aspectjweaver.jar
+#TODO: find out who is pulling in libpfm
+#TODO: find out which FFT library is used
+#TODO: remove some useflags (boost fft elf dwarf)
+#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind aspectj
+#TODO: support llvm libunwind, llvm rt, elftoolchain
+
+CDEPEND="
+ ${PYTHON_DEPS}
+ app-arch/xz-utils
+ dev-libs/icu
+ dev-libs/libpfm
+ sys-libs/libunwind
+ dev-libs/libxml2
+ dev-libs/papi
+ sys-apps/hwloc
+ sys-libs/glibc
+ sys-libs/zlib
+ virtual/mpi
+
+ || ( sys-devel/binutils:* sys-libs/binutils-libs )
+
+ boost? ( dev-libs/boost:= )
+ dwarf? ( dev-libs/libdwarf )
+ elf? ( virtual/libelf )
+ inotify? ( dev-libs/libevent )
+ opencl? ( dev-util/opencl-headers )
+ sionlib? ( sys-cluster/sionlib )
+"
+# aspectj? ( >=dev-java/aspectj-1.9.6 )
+DEPEND="
+ ${CDEPEND}
+ java? ( virtual/jdk:1.8 )
+"
+RDEPEND="
+ ${CDEPEND}
+ java? ( virtual/jre:1.8 )
+ virtual/opencl
+"
+BDEPEND="
+ doc? ( dev-python/sphinx )
+"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ java? ( pthread )
+"
+# cupti? ( cuda )
+# dyninst? ( boost dwarf elf )
+# online? ( synapse )
+# aspectj? ( java )
+# spectral? ( fft )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ export VARTEXFONTS="${T}/fonts"
+
+ local myconf=(
+ --datadir="${T}"
+ --datarootdir="${T}"
+ --libdir="${EPREFIX}/usr/$(get_libdir)/extrae/lib"
+
+ --disable-mic
+ --disable-online
+ --disable-peruse
+ --disable-pmapi
+ --disable-static
+
+ --enable-shared
+
+ --with-librt="${EPREFIX}/usr"
+ --with-mpi="${EPREFIX}/usr"
+ --with-papi="${EPREFIX}/usr"
+ --with-pic
+ --with-unwind="${EPREFIX}/usr"
+
+ --without-dyninst
+ --without-cupti
+ --without-memkind
+ --without-clustering
+ --without-synapse
+ --without-spectral
+ --without-openshmem
+ --without-gm
+ --without-mx
+
+ $(use_enable doc)
+ $(use_enable heterogeneous)
+ $(use_enable inotify)
+ $(use_enable instrument-dynamic-memory)
+ $(use_enable instrument-io)
+ $(use_enable instrument-syscall)
+ $(use_enable merge-in-trace)
+ $(use_enable nanos)
+ $(use_enable openmp)
+ $(use_enable sampling)
+ $(use_enable parallel-merge)
+ $(use_enable pebs-sampling)
+ $(use_enable posix-clock)
+ $(use_enable pthread)
+ $(use_enable single-mpi-lib)
+ $(use_enable smpss)
+ $(use_enable xml)
+ )
+#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
+
+# if use aspectj; then
+# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
+# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
+# else
+ myconf+=( "--without-java-aspectj-weaver" )
+ myconf+=( "--without-java-aspectj" )
+# fi
+ if use boost; then
+ myconf+=( "--with-boost=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-boost" )
+ fi
+ if use dwarf; then
+ myconf+=( "--with-dwarf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-dwarf" )
+ fi
+ if use elf; then
+ myconf+=( "--with-elf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-elf" )
+ fi
+ if use fft; then
+ myconf+=( "--with-fft=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-fft" )
+ fi
+ if use java; then
+ myconf+=( "--with-java-jdk=$(java-config -O)" )
+ else
+ myconf+=( "--without-java-jdk" )
+ fi
+ if use opencl; then
+ myconf+=( "--with-opencl=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-opencl" )
+ fi
+
+ use sionlib && myconf+=( "--with-sionlib=${EPREFIX}/usr" )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ mkdir -p "${D}/$(python_get_sitedir)/" || die
+ mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
+ python_optimize "${D}/$(python_get_sitedir)/pyextrae"
+
+ #super-duper workaround
+ mkdir -p "${ED}/usr/share/doc/${PF}" || die
+ mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
+ mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
+
+ if use doc ; then
+ mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
+ mv "${T}/man" "${ED}/usr/share/" || die
+ docompress -x "/usr/share/doc/${PF}/html"
+ fi
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docompress -x "/usr/share/doc/${PF}/tests"
+
+ find "${ED}" -name '*.a' -delete || die
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index 6022df6bb..9a9b339ec 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -44,6 +44,7 @@ process). Extrae generates trace files that can be later visualized with <pkg>sy
<flag name="sampling">Enable PAPI sampling support</flag>
<!--<flag name="spectral">This package enables support for on-line spectral analysis.</flag>-->
<flag name="single-mpi-lib">Produces a single instrumentation library for MPI that contains both Fortran and C wrappers. Applications that call the MPI library from both C and Fortran languages need this flag to be enabled.</flag>
+ <flag name="sionlib">Enable support for <pkg>sys-cluster/sionlib</pkg></flag>
<flag name="smpss">Enable support for tracing SMP-superscalar</flag>
<!--<flag name="synapse">This library is a front-end of the MRNet library</flag>-->
<flag name="xml">Enable support for XML configuration</flag>
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-24 18:51 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-24 18:51 UTC (permalink / raw
To: gentoo-commits
commit: 2c039b70f0366f338ad65a434f402e7d32972d77
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 24 18:45:57 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 24 18:51:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2c039b70
sys-cluster/extrae: preparation for aspectj support
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 16 +++++++++++++---
sys-cluster/extrae/metadata.xml | 1 +
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
index d0518e68f..f1781b099 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
@@ -14,7 +14,10 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib smpss +xml"
-#aspectj and aspectj-weaver needs to be enabled both at the same time but the aspectj package in gentoo doesn't have weaver
+#aspectj and aspectj-weaver need to both be enabled at the same time
+#current dev-java/aspectj package only provides aspectj.jar
+#aspectj needs foo/lib/aspectj.jar and foo/bin/ajc
+#aspectj-weaver needs bar/aspectjweaver.jar
#TODO: find out who is pulling in libpfm
#TODO: find out which FFT library is used
#TODO: remove some useflags (boost fft elf dwarf)
@@ -42,6 +45,7 @@ CDEPEND="
inotify? ( dev-libs/libevent )
opencl? ( dev-util/opencl-headers )
"
+# aspectj? ( >=dev-java/aspectj-1.9.6 )
DEPEND="
${CDEPEND}
java? ( virtual/jdk:1.8 )
@@ -56,6 +60,7 @@ BDEPEND="
"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
+ java? ( pthread )
"
# cupti? ( cuda )
# dyninst? ( boost dwarf elf )
@@ -92,8 +97,6 @@ src_configure() {
--without-cupti
--without-memkind
--without-clustering
- --without-java-aspectj
- --without-java-aspectj-weaver
--without-synapse
--without-spectral
--without-openshmem
@@ -121,6 +124,13 @@ src_configure() {
# --without-sionlib
#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
+# if use aspectj; then
+# myconf+=( "--with-java-aspectj=${EPREFIX}/usr/share/aspectj/lib" )
+# myconf+=( "--with-java-aspectj-weaver=${EPREFIX}/usr" )
+# else
+ myconf+=( "--without-java-aspectj-weaver" )
+ myconf+=( "--without-java-aspectj" )
+# fi
if use boost; then
myconf+=( "--with-boost=${EPREFIX}/usr" )
else
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index fb390763b..6022df6bb 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -16,6 +16,7 @@ process). Extrae generates trace files that can be later visualized with <pkg>sy
<remote-id type="github">bsc-performance-tools/extrae</remote-id>
</upstream>
<use>
+ <!--<flag name="aspectj">Enable support for tracing Java through <pkg>dev-java/aspectj</pkg> (experimental)</flag>-->
<flag name="boost">Search for boost</flag>
<flag name="doc">Generates the documentation of this instrumentation package</flag>
<!--<flag name="cuda">Enable support for tracing CUDA calls on nVidia hardware and needs to point to the CUDA SDK installation path. This instrumentation is only valid in binaries that use the shared version of the CUDA library.</flag>-->
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-21 1:17 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-21 1:17 UTC (permalink / raw
To: gentoo-commits
commit: 9a8335750d5b97c8963cd8799499c469605734d3
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Apr 20 23:48:40 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Apr 21 01:17:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a833575
sys-cluster/extrae: add nanos support
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 176 ++++++++++++++++++++++++++++++
sys-cluster/extrae/metadata.xml | 2 +-
2 files changed, 177 insertions(+), 1 deletion(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
new file mode 100644
index 000000000..4affa0895
--- /dev/null
+++ b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
@@ -0,0 +1,176 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+inherit autotools java-pkg-opt-2 python-single-r1
+
+DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
+HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
+SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib smpss +xml"
+#aspectj and aspectj-weaver needs to be enabled both at the same time but the aspectj package in gentoo doesn't have weaver
+#TODO: find out which FFT library is used
+#TODO: remove some useflags (boost fft elf dwarf)
+#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind sionlib aspectj
+#TODO: support llvm libunwind, llvm rt, elftoolchain
+
+CDEPEND="
+ ${PYTHON_DEPS}
+ dev-libs/icu
+ sys-libs/libunwind
+ dev-libs/libxml2
+ dev-libs/papi
+ sys-apps/hwloc
+ sys-libs/glibc
+ sys-libs/zlib
+ virtual/mpi
+
+ || ( sys-devel/binutils:* sys-libs/binutils-libs )
+
+ boost? ( dev-libs/boost:= )
+ dwarf? ( dev-libs/libdwarf )
+ elf? ( virtual/libelf )
+ nanos? ( sys-cluster/nanos6 )
+ opencl? ( dev-util/opencl-headers )
+"
+DEPEND="
+ ${CDEPEND}
+ java? ( virtual/jdk:1.8 )
+"
+RDEPEND="
+ ${CDEPEND}
+ java? ( virtual/jre:1.8 )
+ virtual/opencl
+"
+BDEPEND="
+ doc? ( dev-python/sphinx )
+"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+"
+# cupti? ( cuda )
+# dyninst? ( boost dwarf elf )
+# online? ( synapse )
+# aspectj? ( java )
+# spectral? ( fft )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --datadir="${T}"
+ --datarootdir="${T}"
+ --libdir="${EPREFIX}/usr/$(get_libdir)/extrae/lib"
+
+ --disable-mic
+ --disable-online
+ --disable-peruse
+ --disable-pmapi
+ --disable-static
+
+ --enable-shared
+
+ --with-librt="${EPREFIX}/usr"
+ --with-mpi="${EPREFIX}/usr"
+ --with-papi="${EPREFIX}/usr"
+ --with-pic
+ --with-unwind="${EPREFIX}/usr"
+
+ --without-dyninst
+ --without-cupti
+ --without-memkind
+ --without-clustering
+ --without-java-aspectj
+ --without-java-aspectj-weaver
+ --without-synapse
+ --without-spectral
+ --without-openshmem
+ --without-gm
+ --without-mx
+
+ $(use_enable doc)
+ $(use_enable heterogeneous)
+ $(use_enable inotify)
+ $(use_enable instrument-dynamic-memory)
+ $(use_enable instrument-io)
+ $(use_enable instrument-syscall)
+ $(use_enable merge-in-trace)
+ $(use_enable nanos)
+ $(use_enable openmp)
+ $(use_enable sampling)
+ $(use_enable parallel-merge)
+ $(use_enable pebs-sampling)
+ $(use_enable posix-clock)
+ $(use_enable pthread)
+ $(use_enable single-mpi-lib)
+ $(use_enable smpss)
+ $(use_enable xml)
+ )
+# --without-sionlib
+#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
+
+ if use boost; then
+ myconf+=( "--with-boost=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-boost" )
+ fi
+ if use dwarf; then
+ myconf+=( "--with-dwarf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-dwarf" )
+ fi
+ if use elf; then
+ myconf+=( "--with-elf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-elf" )
+ fi
+ if use fft; then
+ myconf+=( "--with-fft=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-fft" )
+ fi
+ if use java; then
+ myconf+=( "--with-java-jdk=$(java-config -O)" )
+ else
+ myconf+=( "--without-java-jdk" )
+ fi
+ if use opencl; then
+ myconf+=( "--with-opencl=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-opencl" )
+ fi
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ mkdir -p "${D}/$(python_get_sitedir)/" || die
+ mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
+ python_optimize "${D}/$(python_get_sitedir)/pyextrae"
+
+ #super-duper workaround
+ mkdir -p "${ED}/usr/share/doc/${PF}" || die
+ mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
+ mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
+
+ if use doc ; then
+ mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
+ mv "${T}/man" "${ED}/usr/share/" || die
+ docompress -x "/usr/share/doc/${PF}/html"
+ fi
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docompress -x "/usr/share/doc/${PF}/tests"
+
+ find "${ED}" -name '*.a' -delete || die
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
index 63ba6df57..fb390763b 100644
--- a/sys-cluster/extrae/metadata.xml
+++ b/sys-cluster/extrae/metadata.xml
@@ -31,7 +31,7 @@ process). Extrae generates trace files that can be later visualized with <pkg>sy
<flag name="instrument-syscall">Enables instrumentation for system calls (other than I/O and mallocs)</flag>
<flag name="java">Enable support for tracing Java. This is necessary to create the connectors between |TRACE| and Java applications.</flag>
<flag name="merge-in-trace">Embed the merging process in the tracing library so the final tracefile can be generated automatically from the application run</flag>
- <!--<flag name="nanos">Enable support for tracing <pkg>sys-cluster/nanos</pkg> run-time</flag>-->
+ <flag name="nanos">Enable support for tracing <pkg>sys-cluster/nanos</pkg> run-time</flag>
<!--<flag name="online">Enable on-line analysis</flag>-->
<flag name="opencl">Enable support for tracing OpenCL</flag>
<flag name="openmp">Enable support for tracing OpenMP</flag>
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-21 1:17 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-21 1:17 UTC (permalink / raw
To: gentoo-commits
commit: aeadb10ff9c2c671b48c60f33b2f4c73d95aa5ba
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr 21 00:17:10 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Apr 21 01:17:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aeadb10f
sys-cluster/extrae: fix dependencies
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 5 +-
sys-cluster/extrae/extrae-3.8.3.ebuild | 175 ------------------------------
2 files changed, 4 insertions(+), 176 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
index 4affa0895..d0518e68f 100644
--- a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
KEYWORDS="~amd64"
IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib smpss +xml"
#aspectj and aspectj-weaver needs to be enabled both at the same time but the aspectj package in gentoo doesn't have weaver
+#TODO: find out who is pulling in libpfm
#TODO: find out which FFT library is used
#TODO: remove some useflags (boost fft elf dwarf)
#TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind sionlib aspectj
@@ -22,7 +23,9 @@ IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +
CDEPEND="
${PYTHON_DEPS}
+ app-arch/xz-utils
dev-libs/icu
+ dev-libs/libpfm
sys-libs/libunwind
dev-libs/libxml2
dev-libs/papi
@@ -36,7 +39,7 @@ CDEPEND="
boost? ( dev-libs/boost:= )
dwarf? ( dev-libs/libdwarf )
elf? ( virtual/libelf )
- nanos? ( sys-cluster/nanos6 )
+ inotify? ( dev-libs/libevent )
opencl? ( dev-util/opencl-headers )
"
DEPEND="
diff --git a/sys-cluster/extrae/extrae-3.8.3.ebuild b/sys-cluster/extrae/extrae-3.8.3.ebuild
deleted file mode 100644
index 59b3c2edb..000000000
--- a/sys-cluster/extrae/extrae-3.8.3.ebuild
+++ /dev/null
@@ -1,175 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
-inherit autotools java-pkg-opt-2 python-single-r1
-
-DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes"
-HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
-SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64"
-#TODO: correctly install python stuff
-IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib smpss +xml"
-#aspectj and aspectj-weaver needs to be enabled both at the same time but the aspectj package in gentoo doesn't have weaver
-#TODO: find out which FFT library is used
-#TODO: remove some useflags (boost fft elf dwarf)
-#TODO: nanos pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind sionlib aspectj
-#TODO: support llvm libunwind, llvm rt, elftoolchain
-
-CDEPEND="
- ${PYTHON_DEPS}
- dev-libs/icu
- sys-libs/libunwind
- dev-libs/libxml2
- dev-libs/papi
- sys-apps/hwloc
- sys-libs/glibc
- sys-libs/zlib
- virtual/mpi
- || ( sys-devel/binutils:* sys-libs/binutils-libs )
- boost? ( dev-libs/boost:= )
- dwarf? ( dev-libs/libdwarf )
- elf? ( virtual/libelf )
- opencl? ( dev-util/opencl-headers )
-"
-DEPEND="
- ${CDEPEND}
- java? ( virtual/jdk:1.8 )
-"
-RDEPEND="
- ${CDEPEND}
- java? ( virtual/jre:1.8 )
- virtual/opencl
-"
-BDEPEND="
- doc? ( dev-python/sphinx )
-"
-REQUIRED_USE="
- ${PYTHON_REQUIRED_USE}
-"
-# cupti? ( cuda )
-# dyninst? ( boost dwarf elf )
-# online? ( synapse )
-# aspectj? ( java )
-# spectral? ( fft )
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- local myconf=(
- --datadir="${T}"
- --datarootdir="${T}"
- --libdir="${EPREFIX}/usr/$(get_libdir)/extrae"
-
- --disable-mic
- --disable-nanos
- --disable-online
- --disable-peruse
- --disable-pmapi
- --disable-static
-
- --enable-shared
-
- --with-librt="${EPREFIX}/usr"
- --with-mpi="${EPREFIX}/usr"
- --with-papi="${EPREFIX}/usr"
- --with-pic
- --with-unwind="${EPREFIX}/usr"
-
- --without-dyninst
- --without-cupti
- --without-memkind
- --without-clustering
- --without-java-aspectj
- --without-java-aspectj-weaver
- --without-synapse
- --without-spectral
- --without-openshmem
- --without-gm
- --without-mx
-
- $(use_enable doc)
- $(use_enable heterogeneous)
- $(use_enable inotify)
- $(use_enable instrument-dynamic-memory)
- $(use_enable instrument-io)
- $(use_enable instrument-syscall)
- $(use_enable merge-in-trace)
- $(use_enable openmp)
- $(use_enable sampling)
- $(use_enable parallel-merge)
- $(use_enable pebs-sampling)
- $(use_enable posix-clock)
- $(use_enable pthread)
- $(use_enable single-mpi-lib)
- $(use_enable smpss)
- $(use_enable xml)
- )
-# $(use_enable nanos)
-# --without-sionlib
-#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
-
- if use boost; then
- myconf+=( "--with-boost=${EPREFIX}/usr" )
- else
- myconf+=( "--without-boost" )
- fi
- if use dwarf; then
- myconf+=( "--with-dwarf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-dwarf" )
- fi
- if use elf; then
- myconf+=( "--with-elf=${EPREFIX}/usr" )
- else
- myconf+=( "--without-elf" )
- fi
- if use fft; then
- myconf+=( "--with-fft=${EPREFIX}/usr" )
- else
- myconf+=( "--without-fft" )
- fi
- if use java; then
- myconf+=( "--with-java-jdk=$(java-config -O)" )
- else
- myconf+=( "--without-java-jdk" )
- fi
- if use opencl; then
- myconf+=( "--with-opencl=${EPREFIX}/usr" )
- else
- myconf+=( "--without-opencl" )
- fi
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- mkdir -p "${D}/$(python_get_sitedir)/" || die
- mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
- python_optimize "${D}/$(python_get_sitedir)/pyextrae"
-
- #super-duper workaround
- mkdir -p "${ED}/usr/share/doc/${PF}" || die
- mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
- mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
-
- if use doc ; then
- mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
- mv "${T}/man" "${ED}/usr/share/" || die
- docompress -x "/usr/share/doc/${PF}/html"
- fi
- docompress -x "/usr/share/doc/${PF}/examples"
- docompress -x "/usr/share/doc/${PF}/tests"
-
- find "${ED}" -name '*.a' -delete || die
- find "${ED}" -name '*.la' -delete || die
-}
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/extrae/
@ 2021-04-19 8:04 Andrew Ammerlaan
2021-04-19 7:50 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
0 siblings, 1 reply; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-04-19 8:04 UTC (permalink / raw
To: gentoo-commits
commit: 57f584007bef62919f4544785ae1189c7e95c736
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Apr 19 07:49:56 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Apr 19 07:49:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57f58400
sys-cluster/extrae: remove DoublePrefixInPath
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
sys-cluster/extrae/extrae-3.8.3.ebuild | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/extrae/extrae-3.8.3.ebuild b/sys-cluster/extrae/extrae-3.8.3.ebuild
index 7d5340273..2b38c9b2b 100644
--- a/sys-cluster/extrae/extrae-3.8.3.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3.ebuild
@@ -153,9 +153,9 @@ src_configure() {
src_install() {
default
- mkdir -p "${ED}/$(python_get_sitedir)/" || die
- mv "${ED}/usr/libexec/pyextrae" "${ED}/$(python_get_sitedir)/" || die
- python_optimize "${ED}/$(python_get_sitedir)/pyextrae"
+ mkdir -p "${D}/$(python_get_sitedir)/" || die
+ mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
+ python_optimize "${D}/$(python_get_sitedir)/pyextrae"
#super-duper workaround
mkdir -p "${ED}/usr/share/doc/${PF}" || die
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
2021-04-19 8:04 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-04-19 7:50 ` Andrew Ammerlaan
0 siblings, 0 replies; 25+ messages in thread
From: Andrew Ammerlaan @ 2021-04-19 7:50 UTC (permalink / raw
To: gentoo-commits
commit: 57f584007bef62919f4544785ae1189c7e95c736
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Apr 19 07:49:56 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Apr 19 07:49:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=57f58400
sys-cluster/extrae: remove DoublePrefixInPath
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
| 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--git a/sys-cluster/extrae/extrae-3.8.3.ebuild b/sys-cluster/extrae/extrae-3.8.3.ebuild
index 7d5340273..2b38c9b2b 100644
--- a/sys-cluster/extrae/extrae-3.8.3.ebuild
+++ b/sys-cluster/extrae/extrae-3.8.3.ebuild
@@ -153,9 +153,9 @@ src_configure() {
src_install() {
default
- mkdir -p "${ED}/$(python_get_sitedir)/" || die
- mv "${ED}/usr/libexec/pyextrae" "${ED}/$(python_get_sitedir)/" || die
- python_optimize "${ED}/$(python_get_sitedir)/pyextrae"
+ mkdir -p "${D}/$(python_get_sitedir)/" || die
+ mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die
+ python_optimize "${D}/$(python_get_sitedir)/pyextrae"
#super-duper workaround
mkdir -p "${ED}/usr/share/doc/${PF}" || die
^ permalink raw reply related [flat|nested] 25+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/
@ 2021-04-19 1:12 Alessandro Barbieri
0 siblings, 0 replies; 25+ messages in thread
From: Alessandro Barbieri @ 2021-04-19 1:12 UTC (permalink / raw
To: gentoo-commits
commit: d7cf0960683b3e248fb094a5e1e4c8b5d2518777
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 19 01:11:30 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr 19 01:11:30 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d7cf0960
sys-cluster/extrae: new package
very WIP
TODO: fix rpath
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/extrae/Manifest | 1 +
sys-cluster/extrae/extrae-3.8.3.ebuild | 175 +++++++++++++++++++++++++++++++++
sys-cluster/extrae/metadata.xml | 50 ++++++++++
3 files changed, 226 insertions(+)
diff --git a/sys-cluster/extrae/Manifest b/sys-cluster/extrae/Manifest
new file mode 100644
index 000000000..17608e9bc
--- /dev/null
+++ b/sys-cluster/extrae/Manifest
@@ -0,0 +1 @@
+DIST extrae-3.8.3.tar.gz 1056317 BLAKE2B 9efe7011ba9474de66deb8c679f10eff37cc3d5699b42cb1b076ed43b539bbc15ecc613b3f17b03df9e93a219ebcafd3e1d56229db9c0d4e7a0a56d5c3edd591 SHA512 3fba66447790e0a1c71c0e5a61f67ad966cdd4e19742799ecc50124a916ef599fff747027ccc803584f0ab2d1d76c29ded7072a70dd0aed5a3be7ff6ecbb8709
diff --git a/sys-cluster/extrae/extrae-3.8.3.ebuild b/sys-cluster/extrae/extrae-3.8.3.ebuild
new file mode 100644
index 000000000..7d5340273
--- /dev/null
+++ b/sys-cluster/extrae/extrae-3.8.3.ebuild
@@ -0,0 +1,175 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7,8,9} )
+inherit autotools java-pkg-opt-2 python-single-r1
+
+DESCRIPTION="Instrumentation framework to generate execution traces of the most used parallel runtimes"
+HOMEPAGE="https://github.com/bsc-performance-tools/extrae"
+SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+#TODO: correctly install python stuff
+IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib smpss +xml"
+#aspectj and aspectj-weaver needs to be enabled both at the same time but the aspectj package in gentoo doesn't have weaver
+#TODO: find out which FFT library is used
+#TODO: remove some useflags (boost fft elf dwarf)
+#TODO: nanos pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind sionlib aspectj
+#TODO: support llvm libunwind, llvm rt, elftoolchain
+
+CDEPEND="
+ ${PYTHON_DEPS}
+ dev-libs/icu
+ sys-libs/libunwind
+ dev-libs/libxml2
+ dev-libs/papi
+ sys-apps/hwloc
+ sys-libs/glibc
+ sys-libs/zlib
+ virtual/mpi
+ || ( sys-devel/binutils:* sys-libs/binutils-libs )
+ boost? ( dev-libs/boost:= )
+ dwarf? ( dev-libs/libdwarf )
+ elf? ( virtual/libelf )
+ opencl? ( dev-util/opencl-headers )
+"
+DEPEND="
+ ${CDEPEND}
+ java? ( virtual/jdk:1.8 )
+"
+RDEPEND="
+ ${CDEPEND}
+ java? ( virtual/jre:1.8 )
+ virtual/opencl
+"
+BDEPEND="
+ doc? ( dev-python/sphinx )
+"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+"
+# cupti? ( cuda )
+# dyninst? ( boost dwarf elf )
+# online? ( synapse )
+# aspectj? ( java )
+# spectral? ( fft )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --datadir="${T}"
+ --datarootdir="${T}"
+ --libdir="${EPREFIX}/usr/$(get_libdir)/extrae"
+
+ --disable-mic
+ --disable-nanos
+ --disable-online
+ --disable-peruse
+ --disable-pmapi
+ --disable-static
+
+ --enable-shared
+
+ --with-librt="${EPREFIX}/usr"
+ --with-mpi="${EPREFIX}/usr"
+ --with-papi="${EPREFIX}/usr"
+ --with-pic
+ --with-unwind="${EPREFIX}/usr"
+
+ --without-dyninst
+ --without-cupti
+ --without-memkind
+ --without-clustering
+ --without-java-aspectj
+ --without-java-aspectj-weaver
+ --without-synapse
+ --without-spectral
+ --without-openshmem
+ --without-gm
+ --without-mx
+
+ $(use_enable doc)
+ $(use_enable heterogeneous)
+ $(use_enable inotify)
+ $(use_enable instrument-dynamic-memory)
+ $(use_enable instrument-io)
+ $(use_enable instrument-syscall)
+ $(use_enable merge-in-trace)
+ $(use_enable openmp)
+ $(use_enable sampling)
+ $(use_enable parallel-merge)
+ $(use_enable pebs-sampling)
+ $(use_enable posix-clock)
+ $(use_enable pthread)
+ $(use_enable single-mpi-lib)
+ $(use_enable smpss)
+ $(use_enable xml)
+ )
+# $(use_enable nanos)
+# --without-sionlib
+#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi))
+
+ if use boost; then
+ myconf+=( "--with-boost=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-boost" )
+ fi
+ if use dwarf; then
+ myconf+=( "--with-dwarf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-dwarf" )
+ fi
+ if use elf; then
+ myconf+=( "--with-elf=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-elf" )
+ fi
+ if use fft; then
+ myconf+=( "--with-fft=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-fft" )
+ fi
+ if use java; then
+ myconf+=( "--with-java-jdk=$(java-config -O)" )
+ else
+ myconf+=( "--without-java-jdk" )
+ fi
+ if use opencl; then
+ myconf+=( "--with-opencl=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-opencl" )
+ fi
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ mkdir -p "${ED}/$(python_get_sitedir)/" || die
+ mv "${ED}/usr/libexec/pyextrae" "${ED}/$(python_get_sitedir)/" || die
+ python_optimize "${ED}/$(python_get_sitedir)/pyextrae"
+
+ #super-duper workaround
+ mkdir -p "${ED}/usr/share/doc/${PF}" || die
+ mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die
+ mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die
+
+ if use doc ; then
+ mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die
+ mv "${T}/man" "${ED}/usr/share/" || die
+ docompress -x "/usr/share/doc/${PF}/html"
+ fi
+ docompress -x "/usr/share/doc/${PF}/examples"
+ docompress -x "/usr/share/doc/${PF}/tests"
+
+ find "${ED}" -name '*.a' -delete || die
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/sys-cluster/extrae/metadata.xml b/sys-cluster/extrae/metadata.xml
new file mode 100644
index 000000000..63ba6df57
--- /dev/null
+++ b/sys-cluster/extrae/metadata.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <longdescription>
+A dynamic instrumentation package to trace programs compiled and run with the shared
+memory model (like OpenMP and pthreads), the message passing (MPI) programming model or
+both programming models (different MPI processes using OpenMP or pthreads within each MPI
+process). Extrae generates trace files that can be later visualized with <pkg>sys-cluster/paraver</pkg>.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/bsc-performance-tools/extrae/issues</bugs-to>
+ <remote-id type="github">bsc-performance-tools/extrae</remote-id>
+ </upstream>
+ <use>
+ <flag name="boost">Search for boost</flag>
+ <flag name="doc">Generates the documentation of this instrumentation package</flag>
+ <!--<flag name="cuda">Enable support for tracing CUDA calls on nVidia hardware and needs to point to the CUDA SDK installation path. This instrumentation is only valid in binaries that use the shared version of the CUDA library.</flag>-->
+ <!--<flag name="cupti">CUPTI is used to instrument CUDA calls</flag>-->
+ <flag name="dwarf">Build with <pkg>dev-libs/libdwarf</pkg></flag>
+ <!--<flag name="dyninst">Build with dyninst</flag>-->
+ <flag name="elf">Build with <pkg>virtual/libelf</pkg></flag>
+ <flag name="fft">Search for FFT package (which?)</flag>
+ <flag name="heterogeneous">Enable support for heterogeneous tracing</flag>
+ <flag name="inotify">Enable inotify support</flag>
+ <flag name="instrument-dynamic-memory">Enables instrumentation for dynamic memory (malloc, free, realloc) calls</flag>
+ <flag name="instrument-io">Enables instrumentation for basic I/O (read, write) calls</flag>
+ <flag name="instrument-syscall">Enables instrumentation for system calls (other than I/O and mallocs)</flag>
+ <flag name="java">Enable support for tracing Java. This is necessary to create the connectors between |TRACE| and Java applications.</flag>
+ <flag name="merge-in-trace">Embed the merging process in the tracing library so the final tracefile can be generated automatically from the application run</flag>
+ <!--<flag name="nanos">Enable support for tracing <pkg>sys-cluster/nanos</pkg> run-time</flag>-->
+ <!--<flag name="online">Enable on-line analysis</flag>-->
+ <flag name="opencl">Enable support for tracing OpenCL</flag>
+ <flag name="openmp">Enable support for tracing OpenMP</flag>
+ <flag name="parallel-merge">Build the parallel mergers (mpimpi2prv/mpimpi2dim) based on MPI</flag>
+ <flag name="pebs-sampling">enable PEBS sampling</flag>
+ <!--<flag name="pmapi">Enable PMAPI library to gather CPU performance counters</flag>-->
+ <flag name="posix-clock">Use POSIX clock (clock_gettime call) instead of low level timing routines. Use this option if the system where you install the instrumentation package modifies the frequency of its processors at runtime.</flag>
+ <flag name="pthread">Enable support for tracing pthread library</flag>
+ <flag name="sampling">Enable PAPI sampling support</flag>
+ <!--<flag name="spectral">This package enables support for on-line spectral analysis.</flag>-->
+ <flag name="single-mpi-lib">Produces a single instrumentation library for MPI that contains both Fortran and C wrappers. Applications that call the MPI library from both C and Fortran languages need this flag to be enabled.</flag>
+ <flag name="smpss">Enable support for tracing SMP-superscalar</flag>
+ <!--<flag name="synapse">This library is a front-end of the MRNet library</flag>-->
+ <flag name="xml">Enable support for XML configuration</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 25+ messages in thread
end of thread, other threads:[~2022-06-07 12:01 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-19 8:04 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/extrae/ Andrew Ammerlaan
2021-04-19 7:51 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2022-06-07 12:01 Alessandro Barbieri
2022-06-02 15:57 Alessandro Barbieri
2022-06-02 15:57 Alessandro Barbieri
2021-08-20 1:32 Alessandro Barbieri
2021-08-06 0:16 Alessandro Barbieri
2021-07-28 0:21 Alessandro Barbieri
2021-07-26 23:28 Alessandro Barbieri
2021-07-26 16:06 Alessandro Barbieri
2021-07-11 0:29 Alessandro Barbieri
2021-07-10 14:32 Alessandro Barbieri
2021-06-15 13:27 Alessandro Barbieri
2021-06-15 13:27 Alessandro Barbieri
2021-04-27 5:55 Alessandro Barbieri
2021-04-26 23:29 Alessandro Barbieri
2021-04-26 22:52 Alessandro Barbieri
2021-04-26 21:20 Alessandro Barbieri
2021-04-26 19:57 Alessandro Barbieri
2021-04-25 23:29 Alessandro Barbieri
2021-04-24 18:51 Alessandro Barbieri
2021-04-21 1:17 Alessandro Barbieri
2021-04-21 1:17 Alessandro Barbieri
2021-04-19 8:04 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-19 7:50 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-04-19 1:12 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox