diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml index c937f87ccd..8fbd76dea2 100644 --- a/sys-cluster/nanos6/metadata.xml +++ b/sys-cluster/nanos6/metadata.xml @@ -10,16 +10,14 @@ bsc-pm/nanos6 - Enable OmpSs@Cluster support. This requires an MPI version that supports MPI_THREAD_MULTIPLE to be present in your environment enable extra assertions and checks in debug - may cause significant slowdown enable dynamic management and sharing of computing resources Enable execution using the Execution Workflow to generate execution traces for offline performance analysis with paraver - Add support for dev-libs/memkind in memory allocator - + Enable sys-cluster/mcxx support enable dev-libs/papi support to generate sample-based profiling diff --git a/sys-cluster/nanos6/nanos6-2.6.ebuild b/sys-cluster/nanos6/nanos6-2.6-r1.ebuild similarity index 83% rename from sys-cluster/nanos6/nanos6-2.6.ebuild rename to sys-cluster/nanos6/nanos6-2.6-r1.ebuild index 546528e60d..ca6d8f9857 100644 --- a/sys-cluster/nanos6/nanos6-2.6.ebuild +++ b/sys-cluster/nanos6/nanos6-2.6-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools @@ -9,13 +9,13 @@ DESCRIPTION="runtime that implements the OmpSs-2 parallel programming model" HOMEPAGE="https://github.com/bsc-pm/nanos6" SRC_URI="https://github.com/bsc-pm/nanos6/archive/refs/tags/version-${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-version-${PV}" + LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="cluster debug dlb execution-workflow extrae memkind papi unwind" -#chrono-arch build fail +IUSE="debug dlb execution-workflow extrae memkind mercurium papi unwind" #jemalloc require custom stuff -#TODO: cuda pqos mercurium k1om babeltrace2 +#TODO: cuda pqos babeltrace2 #TODO: llvm-libunwind RDEPEND=" @@ -24,15 +24,15 @@ RDEPEND=" sys-process/numactl virtual/libelf - cluster? ( virtual/mpi ) dlb? ( sys-cluster/dlb ) extrae? ( sys-cluster/extrae[nanos] ) memkind? ( dev-libs/memkind ) + mercurium? ( sys-cluster/mcxx[ompss2] ) papi? ( dev-libs/papi ) unwind? ( sys-libs/libunwind ) " +# jemalloc? ( dev-libs/jemalloc ) DEPEND="${RDEPEND}" -REQUIRED_USE="cluster? ( execution-workflow )" src_prepare() { default @@ -54,12 +54,9 @@ src_configure() { --without-git --without-k1om --without-nanos6-clang - --without-nanos6-mercurium --without-pgi - $(use_enable cluster) $(use_enable debug extra-debug) - $(use_enable execution-workflow) ) use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" ) use memkind && myconf+=( "--with-memkind=${EPREFIX}/usr" ) @@ -74,6 +71,16 @@ src_configure() { else myconf+=( "--without-extrae" ) fi +# if use jemalloc; then +# myconf+=( "--with-jemalloc=${EPREFIX}/usr" ) +# else +# myconf+=( "--without-jemalloc" ) +# fi + if use mercurium; then + myconf+=( "--with-nanos6-mercurium=${EPREFIX}/usr" ) + else + myconf+=( "--without-nanos6-mercurium" ) + fi if use papi; then myconf+=( "--with-papi=${EPREFIX}/usr" ) else