diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-11-29 09:57:32 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-11-29 09:58:59 +0100 |
commit | b698bd73d424438f1b68535acef590f553e4892e (patch) | |
tree | 0bb55769d8f0f05878769de3236b7c691ee2e461 /sys-libs | |
parent | sys-libs/libcxx: Delay llvm.org_set_globals after vars (diff) | |
download | gentoo-b698bd73d424438f1b68535acef590f553e4892e.tar.gz gentoo-b698bd73d424438f1b68535acef590f553e4892e.tar.bz2 gentoo-b698bd73d424438f1b68535acef590f553e4892e.zip |
sys-libs/libomp: Delay llvm.org_set_globals after vars
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libomp/libomp-11.0.0.9999.ebuild | 5 | ||||
-rw-r--r-- | sys-libs/libomp/libomp-12.0.0.9999.ebuild | 5 |
2 files changed, 6 insertions, 4 deletions
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}]" } |