From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- sci-libs/openblas/openblas-0.3.18.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sci-libs/openblas/openblas-0.3.18.ebuild') diff --git a/sci-libs/openblas/openblas-0.3.18.ebuild b/sci-libs/openblas/openblas-0.3.18.ebuild index 3ac219fa41cf..ec15a244d0b8 100644 --- a/sci-libs/openblas/openblas-0.3.18.ebuild +++ b/sci-libs/openblas/openblas-0.3.18.ebuild @@ -30,6 +30,8 @@ PATCHES=( ) pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp + elog "This software has a massive number of options that" elog "are configurable and it is *impossible* for all of" elog "those to fit inside any manageable ebuild." @@ -57,7 +59,7 @@ pkg_setup() { export HOSTCC="$(tc-getBUILD_CC)" # threading options - use openmp && tc-check-openmp + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp USE_THREAD=0 if use openmp; then USE_THREAD=1; USE_OPENMP=1; -- cgit v1.2.3