diff options
Diffstat (limited to 'sys-libs/libomp')
-rw-r--r-- | sys-libs/libomp/libomp-9999.ebuild | 3 | ||||
-rw-r--r-- | sys-libs/libomp/metadata.xml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/libomp/libomp-9999.ebuild b/sys-libs/libomp/libomp-9999.ebuild index c64f8401c8e5..78ab40789524 100644 --- a/sys-libs/libomp/libomp-9999.ebuild +++ b/sys-libs/libomp/libomp-9999.ebuild @@ -18,7 +18,7 @@ EGIT_REPO_URI="http://llvm.org/git/openmp.git LICENSE="UoI-NCSA" SLOT="0" KEYWORDS="" -IUSE="hwloc test" +IUSE="hwloc ompt test" RDEPEND="hwloc? ( sys-apps/hwloc:0= )" # tests: @@ -46,6 +46,7 @@ multilib_src_configure() { local mycmakeargs=( -DLIBOMP_LIBDIR_SUFFIX="${libdir#lib}" -DLIBOMP_USE_HWLOC=$(usex hwloc) + -DLIBOMP_OMPT_SUPPORT=$(usex ompt) # do not install libgomp.so & libiomp5.so aliases -DLIBOMP_INSTALL_ALIASES=OFF # disable unnecessary hack copying stuff back to srcdir diff --git a/sys-libs/libomp/metadata.xml b/sys-libs/libomp/metadata.xml index a6f393e8425a..ca91e84fce57 100644 --- a/sys-libs/libomp/metadata.xml +++ b/sys-libs/libomp/metadata.xml @@ -10,6 +10,7 @@ </maintainer> <use> <flag name='hwloc'>Enable CPU affinity support via hwloc</flag> + <flag name='ompt'>Enable OpenMP Tools Interface support</flag> </use> <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> </pkgmetadata> |