From 44a9bc3c408e3c109466d03ea6853bcd9c0530cc Mon Sep 17 00:00:00 2001 From: David Seifert Date: Tue, 1 Mar 2022 10:01:14 +0100 Subject: dev-cpp/kokkos: [QA] use tc-check-openmp Signed-off-by: David Seifert --- dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'dev-cpp/kokkos') 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() { -- cgit v1.2.3-65-gdbad