summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-07-16 09:22:49 +0100
committerMarek Szuba <marecki@gentoo.org>2021-07-16 12:43:23 +0100
commitf15605e4f0751e5b69f4424a676b8ef4d7a96e33 (patch)
tree9784abad11aefa8d76e22bcde49620f0e8a78bb6 /dev-libs/starpu
parentsys-power/upower: Drop 0.99.9-r1 (diff)
downloadgentoo-f15605e4f0751e5b69f4424a676b8ef4d7a96e33.tar.gz
gentoo-f15605e4f0751e5b69f4424a676b8ef4d7a96e33.tar.bz2
gentoo-f15605e4f0751e5b69f4424a676b8ef4d7a96e33.zip
dev-libs/starpu-1.3.8: add OpenMP compiler check
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/starpu')
-rw-r--r--dev-libs/starpu/starpu-1.3.8.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/starpu/starpu-1.3.8.ebuild b/dev-libs/starpu/starpu-1.3.8.ebuild
index 059437fc1efe..748f3df483f0 100644
--- a/dev-libs/starpu/starpu-1.3.8.ebuild
+++ b/dev-libs/starpu/starpu-1.3.8.ebuild
@@ -42,6 +42,10 @@ BDEPEND="
doc? ( app-doc/doxygen virtual/latex-base )
"
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
src_prepare() {
default