From: Michał Górny Date: Thu, 29 Sep 2016 21:23:26 +0000 (+0200) Subject: sys-libs/libomp: Add OpenMP Tools Interface support X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=67bf2a16e4c15b634284896a2415836004bde622;p=gentoo.git sys-libs/libomp: Add OpenMP Tools Interface support --- 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 @@ Enable CPU affinity support via hwloc + Enable OpenMP Tools Interface support 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.