summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-05-16 10:12:24 +0200
committerDavid Seifert <soap@gentoo.org>2022-05-16 10:12:24 +0200
commitfaf769d186491d3a619407ad1da95f799eec8292 (patch)
tree02a5b7fce5b6c910f17cd1de0485b6b45a02ddd2 /sci-libs/symengine
parentsci-libs/parmetis: [QA] use tc-check-openmp correctly (diff)
downloadgentoo-faf769d186491d3a619407ad1da95f799eec8292.tar.gz
gentoo-faf769d186491d3a619407ad1da95f799eec8292.tar.bz2
gentoo-faf769d186491d3a619407ad1da95f799eec8292.zip
sci-libs/symengine: [QA] use tc-check-openmp correctly
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/symengine')
-rw-r--r--sci-libs/symengine/symengine-0.6.0-r1.ebuild6
-rw-r--r--sci-libs/symengine/symengine-0.7.0-r1.ebuild6
-rw-r--r--sci-libs/symengine/symengine-0.8.1-r1.ebuild6
-rw-r--r--sci-libs/symengine/symengine-0.9.0.ebuild4
4 files changed, 17 insertions, 5 deletions
diff --git a/sci-libs/symengine/symengine-0.6.0-r1.ebuild b/sci-libs/symengine/symengine-0.6.0-r1.ebuild
index 1454ac3431a0..1abca70085d2 100644
--- a/sci-libs/symengine/symengine-0.6.0-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.6.0-r1.ebuild
@@ -31,7 +31,11 @@ DEPEND="${RDEPEND}
"
pkg_pretend() {
- use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_prepare() {
diff --git a/sci-libs/symengine/symengine-0.7.0-r1.ebuild b/sci-libs/symengine/symengine-0.7.0-r1.ebuild
index 8b1becc43784..1ffb62e2d6eb 100644
--- a/sci-libs/symengine/symengine-0.7.0-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.7.0-r1.ebuild
@@ -35,7 +35,11 @@ PATCHES=(
)
pkg_pretend() {
- use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_prepare() {
diff --git a/sci-libs/symengine/symengine-0.8.1-r1.ebuild b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
index 68c0939697b8..c389bae57034 100644
--- a/sci-libs/symengine/symengine-0.8.1-r1.ebuild
+++ b/sci-libs/symengine/symengine-0.8.1-r1.ebuild
@@ -34,7 +34,11 @@ PATCHES=(
)
pkg_pretend() {
- use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_prepare() {
diff --git a/sci-libs/symengine/symengine-0.9.0.ebuild b/sci-libs/symengine/symengine-0.9.0.ebuild
index c4f5a9c49a23..bf374c6ddaca 100644
--- a/sci-libs/symengine/symengine-0.9.0.ebuild
+++ b/sci-libs/symengine/symengine-0.9.0.ebuild
@@ -35,11 +35,11 @@ PATCHES=(
)
pkg_pretend() {
- use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
- use openmp && [[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
use llvm && llvm_pkg_setup
}