sys-cluster/extrae: add openshmem useflag

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-08-06 02:13:32 +02:00
parent 39bc696e1b
commit 80ce048866
2 changed files with 11 additions and 4 deletions

View File

@@ -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" )

View File

@@ -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>-->