summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-libs/libomp/libomp-11.0.0.9999.ebuild5
-rw-r--r--sys-libs/libomp/libomp-12.0.0.9999.ebuild5
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}]"
}