sys-cluster/nanos6: extrae support

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-04-21 03:16:35 +02:00
parent aeadb10ff9
commit 52d40bd664
2 changed files with 12 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
<flag name="dlb">enable dynamic management and sharing of computing resources</flag>
<flag name="embed-code-changes">embed into the runtime any code changes present in the source</flag>
<flag name="execution-workflow">Enable execution using the Execution Workflow</flag>
<!--<flag name="extrae">to generate execution traces for offline performance analysis with paraver</flag>-->
<flag name="extrae">to generate execution traces for offline performance analysis with paraver</flag>
<!--<flag name="jemalloc">use jemalloc as the default memory allocator, providing better performance than the default glibc implementation</flag>-->
<!--<flag name="k1om">specify the installation prefix of the k1om GNU compilers</flag>-->
<!--<flag name="memkind">specify the installation prefix of memkind</flag>-->

View File

@@ -12,10 +12,10 @@ SRC_URI="https://github.com/bsc-pm/nanos6/archive/refs/tags/version-${PV}.tar.gz
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="cluster debug dlb doc embed-code-changes execution-workflow git papi unwind"
IUSE="cluster debug dlb embed-code-changes execution-workflow extrae git papi unwind"
#chrono-arch build fail
#jemalloc require custom stuff
#TODO: cuda pqos mercurium memkind k1om extrae
#TODO: cuda pqos mercurium memkind k1om
RDEPEND="
>=dev-libs/boost-1.59:=
sys-apps/hwloc
@@ -25,12 +25,12 @@ RDEPEND="
cluster? ( virtual/mpi )
dlb? ( sys-cluster/dlb )
embed-code-changes? ( dev-vcs/git )
extrae? ( sys-cluster/extrae[nanos] )
papi? ( dev-libs/papi )
unwind? ( sys-libs/libunwind )
"
#extrae? ( sys-cluster/extrae[nanos] )
DEPEND="${RDEPEND}"
BDEPEND="doc? ( app-doc/doxygen )"
BDEPEND=""
REQUIRED_USE="cluster? ( execution-workflow )"
S="${WORKDIR}/${PN}-version-${PV}"
@@ -57,12 +57,6 @@ src_configure() {
--without-pgi
$(use_enable cluster)
$(use_enable doc doxygen-doc)
$(use_enable doc doxygen-dot)
$(use_enable doc doxygen-html)
$(use_enable doc doxygen-man)
$(use_enable doc doxygen-pdf)
$(use_enable doc doxygen-ps)
$(use_enable debug extra-debug)
$(use_enable embed-code-changes)
$(use_enable execution-workflow)
@@ -78,11 +72,11 @@ src_configure() {
else
myconf+=( "--without-git" )
fi
# if use extrae; then
# myconf+=( "--with-extrae=${EPREFIX}/usr/$(get_libdir)/extrae" )
# else
if use extrae; then
myconf+=( "--with-extrae=${EPREFIX}/usr/$(get_libdir)/extrae" )
else
myconf+=( "--without-extrae" )
# fi
fi
if use papi; then
myconf+=( "--with-papi=${EPREFIX}/usr" )
else
@@ -103,6 +97,9 @@ src_configure() {
src_install() {
default
dodoc CHANGELOG.md
rm -r docs/Doxyfile* || die
dodoc -r docs/.
docompress -x "/usr/share/doc/${PF}/paraver-cfg"
docompress -x "/usr/share/doc/${PF}/scripts"