1 |
commit: 303f87e9940912f408dc570fb97bce640c3ddab2 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jun 30 17:01:54 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Jun 30 17:01:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=303f87e9 |
7 |
|
8 |
sys-cluster/nanos6: add 2.6, drop 2.5.1-r2 |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
sys-cluster/nanos6/Manifest | 2 +- |
13 |
sys-cluster/nanos6/metadata.xml | 3 +-- |
14 |
.../{nanos6-2.5.1-r2.ebuild => nanos6-2.6.ebuild} | 18 +++++++++++++----- |
15 |
3 files changed, 15 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/sys-cluster/nanos6/Manifest b/sys-cluster/nanos6/Manifest |
18 |
index 783a17df8..6ef8d525e 100644 |
19 |
--- a/sys-cluster/nanos6/Manifest |
20 |
+++ b/sys-cluster/nanos6/Manifest |
21 |
@@ -1 +1 @@ |
22 |
-DIST nanos6-2.5.1.tar.gz 744260 BLAKE2B 6b294391ebb18806da76b4bc73aaf6f7082ab4a61693ab300e130f04942bf50c1da884e5271765465bedab863cb1ce545a43ac09727152c0a52d69852e60e373 SHA512 c7da862aa41fb0be1a992f4fde7306a02c4159c05a89055f0144bf6a815c10ff5f7e7ee11b4afaa4c468afdd538a99b3b5971a896221b20928805b45d35e0335 |
23 |
+DIST nanos6-2.6.tar.gz 739246 BLAKE2B 4a5cb079b09fe2eaa40ee4064307dfc8facf1515801c6ddfe34b301b6c48df167a3603435e3998f28511738709e53d7245421bcdda69829268b7f86748d3de87 SHA512 af6e95f2d523a22b033f380efd4c36d44d85708b7852f692dc700c89dcca12405882d09437d672f06ffd0dbe429bc1e2f52f86e148882d254f7a3d8f8221b222 |
24 |
|
25 |
diff --git a/sys-cluster/nanos6/metadata.xml b/sys-cluster/nanos6/metadata.xml |
26 |
index dd376439d..c937f87cc 100644 |
27 |
--- a/sys-cluster/nanos6/metadata.xml |
28 |
+++ b/sys-cluster/nanos6/metadata.xml |
29 |
@@ -10,7 +10,6 @@ |
30 |
<remote-id type="github">bsc-pm/nanos6</remote-id> |
31 |
</upstream> |
32 |
<use> |
33 |
- <!--<flag name="chrono-arch">use an architecture-dependent chrono for timing instead of the default one</flag>--> |
34 |
<flag name="cluster">Enable OmpSs@Cluster support. This requires an MPI version that supports MPI_THREAD_MULTIPLE to be present in your environment</flag> |
35 |
<!--<flag name="cuda">enable CUDA</flag>--> |
36 |
<flag name="debug">enable extra assertions and checks in debug - may cause significant slowdown</flag> |
37 |
@@ -19,7 +18,7 @@ |
38 |
<flag name="extrae">to generate execution traces for offline performance analysis with paraver</flag> |
39 |
<!--<flag name="jemalloc">use jemalloc as the default memory allocator, providing better performance than the default glibc implementation</flag>--> |
40 |
<!--<flag name="k1om">specify the installation prefix of the k1om GNU compilers</flag>--> |
41 |
- <!--<flag name="memkind">specify the installation prefix of memkind</flag>--> |
42 |
+ <flag name="memkind">Add support for <pkg>dev-libs/memkind</pkg> in memory allocator</flag> |
43 |
<!--<flag name="mercurium">specify the installation prefix of the Nanos6 Mercurium compiler</flag>--> |
44 |
<flag name="papi">enable <pkg>dev-libs/papi</pkg> support</flag> |
45 |
<!--<flag name="pqos"> to generate real-time statistics of hardware counters</flag>--> |
46 |
|
47 |
diff --git a/sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild b/sys-cluster/nanos6/nanos6-2.6.ebuild |
48 |
similarity index 84% |
49 |
rename from sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild |
50 |
rename to sys-cluster/nanos6/nanos6-2.6.ebuild |
51 |
index e7624ed39..c9fec03aa 100644 |
52 |
--- a/sys-cluster/nanos6/nanos6-2.5.1-r2.ebuild |
53 |
+++ b/sys-cluster/nanos6/nanos6-2.6.ebuild |
54 |
@@ -12,10 +12,10 @@ S="${WORKDIR}/${PN}-version-${PV}" |
55 |
LICENSE="GPL-3" |
56 |
SLOT="0" |
57 |
KEYWORDS="~amd64" |
58 |
-IUSE="cluster debug dlb execution-workflow extrae papi unwind" |
59 |
+IUSE="cluster debug dlb execution-workflow extrae memkind papi unwind" |
60 |
#chrono-arch build fail |
61 |
#jemalloc require custom stuff |
62 |
-#TODO: cuda pqos mercurium memkind k1om |
63 |
+#TODO: cuda pqos mercurium k1om babeltrace2 |
64 |
#TODO: llvm-libunwind |
65 |
|
66 |
RDEPEND=" |
67 |
@@ -27,6 +27,7 @@ RDEPEND=" |
68 |
cluster? ( virtual/mpi ) |
69 |
dlb? ( sys-cluster/dlb ) |
70 |
extrae? ( sys-cluster/extrae[nanos] ) |
71 |
+ memkind? ( dev-libs/memkind ) |
72 |
papi? ( dev-libs/papi ) |
73 |
unwind? ( sys-libs/libunwind ) |
74 |
" |
75 |
@@ -40,7 +41,6 @@ src_prepare() { |
76 |
|
77 |
src_configure() { |
78 |
local myconf=( |
79 |
- --disable-chrono-arch |
80 |
--disable-embed-code-changes |
81 |
--disable-openacc |
82 |
--disable-static |
83 |
@@ -63,11 +63,21 @@ src_configure() { |
84 |
) |
85 |
use dlb && myconf+=( "--with-dlb=${EPREFIX}/usr" ) |
86 |
|
87 |
+# if use babeltrace; then |
88 |
+# myconf+=( "--with-babeltrace2=${EPREFIX}/usr" ) |
89 |
+# else |
90 |
+# myconf+=( "--without-babeltrace2" ) |
91 |
+# fi |
92 |
if use extrae; then |
93 |
myconf+=( "--with-extrae=${EPREFIX}/usr" ) |
94 |
else |
95 |
myconf+=( "--without-extrae" ) |
96 |
fi |
97 |
+ if use memkind; then |
98 |
+ myconf+=( "--with-memkind=${EPREFIX}/usr" ) |
99 |
+ else |
100 |
+ myconf+=( "--without-memkind" ) |
101 |
+ fi |
102 |
if use papi; then |
103 |
myconf+=( "--with-papi=${EPREFIX}/usr" ) |
104 |
else |
105 |
@@ -82,9 +92,7 @@ src_configure() { |
106 |
econf "${myconf[@]}" |
107 |
} |
108 |
# --without-pqos |
109 |
-# --without-jemalloc |
110 |
# --without-cuda |
111 |
-# --without-memkind |
112 |
|
113 |
src_install() { |
114 |
default |