Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
Date: Wed, 21 Apr 2021 07:32:43
Message-Id: 1618967831.52d40bd6640cec7798fe8865a30982cef4723142.andrewammerlaan@gentoo
1 commit: 52d40bd6640cec7798fe8865a30982cef4723142
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 21 01:16:35 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Wed Apr 21 01:17:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=52d40bd6
7
8 sys-cluster/nanos6: extrae support
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 sys-cluster/nanos6/metadata.xml | 2 +-
14 ...{nanos6-2.5.1.ebuild => nanos6-2.5.1-r1.ebuild} | 25 ++++++++++------------
15 2 files changed, 12 insertions(+), 15 deletions(-)
16
17 diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml
18 index d72d9ec64..ad6f5454f 100644
19 --- a/sys-cluster/nanos6/metadata.xml
20 +++ b/sys-cluster/nanos6/metadata.xml
21 @@ -17,7 +17,7 @@
22 <flag name="dlb">enable dynamic management and sharing of computing resources</flag>
23 <flag name="embed-code-changes">embed into the runtime any code changes present in the source</flag>
24 <flag name="execution-workflow">Enable execution using the Execution Workflow</flag>
25 - <!--<flag name="extrae">to generate execution traces for offline performance analysis with paraver</flag>-->
26 + <flag name="extrae">to generate execution traces for offline performance analysis with paraver</flag>
27 <!--<flag name="jemalloc">use jemalloc as the default memory allocator, providing better performance than the default glibc implementation</flag>-->
28 <!--<flag name="k1om">specify the installation prefix of the k1om GNU compilers</flag>-->
29 <!--<flag name="memkind">specify the installation prefix of memkind</flag>-->
30
31 diff --git a/sys-cluster/nanos6/nanos6-2.5.1.ebuild b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild
32 similarity index 81%
33 rename from sys-cluster/nanos6/nanos6-2.5.1.ebuild
34 rename to sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild
35 index a49c3601a..599e265c2 100644
36 --- a/sys-cluster/nanos6/nanos6-2.5.1.ebuild
37 +++ b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild
38 @@ -12,10 +12,10 @@ SRC_URI="https://github.com/bsc-pm/nanos6/archive/refs/tags/version-${PV}.tar.gz
39 LICENSE="GPL-3"
40 SLOT="0"
41 KEYWORDS="~amd64"
42 -IUSE="cluster debug dlb doc embed-code-changes execution-workflow git papi unwind"
43 +IUSE="cluster debug dlb embed-code-changes execution-workflow extrae git papi unwind"
44 #chrono-arch build fail
45 #jemalloc require custom stuff
46 -#TODO: cuda pqos mercurium memkind k1om extrae
47 +#TODO: cuda pqos mercurium memkind k1om
48 RDEPEND="
49 >=dev-libs/boost-1.59:=
50 sys-apps/hwloc
51 @@ -25,12 +25,12 @@ RDEPEND="
52 cluster? ( virtual/mpi )
53 dlb? ( sys-cluster/dlb )
54 embed-code-changes? ( dev-vcs/git )
55 + extrae? ( sys-cluster/extrae[nanos] )
56 papi? ( dev-libs/papi )
57 unwind? ( sys-libs/libunwind )
58 "
59 -#extrae? ( sys-cluster/extrae[nanos] )
60 DEPEND="${RDEPEND}"
61 -BDEPEND="doc? ( app-doc/doxygen )"
62 +BDEPEND=""
63 REQUIRED_USE="cluster? ( execution-workflow )"
64 S="${WORKDIR}/${PN}-version-${PV}"
65
66 @@ -57,12 +57,6 @@ src_configure() {
67 --without-pgi
68
69 $(use_enable cluster)
70 - $(use_enable doc doxygen-doc)
71 - $(use_enable doc doxygen-dot)
72 - $(use_enable doc doxygen-html)
73 - $(use_enable doc doxygen-man)
74 - $(use_enable doc doxygen-pdf)
75 - $(use_enable doc doxygen-ps)
76 $(use_enable debug extra-debug)
77 $(use_enable embed-code-changes)
78 $(use_enable execution-workflow)
79 @@ -78,11 +72,11 @@ src_configure() {
80 else
81 myconf+=( "--without-git" )
82 fi
83 -# if use extrae; then
84 -# myconf+=( "--with-extrae=${EPREFIX}/usr/$(get_libdir)/extrae" )
85 -# else
86 + if use extrae; then
87 + myconf+=( "--with-extrae=${EPREFIX}/usr/$(get_libdir)/extrae" )
88 + else
89 myconf+=( "--without-extrae" )
90 -# fi
91 + fi
92 if use papi; then
93 myconf+=( "--with-papi=${EPREFIX}/usr" )
94 else
95 @@ -103,6 +97,9 @@ src_configure() {
96
97 src_install() {
98 default
99 + dodoc CHANGELOG.md
100 + rm -r docs/Doxyfile* || die
101 + dodoc -r docs/.
102
103 docompress -x "/usr/share/doc/${PF}/paraver-cfg"
104 docompress -x "/usr/share/doc/${PF}/scripts"