1 |
commit: 270cf23973818956d6f8246e584eda7dd11c5940 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jun 30 22:53:47 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Jun 30 23:40:19 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=270cf239 |
7 |
|
8 |
sys-cluster/scorep: add openacc useflag |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
sys-cluster/scorep/metadata.xml | 1 + |
13 |
sys-cluster/scorep/scorep-7.1-r1.ebuild | 5 ++--- |
14 |
sys-cluster/scorep/scorep-7.1.ebuild | 4 ++-- |
15 |
3 files changed, 5 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/sys-cluster/scorep/metadata.xml b/sys-cluster/scorep/metadata.xml |
18 |
index b371d2d2e..68bcf7105 100644 |
19 |
--- a/sys-cluster/scorep/metadata.xml |
20 |
+++ b/sys-cluster/scorep/metadata.xml |
21 |
@@ -9,6 +9,7 @@ |
22 |
<flag name="gcc-plugin">Enable support for the GCC plug-in instrumentation</flag> |
23 |
<flag name="llvm">Enable the user library wrapping feature</flag> |
24 |
<flag name="online-access">Enable Online Access</flag> |
25 |
+ <flag name="openacc">Enable support for OpenACC</flag> |
26 |
<flag name="opencl">Build with libOpenCL support</flag> |
27 |
<flag name="openshmem">Use the SHMEM compiler</flag> |
28 |
<flag name="pmi">Build with libpmi support</flag> |
29 |
|
30 |
diff --git a/sys-cluster/scorep/scorep-7.1-r1.ebuild b/sys-cluster/scorep/scorep-7.1-r1.ebuild |
31 |
index e44d04bb6..eadffa9b9 100644 |
32 |
--- a/sys-cluster/scorep/scorep-7.1-r1.ebuild |
33 |
+++ b/sys-cluster/scorep/scorep-7.1-r1.ebuild |
34 |
@@ -18,8 +18,7 @@ S="${WORKDIR}/sources.edf930df" |
35 |
LICENSE="BSD" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64" |
38 |
-IUSE="debug gcc-plugin llvm mpi online-access opencl openshmem pmi unwind" |
39 |
-#TODO: openacc |
40 |
+IUSE="debug gcc-plugin llvm mpi online-access +openacc opencl openshmem pmi unwind" |
41 |
|
42 |
CDEPEND=" |
43 |
dev-libs/cubelib |
44 |
@@ -123,7 +122,6 @@ src_configure() { |
45 |
local myconf=( |
46 |
--disable-cuda |
47 |
--disable-experimental-platform |
48 |
- --disable-openacc |
49 |
--disable-platform-mic |
50 |
--disable-static |
51 |
--enable-shared |
52 |
@@ -144,6 +142,7 @@ src_configure() { |
53 |
--without-pdt |
54 |
|
55 |
$(use_enable debug) |
56 |
+ $(use_enable openacc) |
57 |
$(use_with gcc-plugin) |
58 |
$(use_with online-access) |
59 |
$(use_with opencl libOpenCL) |
60 |
|
61 |
diff --git a/sys-cluster/scorep/scorep-7.1.ebuild b/sys-cluster/scorep/scorep-7.1.ebuild |
62 |
index 6ac68d960..d12a677a3 100644 |
63 |
--- a/sys-cluster/scorep/scorep-7.1.ebuild |
64 |
+++ b/sys-cluster/scorep/scorep-7.1.ebuild |
65 |
@@ -16,7 +16,7 @@ SRC_URI="https://perftools.pages.jsc.fz-juelich.de/cicd/${PN}/tags/${P}/${P}.tar |
66 |
LICENSE="BSD" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64" |
69 |
-IUSE="debug gcc-plugin llvm mpi online-access opencl openshmem pmi unwind" |
70 |
+IUSE="debug gcc-plugin llvm mpi online-access +openacc opencl openshmem pmi unwind" |
71 |
|
72 |
CDEPEND=" |
73 |
dev-libs/cubelib |
74 |
@@ -122,7 +122,6 @@ src_configure() { |
75 |
local myconf=( |
76 |
--disable-cuda |
77 |
--disable-experimental-platform |
78 |
- --disable-openacc |
79 |
--disable-platform-mic |
80 |
--disable-static |
81 |
--enable-shared |
82 |
@@ -143,6 +142,7 @@ src_configure() { |
83 |
--without-pdt |
84 |
|
85 |
$(use_enable debug) |
86 |
+ $(use_enable openacc) |
87 |
$(use_with gcc-plugin) |
88 |
$(use_with online-access) |
89 |
$(use_with opencl libOpenCL) |