1 |
commit: 67bf2a16e4c15b634284896a2415836004bde622 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 29 21:23:26 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 29 21:40:05 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67bf2a16 |
7 |
|
8 |
sys-libs/libomp: Add OpenMP Tools Interface support |
9 |
|
10 |
sys-libs/libomp/libomp-9999.ebuild | 3 ++- |
11 |
sys-libs/libomp/metadata.xml | 1 + |
12 |
2 files changed, 3 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/sys-libs/libomp/libomp-9999.ebuild b/sys-libs/libomp/libomp-9999.ebuild |
15 |
index c64f840..78ab407 100644 |
16 |
--- a/sys-libs/libomp/libomp-9999.ebuild |
17 |
+++ b/sys-libs/libomp/libomp-9999.ebuild |
18 |
@@ -18,7 +18,7 @@ EGIT_REPO_URI="http://llvm.org/git/openmp.git |
19 |
LICENSE="UoI-NCSA" |
20 |
SLOT="0" |
21 |
KEYWORDS="" |
22 |
-IUSE="hwloc test" |
23 |
+IUSE="hwloc ompt test" |
24 |
|
25 |
RDEPEND="hwloc? ( sys-apps/hwloc:0= )" |
26 |
# tests: |
27 |
@@ -46,6 +46,7 @@ multilib_src_configure() { |
28 |
local mycmakeargs=( |
29 |
-DLIBOMP_LIBDIR_SUFFIX="${libdir#lib}" |
30 |
-DLIBOMP_USE_HWLOC=$(usex hwloc) |
31 |
+ -DLIBOMP_OMPT_SUPPORT=$(usex ompt) |
32 |
# do not install libgomp.so & libiomp5.so aliases |
33 |
-DLIBOMP_INSTALL_ALIASES=OFF |
34 |
# disable unnecessary hack copying stuff back to srcdir |
35 |
|
36 |
diff --git a/sys-libs/libomp/metadata.xml b/sys-libs/libomp/metadata.xml |
37 |
index a6f393e..ca91e84 100644 |
38 |
--- a/sys-libs/libomp/metadata.xml |
39 |
+++ b/sys-libs/libomp/metadata.xml |
40 |
@@ -10,6 +10,7 @@ |
41 |
</maintainer> |
42 |
<use> |
43 |
<flag name='hwloc'>Enable CPU affinity support via hwloc</flag> |
44 |
+ <flag name='ompt'>Enable OpenMP Tools Interface support</flag> |
45 |
</use> |
46 |
<longdescription>The OpenMP subproject of LLVM is intended to contain all of the components required to build an executing OpenMP program that are outside the compiler itself.</longdescription> |
47 |
</pkgmetadata> |