public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-04-21  7:32 Andrew Ammerlaan
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2021-04-21  7:32 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:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-04-21  7:32 Andrew Ammerlaan
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2021-04-21  7:32 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:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-04-21 19:40 Andrew Ammerlaan
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2021-04-21 19:40 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:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-04-29  8:23 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2021-04-29  8:23 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:     Michał Górny <mgorny <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-06-30 19:39 Florian Schmaus
  0 siblings, 0 replies; 10+ messages in thread
From: Florian Schmaus @ 2021-06-30 19:39 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:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-07-03  9:59 Andrew Ammerlaan
  0 siblings, 0 replies; 10+ messages in thread
From: Andrew Ammerlaan @ 2021-07-03  9:59 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:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-08-27 16:10 Haelwenn Monnier
  0 siblings, 0 replies; 10+ messages in thread
From: Haelwenn Monnier @ 2021-08-27 16:10 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:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-09-08 15:20 Arthur Zamarin
  0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2021-09-08 15:20 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:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-09-08 15:20 Arthur Zamarin
  0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2021-09-08 15:20 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:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
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] 10+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
@ 2021-09-10 10:45 Arthur Zamarin
  0 siblings, 0 replies; 10+ messages in thread
From: Arthur Zamarin @ 2021-09-10 10:45 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:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
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] 10+ messages in thread

end of thread, other threads:[~2021-09-10 10:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-08 15:20 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2021-09-10 10:45 Arthur Zamarin
2021-09-08 15:20 Arthur Zamarin
2021-08-27 16:10 Haelwenn Monnier
2021-07-03  9:59 Andrew Ammerlaan
2021-06-30 19:39 Florian Schmaus
2021-04-29  8:23 Michał Górny
2021-04-21 19:40 Andrew Ammerlaan
2021-04-21  7:32 Andrew Ammerlaan
2021-04-21  7:32 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox