From: "Marius Brehler" <marbre@linux.sungazer.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/symengine/
Date: Tue, 6 Oct 2015 21:01:45 +0000 (UTC) [thread overview]
Message-ID: <1442093669.0b3f38a08d320d1d460ae9d2f93076c7ff1ec84c.marbre@gentoo> (raw)
commit: 0b3f38a08d320d1d460ae9d2f93076c7ff1ec84c
Author: layman <layman <AT> localhost>
AuthorDate: Sat Sep 12 12:54:43 2015 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Sat Sep 12 21:34:29 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0b3f38a0
sci-libs/symengine: cleaning up syntax; remove openmpi dep
Package-Manager: portage-2.2.20-prefix
sci-libs/symengine/symengine-0.1.0.ebuild | 11 ++++-------
sci-libs/symengine/symengine-9999.ebuild | 12 ++++--------
2 files changed, 8 insertions(+), 15 deletions(-)
diff --git a/sci-libs/symengine/symengine-0.1.0.ebuild b/sci-libs/symengine/symengine-0.1.0.ebuild
index cc464d1..8f549ee 100644
--- a/sci-libs/symengine/symengine-0.1.0.ebuild
+++ b/sci-libs/symengine/symengine-0.1.0.ebuild
@@ -23,7 +23,6 @@ RDEPEND="
boost? ( dev-libs/boost )
python? ( dev-python/numpy[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
- openmp? ( sys-cluster/openmpi )
python? (
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}] )"
@@ -31,12 +30,10 @@ DEPEND="${RDEPEND}
CMAKE_BUILD_TYPE=Release
pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if use openmp; then
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current selected gcc"
- die "need openmp capable gcc"
- fi
+ if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+ ewarn "OpenMP is not available in your current selected gcc"
+ die "need openmp capable gcc"
fi
fi
}
diff --git a/sci-libs/symengine/symengine-9999.ebuild b/sci-libs/symengine/symengine-9999.ebuild
index 2949716..9e6ab53 100644
--- a/sci-libs/symengine/symengine-9999.ebuild
+++ b/sci-libs/symengine/symengine-9999.ebuild
@@ -24,21 +24,17 @@ RDEPEND="
boost? ( dev-libs/boost )
python? ( dev-python/numpy[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}
- openmp? ( sys-cluster/openmpi )
python? (
dev-python/cython[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}] )"
-
CMAKE_BUILD_TYPE=Release
pkg_pretend() {
- if [[ ${MERGE_TYPE} != binary ]]; then
- if use openmp; then
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
- ewarn "OpenMP is not available in your current selected gcc"
- die "need openmp capable gcc"
- fi
+ if use openmp && [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
+ ewarn "OpenMP is not available in your current selected gcc"
+ die "need openmp capable gcc"
fi
fi
}
next reply other threads:[~2015-10-06 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-06 21:01 Marius Brehler [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-05-03 2:41 [gentoo-commits] proj/sci:master commit in: sci-libs/symengine/ Matthias Maier
2015-10-06 21:01 Marius Brehler
2015-10-06 21:01 Marius Brehler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1442093669.0b3f38a08d320d1d460ae9d2f93076c7ff1ec84c.marbre@gentoo \
--to=marbre@linux.sungazer.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox