diff options
Diffstat (limited to 'dev-cpp/kokkos/kokkos-3.1.01-r1.ebuild')
-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 } |