From: "Nicolas Bock" <nicolasbock@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/charm/
Date: Thu, 6 Jun 2013 15:57:04 +0000 (UTC) [thread overview]
Message-ID: <1370486895.4035cbb8e5ba1e29440634b0cb256e5583e9c02c.nicolasbock@gentoo> (raw)
commit: 4035cbb8e5ba1e29440634b0cb256e5583e9c02c
Author: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
AuthorDate: Thu Jun 6 02:48:15 2013 +0000
Commit: Nicolas Bock <nicolasbock <AT> gmail <DOT> com>
CommitDate: Thu Jun 6 02:48:15 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4035cbb8
Added USE flag for building the charmdebugger.
---
sys-cluster/charm/charm-6.5.0.ebuild | 16 +++++++++++-----
sys-cluster/charm/metadata.xml | 1 +
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/sys-cluster/charm/charm-6.5.0.ebuild b/sys-cluster/charm/charm-6.5.0.ebuild
index e798d1e..8ae5bec 100644
--- a/sys-cluster/charm/charm-6.5.0.ebuild
+++ b/sys-cluster/charm/charm-6.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://charm.cs.uiuc.edu/distrib/${P}.tar.gz"
LICENSE="charm"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="cmkopt doc examples smp static-libs tcp"
+IUSE="charmdebug cmkopt doc examples smp static-libs tcp"
DEPEND="
doc? (
@@ -22,13 +22,19 @@ DEPEND="
virtual/tex-base )"
RDEPEND=""
+REQUIRED_USE="charmdebug? ( !cmkopt )"
+
FORTRAN_STANDARD="90"
src_prepare() {
- #epatch "${FILESDIR}"/${P}-gcc-4.7.patch
+ # Build shared libraries by default.
+ CHARM_OPTS="--build-shared"
- # For production, disable debugging features.
- CHARM_OPTS="--with-production --build-shared"
+ if use charmdebug; then
+ CHARM_OPTS+=" --with-charmdebug"
+ else
+ CHARM_OPTS+=" --with-production"
+ fi
# TCP instead of default UDP for socket comunication
# protocol
@@ -43,7 +49,7 @@ src_prepare() {
# CMK optimization
if use cmkopt; then
- append-flags -DCMK_OPTIMIZE=1
+ append-cppflags -DCMK_OPTIMIZE=1
fi
sed \
diff --git a/sys-cluster/charm/metadata.xml b/sys-cluster/charm/metadata.xml
index f555a9f..37dbe45 100644
--- a/sys-cluster/charm/metadata.xml
+++ b/sys-cluster/charm/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>sci</herd>
<use>
+ <flag name="charmdebug">Enable the charm debugger</flag>
<flag name="cmkopt">Enable CMK optimisation</flag>
<flag name="tcp">Use TCP (instead of UPD) for socket communication</flag>
</use>
next reply other threads:[~2013-06-06 15:57 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-06 15:57 Nicolas Bock [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-06 0:11 [gentoo-commits] proj/sci:master commit in: sys-cluster/charm/ Christoph Junghans
2014-02-20 18:54 Christoph Junghans
2014-02-19 21:54 Nicolas Bock
2014-01-06 21:46 Nicolas Bock
2014-01-03 15:29 Nicolas Bock
2014-01-02 16:55 Nicolas Bock
2014-01-02 16:15 Nicolas Bock
2013-12-13 19:12 Nicolas Bock
2013-11-22 16:42 Nicolas Bock
2013-11-20 4:47 Nicolas Bock
2013-10-18 20:33 Christoph Junghans
2013-10-01 15:41 Christoph Junghans
2013-09-27 20:07 Nicolas Bock
2013-09-27 18:18 Nicolas Bock
2013-09-27 17:36 Nicolas Bock
2013-09-11 17:28 Nicolas Bock
2013-07-03 16:43 Nicolas Bock
2013-07-03 16:41 Nicolas Bock
2013-07-02 3:32 Nicolas Bock
2013-06-26 21:55 Nicolas Bock
2013-06-26 20:38 Nicolas Bock
2013-06-26 5:04 Christoph Junghans
2013-06-24 21:43 Nicolas Bock
2013-06-24 21:33 Nicolas Bock
2013-05-31 15:30 Nicolas Bock
2013-05-31 4:33 Nicolas Bock
2013-05-31 4:33 Nicolas Bock
2013-05-30 21:40 Nicolas Bock
2013-05-30 19:18 Nicolas Bock
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=1370486895.4035cbb8e5ba1e29440634b0cb256e5583e9c02c.nicolasbock@gentoo \
--to=nicolasbock@gmail.com \
--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