From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/gappa/
Date: Wed, 9 Jun 2021 14:25:20 +0000 (UTC) [thread overview]
Message-ID: <1623248716.1f496e085b4a6dbd477c8749be667e4c1bbfd48a.andrewammerlaan@gentoo> (raw)
commit: 1f496e085b4a6dbd477c8749be667e4c1bbfd48a
Author: Lucas Mitrak <lucas <AT> lucasmitrak <DOT> com>
AuthorDate: Wed Jun 9 11:35:20 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Jun 9 14:25:16 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1f496e08
sci-mathematics/gappa: Add multiprocessing.eclass for makeopts_jobs
* Add inherit multiprocessing.eclass for makeopts_jobs
* This is because remake does not understand -l nor --load-average
This commit was tested in a docker image with dev-util/ebuildtester.
This commit was written, tested, and submitted by Lucas Mitrak.
Signed-off-by: Lucas Mitrak <lucas <AT> lucasmitrak.com>
Closes: https://github.com/gentoo/sci/pull/1090
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-mathematics/gappa/gappa-1.3.5.ebuild | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/sci-mathematics/gappa/gappa-1.3.5.ebuild b/sci-mathematics/gappa/gappa-1.3.5.ebuild
index d7907989d..58ce7ffe7 100644
--- a/sci-mathematics/gappa/gappa-1.3.5.ebuild
+++ b/sci-mathematics/gappa/gappa-1.3.5.ebuild
@@ -3,6 +3,8 @@
EAPI=7
+inherit multiprocessing
+
DESCRIPTION="Verifying and proving properties on floating-point or fixed-point arithmetic"
HOMEPAGE="http://gappa.gforge.inria.fr/"
SRC_URI="https://gforge.inria.fr/frs/download.php/file/38044/${P}.tar.gz"
@@ -28,12 +30,8 @@ src_prepare() {
}
src_compile() {
- # Remove --load-average or -l because remake does not accept these
- echo ${MAKEOPTS} | egrep -o '(\-l|\-\-load\-average)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null
- if [ $? -eq 0 ]; then
- MAKEOPTS="${MAKEOPTS/$(echo ${MAKEOPTS} | egrep -o '(\-l|\-\-load\-average)(=?|[[:space:]]*)[[:digit:]]+')/}"
- fi
- ./remake -d ${MAKEOPTS} || die "emake failed"
+ # Only accept number of parrellel jobs because remake does not understand --load-average
+ ./remake -d -j$(makeopts_jobs) || die "emake failed"
if use doc; then
./remake doc/html/index.html
fi
next reply other threads:[~2021-06-09 14:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-09 14:25 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-03 19:09 [gentoo-commits] proj/sci:master commit in: sci-mathematics/gappa/ Andrew Ammerlaan
2021-06-09 14:25 Andrew Ammerlaan
2021-06-09 14:25 Andrew Ammerlaan
2021-03-04 12:09 Andrew Ammerlaan
2021-03-04 12:09 Andrew Ammerlaan
2015-09-21 19:05 Justin Lecher
2014-09-16 17:01 Christoph Junghans
2013-08-12 21:27 Sebastien Fabbro
2013-01-14 14:10 Jonathan-Christofer Demay
2012-02-06 14:31 Jonathan-Christofer Demay
2011-06-25 17:22 Justin Lecher
2011-02-13 8:02 Jonathan-Christofer Demay
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=1623248716.1f496e085b4a6dbd477c8749be667e4c1bbfd48a.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--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