LICENSE="UoI-NCSA"
SLOT="0"
KEYWORDS=""
-IUSE="hwloc test"
+IUSE="hwloc ompt test"
RDEPEND="hwloc? ( sys-apps/hwloc:0= )"
# tests:
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
</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>