Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/nanos6/
Date: Thu, 09 Sep 2021 12:25:48
Message-Id: 1631190342.5b425cb7aa06c627b6665e103df7109c217cbecb.Alessandro-Barbieri@gentoo
1 commit: 5b425cb7aa06c627b6665e103df7109c217cbecb
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Thu Sep 9 11:34:10 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Thu Sep 9 12:25:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b425cb7
7
8 sys-cluster/nanos6: hack for bad configure
9
10 Closes: https://bugs.gentoo.org/812200
11 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
12
13 sys-cluster/nanos6/nanos6-2.6-r4.ebuild | 8 ++------
14 1 file changed, 2 insertions(+), 6 deletions(-)
15
16 diff --git a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
17 index 0def7bb68..c136752b9 100644
18 --- a/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
19 +++ b/sys-cluster/nanos6/nanos6-2.6-r4.ebuild
20 @@ -63,15 +63,12 @@ src_configure() {
21 $(use_enable debug extra-debug)
22 )
23
24 + # https://github.com/bsc-pm/nanos6/issues/6
25 + use ctf2prv && myconf+=( "--with-babeltrace2=${EPREFIX}/usr" )
26 use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" )
27 use memkind && myconf+=( "--with-memkind=${EPREFIX}/usr" )
28 use pqos && myconf+=( "--with-pqos=${EPREFIX}/usr" )
29
30 - if use ctf2prv; then
31 - myconf+=( "--with-babeltrace2=${EPREFIX}/usr" )
32 - else
33 - myconf+=( "--without-babeltrace2" )
34 - fi
35 if use extrae; then
36 myconf+=( "--with-extrae=${EPREFIX}/usr" )
37 else
38 @@ -100,7 +97,6 @@ src_configure() {
39
40 econf "${myconf[@]}"
41 }
42 -# --without-cuda
43
44 src_install() {
45 default