diff options
author | David Seifert <soap@gentoo.org> | 2022-05-16 10:12:07 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-05-16 10:12:07 +0200 |
commit | 604b345462a36923de0c410e4734cf2508e1e070 (patch) | |
tree | 5bfa72916ebd0382c6d99108cd1442c40bbe2066 /dev-cpp/kokkos | |
parent | app-arch/pxz: [QA] use tc-check-openmp correctly (diff) | |
download | gentoo-604b345462a36923de0c410e4734cf2508e1e070.tar.gz gentoo-604b345462a36923de0c410e4734cf2508e1e070.tar.bz2 gentoo-604b345462a36923de0c410e4734cf2508e1e070.zip |
dev-cpp/kokkos: [QA] use tc-check-openmp correctly
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-cpp/kokkos')
-rw-r--r-- | dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |