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