From: "Andrew Savchenko" <bircoph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/gamess/
Date: Wed, 24 Oct 2018 22:27:39 +0000 (UTC) [thread overview]
Message-ID: <1540420047.243e204391a21eb4520f069be98359de9ecac556.bircoph@gentoo> (raw)
commit: 243e204391a21eb4520f069be98359de9ecac556
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 22:27:27 2018 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 22:27:27 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=243e2043
sci-chemistry/gamess: add memory check for USE=msucc
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
sci-chemistry/gamess/gamess-20180930.3.ebuild | 14 +++++++++++++-
sci-chemistry/gamess/metadata.xml | 2 +-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/sci-chemistry/gamess/gamess-20180930.3.ebuild b/sci-chemistry/gamess/gamess-20180930.3.ebuild
index ce3b8eba8..fe96a626b 100644
--- a/sci-chemistry/gamess/gamess-20180930.3.ebuild
+++ b/sci-chemistry/gamess/gamess-20180930.3.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit fortran-2 flag-o-matic pax-utils toolchain-funcs
+inherit check-reqs fortran-2 flag-o-matic pax-utils toolchain-funcs
DESCRIPTION="A powerful quantum chemistry package"
HOMEPAGE="http://www.msg.chem.iastate.edu/GAMESS/GAMESS.html"
@@ -40,6 +40,17 @@ RESTRICT="fetch"
GAMESS_DOWNLOAD="http://www.msg.ameslab.gov/GAMESS/License_Agreement.html"
GAMESS_VERSION="September 30, 2018 R3"
+pre_build_checks() {
+ if use msucc; then
+ CHECKREQS_MEMORY=6G
+ check-reqs_pkg_setup
+ fi
+}
+
+pkg_pretend() {
+ pre_build_checks
+}
+
pkg_nofetch() {
echo
elog "Please download ${PN}-current.tar.gz from"
@@ -66,6 +77,7 @@ get_fcomp() {
}
pkg_setup() {
+ pre_build_checks
fortran-2_pkg_setup
get_fcomp
# currently amd64 is only supported with gfortran
diff --git a/sci-chemistry/gamess/metadata.xml b/sci-chemistry/gamess/metadata.xml
index 7c7fbea32..7f7e33d86 100644
--- a/sci-chemistry/gamess/metadata.xml
+++ b/sci-chemistry/gamess/metadata.xml
@@ -11,7 +11,7 @@
</maintainer>
<use>
<flag name="msucc">Build Michigan State University CCT3 and CCSD3A methods.
- This will increase build time and memory requirements by multiple times</flag>
+ This will increase build time and memory requirements by ~10 times</flag>
<flag name="neo">Enable NEO for nuclear basis support</flag>
<flag name="pax_kernel">Make this package work on PAX kernels</flag>
<flag name="qmmm-tinker">Enable tinker qmmm code</flag>
next reply other threads:[~2018-10-24 22:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-24 22:27 Andrew Savchenko [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-10 13:55 [gentoo-commits] proj/sci:master commit in: sci-chemistry/gamess/ Andrew Ammerlaan
2021-08-31 9:45 Andrew Ammerlaan
2021-03-19 11:09 Andrew Ammerlaan
2021-03-05 8:42 Andrew Ammerlaan
2021-01-20 9:06 Andrew Ammerlaan
2018-10-27 23:49 Andrew Savchenko
2016-11-29 8:48 Alexey Shvetsov
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=1540420047.243e204391a21eb4520f069be98359de9ecac556.bircoph@gentoo \
--to=bircoph@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