commit: 44a9bc3c408e3c109466d03ea6853bcd9c0530cc
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 1 09:01:14 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Mar 1 09:01:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44a9bc3c
dev-cpp/kokkos: [QA] use tc-check-openmp
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
index 52828debf318..bc59929572fe 100644
--- a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
+++ b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,13 +17,9 @@ RESTRICT="!test? ( test )"
DEPEND="sys-apps/hwloc:="
RDEPEND="${DEPEND}"
-BDEPEND=""
pkg_setup() {
- if [[ ${MERGE_TYPE} != binary ]] && \
- use openmp && ! tc-has-openmp ; then
- die "Need an OpenMP capable compiler"
- fi
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_configure() {