* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-04-21 1:17 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-04-21 1:17 UTC (permalink / raw
To: gentoo-commits
commit: 2e212dfe252aa630cc55991c053fb2e8d890ee6c
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Apr 20 23:26:09 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Apr 21 01:17:11 2021 +0000
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 <lssndrbarbieri <AT> 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 000000000..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 000000000..d72d9ec64
--- /dev/null
+++ b/sys-cluster/nanos6/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/bsc-pm/nanos6/issues</bugs-to>
+ <remote-id type="github">bsc-pm/nanos6</remote-id>
+ </upstream>
+ <use>
+ <!--<flag name="chrono-arch">use an architecture-dependent chrono for timing instead of the default one</flag>-->
+ <flag name="cluster">Enable OmpSs@Cluster support. This requires an MPI version that supports MPI_THREAD_MULTIPLE to be present in your environment</flag>
+ <!--<flag name="cuda">enable CUDA</flag>-->
+ <flag name="debug">enable extra assertions and checks in debug - may cause significant slowdown</flag>
+ <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="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>-->
+ <!--<flag name="mercurium">specify the installation prefix of the Nanos6 Mercurium compiler</flag>-->
+ <flag name="papi">enable <pkg>dev-libs/papi</pkg> support</flag>
+ <!--<flag name="pqos"> to generate real-time statistics of hardware counters</flag>-->
+ <flag name="unwind">to generate sample-based profiling</flag>
+ </use>
+</pkgmetadata>
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 000000000..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+=( "--with-extrae=${EPREFIX}/usr/$(get_libdir)/extrae" )
+# else
+ myconf+=( "--without-extrae" )
+# fi
+ if use papi; then
+ myconf+=( "--with-papi=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-papi" )
+ fi
+ if use unwind; then
+ myconf+=( "--with-libunwind=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-libunwind" )
+ fi
+
+ econf "${myconf[@]}"
+}
+# --without-pqos
+# --without-jemalloc
+# --without-cuda
+# --without-memkind
+
+src_install() {
+ default
+
+ docompress -x "/usr/share/doc/${PF}/paraver-cfg"
+ docompress -x "/usr/share/doc/${PF}/scripts"
+}
+
+pkg_postinst() {
+ elog "install media-gfx/graphviz and app-text/pdfjam or >=app-text/texlive-core-2021 to generate graphical representations of the dependency graph"
+ elog "install sys-process/parallel to generate the graph representation in parallel"
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-04-21 1:17 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-04-21 1:17 UTC (permalink / raw
To: gentoo-commits
commit: 52d40bd6640cec7798fe8865a30982cef4723142
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr 21 01:16:35 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Apr 21 01:17:11 2021 +0000
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 <lssndrbarbieri <AT> 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 @@
<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>-->
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"
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-04-21 13:39 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-04-21 13:39 UTC (permalink / raw
To: gentoo-commits
commit: 8576275bc59ec4e1fcc8b596f4bf72362aa5a67b
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Apr 21 13:39:02 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Apr 21 13:39:52 2021 +0000
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 <lssndrbarbieri <AT> 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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-04-29 3:59 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-04-29 3:59 UTC (permalink / raw
To: gentoo-commits
commit: 54f48fdf17d691b527f3818d9d340f1649c9977a
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr 29 03:58:25 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Apr 29 03:58:25 2021 +0000
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 <lssndrbarbieri <AT> 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 @@
<!--<flag name="cuda">enable CUDA</flag>-->
<flag name="debug">enable extra assertions and checks in debug - may cause significant slowdown</flag>
<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="jemalloc">use jemalloc as the default memory allocator, providing better performance than the default glibc implementation</flag>-->
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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-06-15 13:41 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-06-15 13:41 UTC (permalink / raw
To: gentoo-commits
commit: 02cbd670a35e38d1fa850dad29c53d423ed06670
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 15 13:41:35 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 15 13:41:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02cbd670
sys-cluster/nanos6: fix extrae path
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../nanos6/{nanos6-2.5.1-r1.ebuild => nanos6-2.5.1-r2.ebuild} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild b/sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild
similarity index 96%
rename from sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild
rename to sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild
index 0ddc6ac31..e7624ed39 100644
--- a/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild
+++ b/sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild
@@ -8,7 +8,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"
-
+S="${WORKDIR}/${PN}-version-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
@@ -16,6 +16,8 @@ IUSE="cluster debug dlb execution-workflow extrae papi unwind"
#chrono-arch build fail
#jemalloc require custom stuff
#TODO: cuda pqos mercurium memkind k1om
+#TODO: llvm-libunwind
+
RDEPEND="
>=dev-libs/boost-1.59:=
sys-apps/hwloc
@@ -29,9 +31,7 @@ RDEPEND="
unwind? ( sys-libs/libunwind )
"
DEPEND="${RDEPEND}"
-BDEPEND=""
REQUIRED_USE="cluster? ( execution-workflow )"
-S="${WORKDIR}/${PN}-version-${PV}"
src_prepare() {
default
@@ -64,7 +64,7 @@ src_configure() {
use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" )
if use extrae; then
- myconf+=( "--with-extrae=${EPREFIX}/usr/$(get_libdir)/extrae" )
+ myconf+=( "--with-extrae=${EPREFIX}/usr" )
else
myconf+=( "--without-extrae" )
fi
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-06-30 17:03 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-06-30 17:03 UTC (permalink / raw
To: gentoo-commits
commit: 303f87e9940912f408dc570fb97bce640c3ddab2
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Jun 30 17:01:54 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Jun 30 17:01:54 2021 +0000
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 <lssndrbarbieri <AT> 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 @@
<remote-id type="github">bsc-pm/nanos6</remote-id>
</upstream>
<use>
- <!--<flag name="chrono-arch">use an architecture-dependent chrono for timing instead of the default one</flag>-->
<flag name="cluster">Enable OmpSs@Cluster support. This requires an MPI version that supports MPI_THREAD_MULTIPLE to be present in your environment</flag>
<!--<flag name="cuda">enable CUDA</flag>-->
<flag name="debug">enable extra assertions and checks in debug - may cause significant slowdown</flag>
@@ -19,7 +18,7 @@
<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>-->
+ <flag name="memkind">Add support for <pkg>dev-libs/memkind</pkg> in memory allocator</flag>
<!--<flag name="mercurium">specify the installation prefix of the Nanos6 Mercurium compiler</flag>-->
<flag name="papi">enable <pkg>dev-libs/papi</pkg> support</flag>
<!--<flag name="pqos"> to generate real-time statistics of hardware counters</flag>-->
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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-07-01 21:30 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-07-01 21:30 UTC (permalink / raw
To: gentoo-commits
commit: 5b258d6a703870d2fd915d93c51acd1d094d90fa
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jul 1 21:29:37 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Jul 1 21:30:26 2021 +0000
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 <lssndrbarbieri <AT> 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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-08-21 2:01 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-08-21 2:01 UTC (permalink / raw
To: gentoo-commits
commit: 91ed6bc2f5250ffbdf212473567f8295d6303ac8
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Aug 21 01:59:46 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Aug 21 01:59:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91ed6bc2
sys-cluster/nanos6: EAPI8, mercurium support
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nanos6/metadata.xml | 4 +---
.../{nanos6-2.6.ebuild => nanos6-2.6-r1.ebuild} | 25 ++++++++++++++--------
2 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml
index c937f87cc..8fbd76dea 100644
--- a/sys-cluster/nanos6/metadata.xml
+++ b/sys-cluster/nanos6/metadata.xml
@@ -10,16 +10,14 @@
<remote-id type="github">bsc-pm/nanos6</remote-id>
</upstream>
<use>
- <flag name="cluster">Enable OmpSs@Cluster support. This requires an MPI version that supports MPI_THREAD_MULTIPLE to be present in your environment</flag>
<!--<flag name="cuda">enable CUDA</flag>-->
<flag name="debug">enable extra assertions and checks in debug - may cause significant slowdown</flag>
<flag name="dlb">enable dynamic management and sharing of computing resources</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="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">Add support for <pkg>dev-libs/memkind</pkg> in memory allocator</flag>
- <!--<flag name="mercurium">specify the installation prefix of the Nanos6 Mercurium compiler</flag>-->
+ <flag name="mercurium">Enable <pkg>sys-cluster/mcxx</pkg> support</flag>
<flag name="papi">enable <pkg>dev-libs/papi</pkg> support</flag>
<!--<flag name="pqos"> to generate real-time statistics of hardware counters</flag>-->
<flag name="unwind">to generate sample-based profiling</flag>
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 546528e60..ca6d8f985 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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-08-22 2:00 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-08-22 2:00 UTC (permalink / raw
To: gentoo-commits
commit: 81bbeb81cbb0124225d7cac889b81d54a4e6b802
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Aug 22 00:13:50 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Aug 22 01:17:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81bbeb81
sys-cluster/nanos6: add and restrict tests
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nanos6/nanos6-2.6-r1.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sys-cluster/nanos6/nanos6-2.6-r1.ebuild b/sys-cluster/nanos6/nanos6-2.6-r1.ebuild
index ca6d8f985..c5fef5c02 100644
--- a/sys-cluster/nanos6/nanos6-2.6-r1.ebuild
+++ b/sys-cluster/nanos6/nanos6-2.6-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-version-${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="debug dlb execution-workflow extrae memkind mercurium papi unwind"
+IUSE="debug dlb execution-workflow extrae memkind mercurium papi test unwind"
#jemalloc require custom stuff
#TODO: cuda pqos babeltrace2
#TODO: llvm-libunwind
@@ -34,6 +34,10 @@ RDEPEND="
# jemalloc? ( dev-libs/jemalloc )
DEPEND="${RDEPEND}"
+# https://github.com/bsc-pm/nanos6/issues/3
+RESTRICT="test"
+#RESTRICT="!test? ( test )"
+
src_prepare() {
default
eautoreconf
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-08-25 1:51 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-08-25 1:51 UTC (permalink / raw
To: gentoo-commits
commit: 76cada6a446456444010bf07263b7a662c23032e
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Aug 25 01:49:29 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Aug 25 01:51:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=76cada6a
sys-cluster/nanos6: add pqos useflag
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> 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 @@
<flag name="memkind">Add support for <pkg>dev-libs/memkind</pkg> in memory allocator</flag>
<flag name="mercurium">Enable <pkg>sys-cluster/mcxx</pkg> support</flag>
<flag name="papi">enable <pkg>dev-libs/papi</pkg> support</flag>
- <!--<flag name="pqos"> to generate real-time statistics of hardware counters</flag>-->
+ <flag name="pqos"> to generate real-time statistics of hardware counters</flag>
<flag name="unwind">to generate sample-based profiling</flag>
</use>
</pkgmetadata>
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() {
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-09-07 10:47 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-09-07 10:47 UTC (permalink / raw
To: gentoo-commits
commit: be6ba927d05edc1494cc9afa23c4bbbda070ba0e
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Sep 7 07:26:01 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Sep 7 10:47:49 2021 +0000
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 <lssndrbarbieri <AT> 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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-09-07 10:47 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-09-07 10:47 UTC (permalink / raw
To: gentoo-commits
commit: df3ff1d923dab6081b50c4831a56adf35914723d
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Sep 7 08:45:13 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Sep 7 10:47:49 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df3ff1d9
sys-cluster/nanos6: rename babeltrace to ctf2prv
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> 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 @@
<remote-id type="github">bsc-pm/nanos6</remote-id>
</upstream>
<use>
+ <flag name="ctf2prv">Build ctf2prv fast converter</flag>
<!--<flag name="cuda">enable CUDA</flag>-->
<flag name="debug">enable extra assertions and checks in debug - may cause significant slowdown</flag>
<flag name="dlb">enable dynamic management and sharing of computing resources</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="jemalloc">use jemalloc as the default memory allocator, providing better performance than the default glibc implementation</flag>-->
<flag name="memkind">Add support for <pkg>dev-libs/memkind</pkg> in memory allocator</flag>
<flag name="mercurium">Enable <pkg>sys-cluster/mcxx</pkg> support</flag>
<flag name="papi">enable <pkg>dev-libs/papi</pkg> support</flag>
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" )
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2021-09-09 12:25 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2021-09-09 12:25 UTC (permalink / raw
To: gentoo-commits
commit: 5b425cb7aa06c627b6665e103df7109c217cbecb
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Sep 9 11:34:10 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Sep 9 12:25:42 2021 +0000
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 <lssndrbarbieri <AT> 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
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2022-03-31 13:27 Alessandro Barbieri
0 siblings, 0 replies; 15+ messages in thread
From: Alessandro Barbieri @ 2022-03-31 13:27 UTC (permalink / raw
To: gentoo-commits
commit: 2fab982d9e5137ed3d3be9ce9165dbab7bf686ed
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Mar 31 13:26:17 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Mar 31 13:27:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2fab982d
sys-cluster/nanos6: add 2.7
Bug: https://bugs.gentoo.org/800995
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/nanos6/Manifest | 1 +
sys-cluster/nanos6/metadata.xml | 1 +
sys-cluster/nanos6/nanos6-2.7.ebuild | 120 +++++++++++++++++++++++++++++++++++
3 files changed, 122 insertions(+)
diff --git a/sys-cluster/nanos6/Manifest b/sys-cluster/nanos6/Manifest
index 6ef8d525e..0a41d553c 100644
--- a/sys-cluster/nanos6/Manifest
+++ b/sys-cluster/nanos6/Manifest
@@ -1 +1,2 @@
DIST nanos6-2.6.tar.gz 739246 BLAKE2B 4a5cb079b09fe2eaa40ee4064307dfc8facf1515801c6ddfe34b301b6c48df167a3603435e3998f28511738709e53d7245421bcdda69829268b7f86748d3de87 SHA512 af6e95f2d523a22b033f380efd4c36d44d85708b7852f692dc700c89dcca12405882d09437d672f06ffd0dbe429bc1e2f52f86e148882d254f7a3d8f8221b222
+DIST nanos6-2.7.tar.gz 738537 BLAKE2B f95906c848b96c9bc8d03b9fa43440e7cf7b5df0d64183b28e0cac3eae45af8b1504b29696931c9ded48f345eaeae0c447715a87f2fec6bfee8254941628f376 SHA512 4e1bb8bfdab888f7f68b30fb7d69a30f6d2b03577e7bfe2d85631c644ba7ac628918dff6b87100c16a3603fade5cdb511575575ee01a5bc1b1782c46a75cadca
diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml
index 586d1fd6f..c7b355e4e 100644
--- a/sys-cluster/nanos6/metadata.xml
+++ b/sys-cluster/nanos6/metadata.xml
@@ -13,6 +13,7 @@
<flag name="ctf2prv">Build ctf2prv fast converter</flag>
<!--<flag name="cuda">enable CUDA</flag>-->
<flag name="debug">enable extra assertions and checks in debug - may cause significant slowdown</flag>
+ <flag name="dependency-delayed-operations">Delay dependency update operations</flag>
<flag name="dlb">enable dynamic management and sharing of computing resources</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>
diff --git a/sys-cluster/nanos6/nanos6-2.7.ebuild b/sys-cluster/nanos6/nanos6-2.7.ebuild
new file mode 100644
index 000000000..23c6b0160
--- /dev/null
+++ b/sys-cluster/nanos6/nanos6-2.7.ebuild
@@ -0,0 +1,120 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+S="${WORKDIR}/${PN}-version-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="ctf2prv debug +dependency-delayed-operations dlb execution-workflow extrae mercurium papi pqos test unwind"
+#jemalloc require custom jemalloc
+#TODO: cuda
+#TODO: llvm-libunwind
+
+RDEPEND="
+ >=dev-libs/boost-1.59:=
+ sys-apps/hwloc
+ sys-process/numactl
+ virtual/libelf
+
+ ctf2prv? ( dev-util/babeltrace2 )
+ dlb? ( sys-cluster/dlb )
+ extrae? ( sys-cluster/extrae[nanos] )
+ mercurium? ( sys-cluster/mcxx[ompss2] )
+ papi? ( dev-libs/papi )
+ pqos? ( sys-apps/intel-cmt-cat )
+ unwind? ( sys-libs/libunwind )
+"
+DEPEND="${RDEPEND}"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="test? ( !mercurium )" # https://github.com/bsc-pm/nanos6/issues/3
+
+# debug and lint variant add custom cflags
+QA_FLAGS_IGNORED="
+ libnanos6-debug-*.so*
+ libnanos6-optimized-*-lint.so*
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --disable-embed-code-changes
+ --disable-openacc
+ --disable-static
+
+ --enable-shared
+
+ --with-boost="${EPREFIX}/usr"
+ --with-libnuma="${EPREFIX}/usr"
+
+ --without-git
+ --without-k1om
+ --without-nanos6-clang
+ --without-pgi
+
+ $(use_enable debug extra-debug)
+ $(use_enable dependency-delayed-operations)
+ )
+
+ # https://github.com/bsc-pm/nanos6/issues/6
+ use ctf2prv && myconf+=( "--with-babeltrace2=${EPREFIX}/usr" )
+ use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" )
+ use pqos && myconf+=( "--with-pqos=${EPREFIX}/usr" )
+
+ if use extrae; then
+ myconf+=( "--with-extrae=${EPREFIX}/usr" )
+ 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
+ myconf+=( "--without-papi" )
+ fi
+ if use unwind; then
+ myconf+=( "--with-libunwind=${EPREFIX}/usr" )
+ else
+ myconf+=( "--without-libunwind" )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+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"
+
+ find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ elog "install media-gfx/graphviz and app-text/pdfjam or >=app-text/texlive-core-2021 to generate graphical representations of the dependency graph"
+ elog "install sys-process/parallel to generate the graph representation in parallel"
+}
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
@ 2022-12-21 22:58 Julien Roy
0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2022-12-21 22:58 UTC (permalink / raw
To: gentoo-commits
commit: 97e4ad5d61e4e81680c2d17f2f7eff270ef06771
Author: Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed Dec 21 22:57:18 2022 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Dec 21 22:57:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97e4ad5d
sys-cluster/nanos6: unkeyword 2.* for ~amd64
depends on intel-cmt-cat which is unkeyworded
Signed-off-by: Julien Roy <julien <AT> jroy.ca>
sys-cluster/nanos6/nanos6-2.6-r4.ebuild | 1 -
sys-cluster/nanos6/nanos6-2.7.ebuild | 1 -
2 files changed, 2 deletions(-)
diff --git a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
index c136752b9..c04a4d774 100644
--- a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
+++ b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
@@ -12,7 +12,6 @@ S="${WORKDIR}/${PN}-version-${PV}"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="ctf2prv debug dlb execution-workflow extrae memkind mercurium papi pqos test unwind"
#jemalloc require custom jemalloc
#TODO: cuda
diff --git a/sys-cluster/nanos6/nanos6-2.7.ebuild b/sys-cluster/nanos6/nanos6-2.7.ebuild
index 23c6b0160..869613dbb 100644
--- a/sys-cluster/nanos6/nanos6-2.7.ebuild
+++ b/sys-cluster/nanos6/nanos6-2.7.ebuild
@@ -12,7 +12,6 @@ S="${WORKDIR}/${PN}-version-${PV}"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="ctf2prv debug +dependency-delayed-operations dlb execution-workflow extrae mercurium papi pqos test unwind"
#jemalloc require custom jemalloc
#TODO: cuda
^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2022-12-21 22:58 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-30 17:03 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2022-12-21 22:58 Julien Roy
2022-03-31 13:27 Alessandro Barbieri
2021-09-09 12:25 Alessandro Barbieri
2021-09-07 10:47 Alessandro Barbieri
2021-09-07 10:47 Alessandro Barbieri
2021-08-25 1:51 Alessandro Barbieri
2021-08-22 2:00 Alessandro Barbieri
2021-08-21 2:01 Alessandro Barbieri
2021-07-01 21:30 Alessandro Barbieri
2021-06-15 13:41 Alessandro Barbieri
2021-04-29 3:59 Alessandro Barbieri
2021-04-21 13:39 Alessandro Barbieri
2021-04-21 1:17 Alessandro Barbieri
2021-04-21 1:17 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox