[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: 5b425cb7aa06c627b6665e103df7109c217cbecb Author: Alessandro Barbieri gmail com> AuthorDate: Thu Sep 9 11:34:10 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Sep 9 12:25:42 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b425cb7 sys-cluster/nanos6: hack for bad configure Closes: https://bugs.gentoo.org/812200 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/nanos6-2.6-r4.ebuild | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild index 0def7bb68..c136752b9 100644 --- a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild +++ b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild @@ -63,15 +63,12 @@ src_configure() { $(use_enable debug extra-debug) ) + # https://github.com/bsc-pm/nanos6/issues/6 + use ctf2prv && myconf+=( "--with-babeltrace2=${EPREFIX}/usr" ) use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" ) use memkind && myconf+=( "--with-memkind=${EPREFIX}/usr" ) use pqos && myconf+=( "--with-pqos=${EPREFIX}/usr" ) - if use ctf2prv; then - myconf+=( "--with-babeltrace2=${EPREFIX}/usr" ) - else - myconf+=( "--without-babeltrace2" ) - fi if use extrae; then myconf+=( "--with-extrae=${EPREFIX}/usr" ) else @@ -100,7 +97,6 @@ src_configure() { econf "${myconf[@]}" } -# --without-cuda src_install() { default
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: be6ba927d05edc1494cc9afa23c4bbbda070ba0e Author: Alessandro Barbieri gmail com> AuthorDate: Tue Sep 7 07:26:01 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Sep 7 10:47:49 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=be6ba927 sys-cluster/nanos6: babeltrace use, no test with mercurium Signed-off-by: Alessandro Barbieri gmail.com> .../{nanos6-2.6-r3.ebuild => nanos6-2.6-r4.ebuild} | 26 +++--- 1 file changed, 13 insertions(+), 13 deletions(-) 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 428c57be5..dca1a609a 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
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: df3ff1d923dab6081b50c4831a56adf35914723d Author: Alessandro Barbieri gmail com> AuthorDate: Tue Sep 7 08:45:13 2021 + Commit: Arthur Zamarin gentoo org> CommitDate: Tue Sep 7 10:47:49 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df3ff1d9 sys-cluster/nanos6: rename babeltrace to ctf2prv Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/metadata.xml | 2 +- sys-cluster/nanos6/nanos6-2.6-r4.ebuild | 7 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml index 0245bbc23..586d1fd6f 100644 --- a/sys-cluster/nanos6/metadata.xml +++ b/sys-cluster/nanos6/metadata.xml @@ -10,12 +10,12 @@ bsc-pm/nanos6 + Build ctf2prv fast converter 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 diff --git a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild index dca1a609a..0def7bb68 100644 --- a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild +++ b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-version-${PV}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="babeltrace debug dlb execution-workflow extrae memkind mercurium papi pqos test unwind" +IUSE="ctf2prv debug dlb execution-workflow extrae memkind mercurium papi pqos test unwind" #jemalloc require custom jemalloc #TODO: cuda #TODO: llvm-libunwind @@ -24,7 +24,7 @@ RDEPEND=" sys-process/numactl virtual/libelf - babeltrace? ( dev-util/babeltrace2 ) + ctf2prv? ( dev-util/babeltrace2 ) dlb? ( sys-cluster/dlb ) extrae? ( sys-cluster/extrae[nanos] ) memkind? ( dev-libs/memkind ) @@ -39,7 +39,6 @@ PATCHES=( "${FILESDIR}/${P}-include-string.patch" ) RESTRICT="!test? ( test )" REQUIRED_USE="test? ( !mercurium )" # https://github.com/bsc-pm/nanos6/issues/3 - src_prepare() { default eautoreconf @@ -68,7 +67,7 @@ src_configure() { use memkind && myconf+=( "--with-memkind=${EPREFIX}/usr" ) use pqos && myconf+=( "--with-pqos=${EPREFIX}/usr" ) - if use babeltrace; then + if use ctf2prv; then myconf+=( "--with-babeltrace2=${EPREFIX}/usr" ) else myconf+=( "--without-babeltrace2" )
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/, sys-cluster/nanos6/files/
commit: fe4d683d1368f518fa1139678ff8a246250602d7 Author: Alessandro Barbieri gmail com> AuthorDate: Wed Aug 25 06:51:29 2021 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Wed Aug 25 08:00:16 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe4d683d sys-cluster/nanos6: fix build error Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/files/nanos6-2.6-include-string.patch | 10 ++ .../nanos6/{nanos6-2.6-r2.ebuild => nanos6-2.6-r3.ebuild} | 1 + 2 files changed, 11 insertions(+) diff --git a/sys-cluster/nanos6/files/nanos6-2.6-include-string.patch b/sys-cluster/nanos6/files/nanos6-2.6-include-string.patch new file mode 100644 index 0..6882c0c7b --- /dev/null +++ b/sys-cluster/nanos6/files/nanos6-2.6-include-string.patch @@ -0,0 +1,10 @@ +--- a/src/hardware-counters/pqos/PQoSHardwareCounters.cpp b/src/hardware-counters/pqos/PQoSHardwareCounters.cpp +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include + + #include "PQoSHardwareCounters.hpp" + #include "PQoSTaskHardwareCounters.hpp" diff --git a/sys-cluster/nanos6/nanos6-2.6-r2.ebuild b/sys-cluster/nanos6/nanos6-2.6-r3.ebuild similarity index 98% rename from sys-cluster/nanos6/nanos6-2.6-r2.ebuild rename to sys-cluster/nanos6/nanos6-2.6-r3.ebuild index c3ba5a672..428c57be5 100644 --- a/sys-cluster/nanos6/nanos6-2.6-r2.ebuild +++ b/sys-cluster/nanos6/nanos6-2.6-r3.ebuild @@ -35,6 +35,7 @@ RDEPEND=" # 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 )"
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: 76cada6a446456444010bf07263b7a662c23032e Author: Alessandro Barbieri gmail com> AuthorDate: Wed Aug 25 01:49:29 2021 + Commit: Haelwenn Monnier hacktivis me> CommitDate: Wed Aug 25 01:51:18 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76cada6a sys-cluster/nanos6: add pqos useflag Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/metadata.xml | 2 +- sys-cluster/nanos6/{nanos6-2.6-r1.ebuild => nanos6-2.6-r2.ebuild} | 7 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml index 8fbd76dea..0245bbc23 100644 --- a/sys-cluster/nanos6/metadata.xml +++ b/sys-cluster/nanos6/metadata.xml @@ -19,7 +19,7 @@ Add support for dev-libs/memkind in memory allocator Enable sys-cluster/mcxx support enable dev-libs/papi support - +to generate real-time statistics of hardware counters to generate sample-based profiling diff --git a/sys-cluster/nanos6/nanos6-2.6-r1.ebuild b/sys-cluster/nanos6/nanos6-2.6-r2.ebuild similarity index 95% rename from sys-cluster/nanos6/nanos6-2.6-r1.ebuild rename to sys-cluster/nanos6/nanos6-2.6-r2.ebuild index c5fef5c02..c3ba5a672 100644 --- a/sys-cluster/nanos6/nanos6-2.6-r1.ebuild +++ b/sys-cluster/nanos6/nanos6-2.6-r2.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 test unwind" +IUSE="debug dlb execution-workflow extrae memkind mercurium papi pqos test unwind" #jemalloc require custom stuff -#TODO: cuda pqos babeltrace2 +#TODO: cuda babeltrace2 #TODO: llvm-libunwind RDEPEND=" @@ -29,6 +29,7 @@ RDEPEND=" memkind? ( dev-libs/memkind ) mercurium? ( sys-cluster/mcxx[ompss2] ) papi? ( dev-libs/papi ) + pqos? ( sys-apps/intel-cmt-cat ) unwind? ( sys-libs/libunwind ) " # jemalloc? ( dev-libs/jemalloc ) @@ -64,6 +65,7 @@ src_configure() { ) 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" ) @@ -98,7 +100,6 @@ src_configure() { econf "${myconf[@]}" } -# --without-pqos # --without-cuda src_install() {
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: 5b258d6a703870d2fd915d93c51acd1d094d90fa Author: Alessandro Barbieri gmail com> AuthorDate: Thu Jul 1 21:29:37 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Thu Jul 1 21:30:26 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b258d6a sys-cluster/nanos6: try to fix memkind discovery Closes: https://bugs.gentoo.org/799455 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/nanos6-2.6.ebuild | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys-cluster/nanos6/nanos6-2.6.ebuild b/sys-cluster/nanos6/nanos6-2.6.ebuild index c9fec03aa..546528e60 100644 --- a/sys-cluster/nanos6/nanos6-2.6.ebuild +++ b/sys-cluster/nanos6/nanos6-2.6.ebuild @@ -62,6 +62,7 @@ src_configure() { $(use_enable execution-workflow) ) use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" ) + use memkind && myconf+=( "--with-memkind=${EPREFIX}/usr" ) # if use babeltrace; then # myconf+=( "--with-babeltrace2=${EPREFIX}/usr" ) @@ -73,11 +74,6 @@ src_configure() { else myconf+=( "--without-extrae" ) fi - if use memkind; then - myconf+=( "--with-memkind=${EPREFIX}/usr" ) - else - myconf+=( "--without-memkind" ) - fi if use papi; then myconf+=( "--with-papi=${EPREFIX}/usr" ) else
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: 303f87e9940912f408dc570fb97bce640c3ddab2 Author: Alessandro Barbieri gmail com> AuthorDate: Wed Jun 30 17:01:54 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Wed Jun 30 17:01:54 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=303f87e9 sys-cluster/nanos6: add 2.6, drop 2.5.1-r2 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/Manifest| 2 +- sys-cluster/nanos6/metadata.xml| 3 +-- .../{nanos6-2.5.1-r2.ebuild => nanos6-2.6.ebuild} | 18 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/sys-cluster/nanos6/Manifest b/sys-cluster/nanos6/Manifest index 783a17df8..6ef8d525e 100644 --- a/sys-cluster/nanos6/Manifest +++ b/sys-cluster/nanos6/Manifest @@ -1 +1 @@ -DIST nanos6-2.5.1.tar.gz 744260 BLAKE2B 6b294391ebb18806da76b4bc73aaf6f7082ab4a61693ab300e130f04942bf50c1da884e5271765465bedab863cb1ce545a43ac09727152c0a52d69852e60e373 SHA512 c7da862aa41fb0be1a992f4fde7306a02c4159c05a89055f0144bf6a815c10ff5f7e7ee11b4afaa4c468afdd538a99b3b5971a896221b20928805b45d35e0335 +DIST nanos6-2.6.tar.gz 739246 BLAKE2B 4a5cb079b09fe2eaa40ee4064307dfc8facf1515801c6ddfe34b301b6c48df167a3603435e3998f28511738709e53d7245421bcdda69829268b7f86748d3de87 SHA512 af6e95f2d523a22b033f380efd4c36d44d85708b7852f692dc700c89dcca12405882d09437d672f06ffd0dbe429bc1e2f52f86e148882d254f7a3d8f8221b222 diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml index dd376439d..c937f87cc 100644 --- a/sys-cluster/nanos6/metadata.xml +++ b/sys-cluster/nanos6/metadata.xml @@ -10,7 +10,6 @@ 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 @@ -19,7 +18,7 @@ to generate execution traces for offline performance analysis with paraver - + Add support for dev-libs/memkind in memory allocator enable dev-libs/papi support diff --git a/sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild b/sys-cluster/nanos6/nanos6-2.6.ebuild similarity index 84% rename from sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild rename to sys-cluster/nanos6/nanos6-2.6.ebuild index e7624ed39..c9fec03aa 100644 --- a/sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild +++ b/sys-cluster/nanos6/nanos6-2.6.ebuild @@ -12,10 +12,10 @@ S="${WORKDIR}/${PN}-version-${PV}" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="cluster debug dlb execution-workflow extrae papi unwind" +IUSE="cluster debug dlb execution-workflow extrae memkind papi unwind" #chrono-arch build fail #jemalloc require custom stuff -#TODO: cuda pqos mercurium memkind k1om +#TODO: cuda pqos mercurium k1om babeltrace2 #TODO: llvm-libunwind RDEPEND=" @@ -27,6 +27,7 @@ RDEPEND=" cluster? ( virtual/mpi ) dlb? ( sys-cluster/dlb ) extrae? ( sys-cluster/extrae[nanos] ) + memkind? ( dev-libs/memkind ) papi? ( dev-libs/papi ) unwind? ( sys-libs/libunwind ) " @@ -40,7 +41,6 @@ src_prepare() { src_configure() { local myconf=( - --disable-chrono-arch --disable-embed-code-changes --disable-openacc --disable-static @@ -63,11 +63,21 @@ src_configure() { ) use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" ) +# if use babeltrace; then +# myconf+=( "--with-babeltrace2=${EPREFIX}/usr" ) +# else +# myconf+=( "--without-babeltrace2" ) +# fi if use extrae; then myconf+=( "--with-extrae=${EPREFIX}/usr" ) else myconf+=( "--without-extrae" ) fi + if use memkind; then + myconf+=( "--with-memkind=${EPREFIX}/usr" ) + else + myconf+=( "--without-memkind" ) + fi if use papi; then myconf+=( "--with-papi=${EPREFIX}/usr" ) else @@ -82,9 +92,7 @@ src_configure() { econf "${myconf[@]}" } # --without-pqos -# --without-jemalloc # --without-cuda -# --without-memkind src_install() { default
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: 54f48fdf17d691b527f3818d9d340f1649c9977a Author: Alessandro Barbieri gmail com> AuthorDate: Thu Apr 29 03:58:25 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Apr 29 03:58:25 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54f48fdf sys-cluster/nanos6: remove useless use those are useful only if nanos6 source is a git repo Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/metadata.xml | 1 - sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild | 11 +++ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml index ad6f5454f..dd376439d 100644 --- a/sys-cluster/nanos6/metadata.xml +++ b/sys-cluster/nanos6/metadata.xml @@ -15,7 +15,6 @@ enable extra assertions and checks in debug - may cause significant slowdown enable dynamic management and sharing of computing resources - embed into the runtime any code changes present in the source Enable execution using the Execution Workflow to generate execution traces for offline performance analysis with paraver diff --git a/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild index 64d0428f4..0ddc6ac31 100644 --- a/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild +++ b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild @@ -12,7 +12,7 @@ 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 embed-code-changes execution-workflow extrae git papi unwind" +IUSE="cluster debug dlb execution-workflow extrae papi unwind" #chrono-arch build fail #jemalloc require custom stuff #TODO: cuda pqos mercurium memkind k1om @@ -24,7 +24,6 @@ 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 ) @@ -42,6 +41,7 @@ src_prepare() { src_configure() { local myconf=( --disable-chrono-arch + --disable-embed-code-changes --disable-openacc --disable-static @@ -51,6 +51,7 @@ src_configure() { --with-libnuma="${EPREFIX}/usr" --with-pic + --without-git --without-k1om --without-nanos6-clang --without-nanos6-mercurium @@ -58,16 +59,10 @@ src_configure() { $(use_enable cluster) $(use_enable debug extra-debug) - $(use_enable embed-code-changes) $(use_enable execution-workflow) ) use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" ) - if use embed-code-changes; then - myconf+=( "--with-git=${EPREFIX}/usr" ) - else - myconf+=( "--without-git" ) - fi if use extrae; then myconf+=( "--with-extrae=${EPREFIX}/usr/$(get_libdir)/extrae" ) else
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: 8576275bc59ec4e1fcc8b596f4bf72362aa5a67b Author: Alessandro Barbieri gmail com> AuthorDate: Wed Apr 21 13:39:02 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Apr 21 13:39:52 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8576275b sys-cluster/nanos6: --disable-dlb doesn't work Closes: https://bugs.gentoo.org/784785 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild index 599e265c2..64d0428f4 100644 --- a/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild +++ b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild @@ -61,12 +61,8 @@ src_configure() { $(use_enable embed-code-changes) $(use_enable execution-workflow) ) + use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" ) - if use dlb; then - myconf+=( "--with-dlb=${EPREFIX}/usr" ) - else - myconf+=( "--without-dlb" ) - fi if use embed-code-changes; then myconf+=( "--with-git=${EPREFIX}/usr" ) else
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: 52d40bd6640cec7798fe8865a30982cef4723142 Author: Alessandro Barbieri gmail com> AuthorDate: Wed Apr 21 01:16:35 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Apr 21 01:17:11 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52d40bd6 sys-cluster/nanos6: extrae support Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/metadata.xml| 2 +- ...{nanos6-2.5.1.ebuild => nanos6-2.5.1-r1.ebuild} | 25 ++ 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml index d72d9ec64..ad6f5454f 100644 --- a/sys-cluster/nanos6/metadata.xml +++ b/sys-cluster/nanos6/metadata.xml @@ -17,7 +17,7 @@ enable dynamic management and sharing of computing resources embed into the runtime any code changes present in the source Enable execution using the Execution Workflow - + to generate execution traces for offline performance analysis with paraver diff --git a/sys-cluster/nanos6/nanos6-2.5.1.ebuild b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild similarity index 81% rename from sys-cluster/nanos6/nanos6-2.5.1.ebuild rename to sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild index a49c3601a..599e265c2 100644 --- a/sys-cluster/nanos6/nanos6-2.5.1.ebuild +++ b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild @@ -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"
[gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
commit: 2e212dfe252aa630cc55991c053fb2e8d890ee6c Author: Alessandro Barbieri gmail com> AuthorDate: Tue Apr 20 23:26:09 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Apr 21 01:17:11 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e212dfe sys-cluster/nanos6: new package Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> sys-cluster/nanos6/Manifest| 1 + sys-cluster/nanos6/metadata.xml| 29 + sys-cluster/nanos6/nanos6-2.5.1.ebuild | 114 + 3 files changed, 144 insertions(+) diff --git a/sys-cluster/nanos6/Manifest b/sys-cluster/nanos6/Manifest new file mode 100644 index 0..783a17df8 --- /dev/null +++ b/sys-cluster/nanos6/Manifest @@ -0,0 +1 @@ +DIST nanos6-2.5.1.tar.gz 744260 BLAKE2B 6b294391ebb18806da76b4bc73aaf6f7082ab4a61693ab300e130f04942bf50c1da884e5271765465bedab863cb1ce545a43ac09727152c0a52d69852e60e373 SHA512 c7da862aa41fb0be1a992f4fde7306a02c4159c05a89055f0144bf6a815c10ff5f7e7ee11b4afaa4c468afdd538a99b3b5971a896221b20928805b45d35e0335 diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml new file mode 100644 index 0..d72d9ec64 --- /dev/null +++ b/sys-cluster/nanos6/metadata.xml @@ -0,0 +1,29 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + lssndrbarbi...@gmail.com + Alessandro Barbieri + + + https://github.com/bsc-pm/nanos6/issues + 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 + embed into the runtime any code changes present in the source + Enable execution using the Execution Workflow + + + + + + enable dev-libs/papi support + + to generate sample-based profiling + + diff --git a/sys-cluster/nanos6/nanos6-2.5.1.ebuild b/sys-cluster/nanos6/nanos6-2.5.1.ebuild new file mode 100644 index 0..a49c3601a --- /dev/null +++ b/sys-cluster/nanos6/nanos6-2.5.1.ebuild @@ -0,0 +1,114 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cluster debug dlb doc embed-code-changes execution-workflow git papi unwind" +#chrono-arch build fail +#jemalloc require custom stuff +#TODO: cuda pqos mercurium memkind k1om extrae +RDEPEND=" + >=dev-libs/boost-1.59:= + sys-apps/hwloc + sys-process/numactl + virtual/libelf + + cluster? ( virtual/mpi ) + dlb? ( sys-cluster/dlb ) + embed-code-changes? ( dev-vcs/git ) + papi? ( dev-libs/papi ) + unwind? ( sys-libs/libunwind ) +" +#extrae? ( sys-cluster/extrae[nanos] ) +DEPEND="${RDEPEND}" +BDEPEND="doc? ( app-doc/doxygen )" +REQUIRED_USE="cluster? ( execution-workflow )" +S="${WORKDIR}/${PN}-version-${PV}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=( + --disable-chrono-arch + --disable-openacc + --disable-static + + --enable-shared + + --with-boost="${EPREFIX}/usr" + --with-libnuma="${EPREFIX}/usr" + --with-pic + + --without-k1om + --without-nanos6-clang + --without-nanos6-mercurium + --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) + ) + + if use dlb; then + myconf+=( "--with-dlb=${EPREFIX}/usr" ) + else + myconf+=( "--without-dlb" ) + fi + if use embed-code-changes; then + myconf+=( "--with-git=${EPREFIX}/usr" ) + else + myconf+=( "--without-git" ) + fi +# if use extrae; then +# myconf+=(