diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-09-30 10:24:29 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-09-30 10:25:32 +0200 |
commit | 775b95ff4880315ae8215aa271eecf1363509d57 (patch) | |
tree | 98809e287a565eaf3395556ad7fb596a20d958b9 /sys-libs/libomp | |
parent | sys-libs/libomp: Add MULTILIB_USEDEP on sys-apps/hwloc to -9999 (diff) | |
download | gentoo-775b95ff4880315ae8215aa271eecf1363509d57.tar.gz gentoo-775b95ff4880315ae8215aa271eecf1363509d57.tar.bz2 gentoo-775b95ff4880315ae8215aa271eecf1363509d57.zip |
sys-libs/libomp: Backport hwloc & ompt support to 3.9.0
Diffstat (limited to 'sys-libs/libomp')
-rw-r--r-- | sys-libs/libomp/libomp-3.9.0.ebuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-libs/libomp/libomp-3.9.0.ebuild b/sys-libs/libomp/libomp-3.9.0.ebuild index 856ea692af71..ed972e831f65 100644 --- a/sys-libs/libomp/libomp-3.9.0.ebuild +++ b/sys-libs/libomp/libomp-3.9.0.ebuild @@ -16,9 +16,11 @@ SRC_URI="http://llvm.org/releases/${PV}/${MY_P}.src.tar.xz" LICENSE="UoI-NCSA" SLOT="0/3.9" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="hwloc ompt" -DEPEND="dev-lang/perl" +RDEPEND="hwloc? ( sys-apps/hwloc:0=[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + dev-lang/perl" S="${WORKDIR}/${MY_P}.src" @@ -31,6 +33,8 @@ multilib_src_configure() { local libdir="$(get_libdir)" 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 |