From 24b529d9e4c496e6cb55e36b403168ff7e512409 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 1 Nov 2019 19:04:23 +0100 Subject: sys-libs/libomp: Port to llvm.org eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sys-libs/libomp/libomp-10.0.0.9999.ebuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'sys-libs/libomp/libomp-10.0.0.9999.ebuild') diff --git a/sys-libs/libomp/libomp-10.0.0.9999.ebuild b/sys-libs/libomp/libomp-10.0.0.9999.ebuild index 100db97281e6..5f49236cbe1a 100644 --- a/sys-libs/libomp/libomp-10.0.0.9999.ebuild +++ b/sys-libs/libomp/libomp-10.0.0.9999.ebuild @@ -4,13 +4,12 @@ EAPI=7 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) -inherit cmake-multilib git-r3 linux-info multiprocessing python-any-r1 +inherit cmake-multilib linux-info llvm.org multiprocessing python-any-r1 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" HOMEPAGE="https://openmp.llvm.org" -SRC_URI="" -EGIT_REPO_URI="https://github.com/llvm/llvm-project.git" -S=${WORKDIR}/${P}/openmp +LLVM_COMPONENTS=( openmp ) +llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" @@ -67,11 +66,6 @@ pkg_setup() { use test && python-any-r1_pkg_setup } -src_unpack() { - git-r3_fetch - git-r3_checkout '' '' '' openmp -} - multilib_src_configure() { local libdir="$(get_libdir)" local mycmakeargs=( -- cgit v1.2.3-65-gdbad