From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1273466-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DD34013835A
	for <garchives@archives.gentoo.org>; Wed, 21 Apr 2021 01:17:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3B517E0867;
	Wed, 21 Apr 2021 01:17:39 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 215EEE0870
	for <gentoo-commits@lists.gentoo.org>; Wed, 21 Apr 2021 01:17:39 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 89EB8340F99
	for <gentoo-commits@lists.gentoo.org>; Wed, 21 Apr 2021 01:17:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F471720
	for <gentoo-commits@lists.gentoo.org>; Wed, 21 Apr 2021 01:17:36 +0000 (UTC)
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
Message-ID: <1618967831.52d40bd6640cec7798fe8865a30982cef4723142.Alessandro-Barbieri@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: sys-cluster/nanos6/metadata.xml sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild sys-cluster/nanos6/nanos6-2.5.1.ebuild
X-VCS-Directories: sys-cluster/nanos6/
X-VCS-Committer: Alessandro-Barbieri
X-VCS-Committer-Name: Alessandro Barbieri
X-VCS-Revision: 52d40bd6640cec7798fe8865a30982cef4723142
X-VCS-Branch: dev
Date: Wed, 21 Apr 2021 01:17:36 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: eea217db-ada7-486e-a308-4545236fc423
X-Archives-Hash: 01220c59077aee7413c7d4ba1e8ce5f4

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"