From 604b345462a36923de0c410e4734cf2508e1e070 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Mon, 16 May 2022 10:12:07 +0200 Subject: dev-cpp/kokkos: [QA] use tc-check-openmp correctly Signed-off-by: David Seifert --- dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild index bc59929572fe..eaa8cf4e4ec1 100644 --- a/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild +++ b/dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild @@ -18,6 +18,10 @@ RESTRICT="!test? ( test )" DEPEND="sys-apps/hwloc:=" RDEPEND="${DEPEND}" +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + pkg_setup() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } -- cgit v1.2.3-65-gdbad