From b698bd73d424438f1b68535acef590f553e4892e Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 29 Nov 2020 09:57:32 +0100 Subject: sys-libs/libomp: Delay llvm.org_set_globals after vars 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-11.0.0.9999.ebuild | 5 +++-- sys-libs/libomp/libomp-12.0.0.9999.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'sys-libs') diff --git a/sys-libs/libomp/libomp-11.0.0.9999.ebuild b/sys-libs/libomp/libomp-11.0.0.9999.ebuild index 5bffd6685f64..f715bdea5353 100644 --- a/sys-libs/libomp/libomp-11.0.0.9999.ebuild +++ b/sys-libs/libomp/libomp-11.0.0.9999.ebuild @@ -9,8 +9,6 @@ inherit cmake-multilib linux-info llvm.org python-any-r1 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" HOMEPAGE="https://openmp.llvm.org" -LLVM_COMPONENTS=( openmp ) -llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" @@ -39,6 +37,9 @@ BDEPEND="dev-lang/perl >=sys-devel/clang-6 )" +LLVM_COMPONENTS=( openmp ) +llvm.org_set_globals + python_check_deps() { has_version "dev-python/lit[${PYTHON_USEDEP}]" } diff --git a/sys-libs/libomp/libomp-12.0.0.9999.ebuild b/sys-libs/libomp/libomp-12.0.0.9999.ebuild index eefd40f7c1f0..2164682a260e 100644 --- a/sys-libs/libomp/libomp-12.0.0.9999.ebuild +++ b/sys-libs/libomp/libomp-12.0.0.9999.ebuild @@ -9,8 +9,6 @@ inherit cmake-multilib linux-info llvm.org python-any-r1 DESCRIPTION="OpenMP runtime library for LLVM/clang compiler" HOMEPAGE="https://openmp.llvm.org" -LLVM_COMPONENTS=( openmp llvm/include ) -llvm.org_set_globals LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" SLOT="0" @@ -39,6 +37,9 @@ BDEPEND="dev-lang/perl >=sys-devel/clang-6 )" +LLVM_COMPONENTS=( openmp llvm/include ) +llvm.org_set_globals + python_check_deps() { has_version "dev-python/lit[${PYTHON_USEDEP}]" } -- cgit v1.2.3-65-gdbad