Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nanos6/
Date: Thu, 29 Apr 2021 08:23:39
Message-Id: 1619668705.54f48fdf17d691b527f3818d9d340f1649c9977a.mgorny@gentoo
1 commit: 54f48fdf17d691b527f3818d9d340f1649c9977a
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Apr 29 03:58:25 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 29 03:58:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54f48fdf
7
8 sys-cluster/nanos6: remove useless use
9
10 those are useful only if nanos6 source is a git repo
11
12 Package-Manager: Portage-3.0.18, Repoman-3.0.3
13 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
14
15 sys-cluster/nanos6/metadata.xml | 1 -
16 sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild | 11 +++--------
17 2 files changed, 3 insertions(+), 9 deletions(-)
18
19 diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml
20 index ad6f5454f..dd376439d 100644
21 --- a/sys-cluster/nanos6/metadata.xml
22 +++ b/sys-cluster/nanos6/metadata.xml
23 @@ -15,7 +15,6 @@
24 <!--<flag name="cuda">enable CUDA</flag>-->
25 <flag name="debug">enable extra assertions and checks in debug - may cause significant slowdown</flag>
26 <flag name="dlb">enable dynamic management and sharing of computing resources</flag>
27 - <flag name="embed-code-changes">embed into the runtime any code changes present in the source</flag>
28 <flag name="execution-workflow">Enable execution using the Execution Workflow</flag>
29 <flag name="extrae">to generate execution traces for offline performance analysis with paraver</flag>
30 <!--<flag name="jemalloc">use jemalloc as the default memory allocator, providing better performance than the default glibc implementation</flag>-->
31
32 diff --git a/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild
33 index 64d0428f4..0ddc6ac31 100644
34 --- a/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild
35 +++ b/sys-cluster/nanos6/nanos6-2.5.1-r1.ebuild
36 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/bsc-pm/nanos6/archive/refs/tags/version-${PV}.tar.gz
37 LICENSE="GPL-3"
38 SLOT="0"
39 KEYWORDS="~amd64"
40 -IUSE="cluster debug dlb embed-code-changes execution-workflow extrae git papi unwind"
41 +IUSE="cluster debug dlb execution-workflow extrae papi unwind"
42 #chrono-arch build fail
43 #jemalloc require custom stuff
44 #TODO: cuda pqos mercurium memkind k1om
45 @@ -24,7 +24,6 @@ RDEPEND="
46
47 cluster? ( virtual/mpi )
48 dlb? ( sys-cluster/dlb )
49 - embed-code-changes? ( dev-vcs/git )
50 extrae? ( sys-cluster/extrae[nanos] )
51 papi? ( dev-libs/papi )
52 unwind? ( sys-libs/libunwind )
53 @@ -42,6 +41,7 @@ src_prepare() {
54 src_configure() {
55 local myconf=(
56 --disable-chrono-arch
57 + --disable-embed-code-changes
58 --disable-openacc
59 --disable-static
60
61 @@ -51,6 +51,7 @@ src_configure() {
62 --with-libnuma="${EPREFIX}/usr"
63 --with-pic
64
65 + --without-git
66 --without-k1om
67 --without-nanos6-clang
68 --without-nanos6-mercurium
69 @@ -58,16 +59,10 @@ src_configure() {
70
71 $(use_enable cluster)
72 $(use_enable debug extra-debug)
73 - $(use_enable embed-code-changes)
74 $(use_enable execution-workflow)
75 )
76 use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" )
77
78 - if use embed-code-changes; then
79 - myconf+=( "--with-git=${EPREFIX}/usr" )
80 - else
81 - myconf+=( "--without-git" )
82 - fi
83 if use extrae; then
84 myconf+=( "--with-extrae=${EPREFIX}/usr/$(get_libdir)/extrae" )
85 else