From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA226138330 for ; Fri, 30 Sep 2016 08:25:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F136E0962; Fri, 30 Sep 2016 08:25:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 151E7E0962 for ; Fri, 30 Sep 2016 08:25:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1ED2E340815 for ; Fri, 30 Sep 2016 08:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70DAB2494 for ; Fri, 30 Sep 2016 08:25:34 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1475223932.775b95ff4880315ae8215aa271eecf1363509d57.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libomp/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libomp/libomp-3.9.0.ebuild X-VCS-Directories: sys-libs/libomp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 775b95ff4880315ae8215aa271eecf1363509d57 X-VCS-Branch: master Date: Fri, 30 Sep 2016 08:25:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e77183f3-473d-436d-9e08-4376ed3da6ac X-Archives-Hash: 10ab45e4289aa8ac5ac58085a9e561ce commit: 775b95ff4880315ae8215aa271eecf1363509d57 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 30 08:24:29 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 30 08:25:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=775b95ff sys-libs/libomp: Backport hwloc & ompt support to 3.9.0 sys-libs/libomp/libomp-3.9.0.ebuild | 8 ++++++-- 1 file 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 856ea69..ed972e8 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