From be6ba927d05edc1494cc9afa23c4bbbda070ba0e Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Tue, 7 Sep 2021 09:26:01 +0200 Subject: [PATCH] sys-cluster/nanos6: babeltrace use, no test with mercurium Signed-off-by: Alessandro Barbieri --- ...os6-2.6-r3.ebuild => nanos6-2.6-r4.ebuild} | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) rename sys-cluster/nanos6/{nanos6-2.6-r3.ebuild => nanos6-2.6-r4.ebuild} (85%) diff --git a/sys-cluster/nanos6/nanos6-2.6-r3.ebuild b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild similarity index 85% rename from sys-cluster/nanos6/nanos6-2.6-r3.ebuild rename to sys-cluster/nanos6/nanos6-2.6-r4.ebuild index 428c57be5b..dca1a609a7 100644 --- a/sys-cluster/nanos6/nanos6-2.6-r3.ebuild +++ b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild @@ -13,9 +13,9 @@ S="${WORKDIR}/${PN}-version-${PV}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="debug dlb execution-workflow extrae memkind mercurium papi pqos test unwind" -#jemalloc require custom stuff -#TODO: cuda babeltrace2 +IUSE="babeltrace debug dlb execution-workflow extrae memkind mercurium papi pqos test unwind" +#jemalloc require custom jemalloc +#TODO: cuda #TODO: llvm-libunwind RDEPEND=" @@ -24,6 +24,7 @@ RDEPEND=" sys-process/numactl virtual/libelf + babeltrace? ( dev-util/babeltrace2 ) dlb? ( sys-cluster/dlb ) extrae? ( sys-cluster/extrae[nanos] ) memkind? ( dev-libs/memkind ) @@ -32,13 +33,12 @@ RDEPEND=" pqos? ( sys-apps/intel-cmt-cat ) unwind? ( sys-libs/libunwind ) " -# jemalloc? ( dev-libs/jemalloc ) DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/${P}-include-string.patch" ) -# https://github.com/bsc-pm/nanos6/issues/3 -RESTRICT="test" -#RESTRICT="!test? ( test )" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( !mercurium )" # https://github.com/bsc-pm/nanos6/issues/3 + src_prepare() { default @@ -55,7 +55,6 @@ src_configure() { --with-boost="${EPREFIX}/usr" --with-libnuma="${EPREFIX}/usr" - --with-pic --without-git --without-k1om @@ -64,15 +63,16 @@ src_configure() { $(use_enable debug extra-debug) ) + use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" ) use memkind && myconf+=( "--with-memkind=${EPREFIX}/usr" ) use pqos && myconf+=( "--with-pqos=${EPREFIX}/usr" ) -# if use babeltrace; then -# myconf+=( "--with-babeltrace2=${EPREFIX}/usr" ) -# else -# myconf+=( "--without-babeltrace2" ) -# fi + if use babeltrace; then + myconf+=( "--with-babeltrace2=${EPREFIX}/usr" ) + else + myconf+=( "--without-babeltrace2" ) + fi if use extrae; then myconf+=( "--with-extrae=${EPREFIX}/usr" ) else