summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-05-16 10:12:08 +0200
committerDavid Seifert <soap@gentoo.org>2022-05-16 10:12:08 +0200
commite7e6e85fa6ad70ce179cbae21be690d0eb93978d (patch)
tree1ecfdbb82175961e0aac031ddb752780fe1c83a4 /dev-libs/starpu
parentdev-cpp/kokkos: [QA] use tc-check-openmp correctly (diff)
downloadgentoo-e7e6e85fa6ad70ce179cbae21be690d0eb93978d.tar.gz
gentoo-e7e6e85fa6ad70ce179cbae21be690d0eb93978d.tar.bz2
gentoo-e7e6e85fa6ad70ce179cbae21be690d0eb93978d.zip
dev-libs/starpu: [QA] use tc-check-openmp correctly
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/starpu')
-rw-r--r--dev-libs/starpu/starpu-1.2.6-r1.ebuild9
-rw-r--r--dev-libs/starpu/starpu-1.3.9.ebuild5
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/starpu/starpu-1.2.6-r1.ebuild b/dev-libs/starpu/starpu-1.2.6-r1.ebuild
index 1670ddc579cc..68d66beb7888 100644
--- a/dev-libs/starpu/starpu-1.2.6-r1.ebuild
+++ b/dev-libs/starpu/starpu-1.2.6-r1.ebuild
@@ -40,6 +40,15 @@ BDEPEND="
test? ( gcc-plugin? ( dev-scheme/guile ) )
"
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+ fortran-2_pkg_setup
+}
+
src_prepare() {
default
diff --git a/dev-libs/starpu/starpu-1.3.9.ebuild b/dev-libs/starpu/starpu-1.3.9.ebuild
index c829323b7573..e66702bd813c 100644
--- a/dev-libs/starpu/starpu-1.3.9.ebuild
+++ b/dev-libs/starpu/starpu-1.3.9.ebuild
@@ -42,8 +42,13 @@ BDEPEND="
doc? ( app-doc/doxygen virtual/latex-base )
"
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+ fortran-2_pkg_setup
}
src_prepare() {