aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2014-11-30 10:37:04 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2014-11-30 10:37:04 +0100
commit94d627ca2faa885ee1d301e08231bc1a5042a567 (patch)
treea619b9e5efbfc6fd9054f63ba7b47644d3a72ef7 /sys-cluster
parentsys-cluster/mpe2: Add missing die (diff)
downloadsci-94d627ca2faa885ee1d301e08231bc1a5042a567.tar.gz
sci-94d627ca2faa885ee1d301e08231bc1a5042a567.tar.bz2
sci-94d627ca2faa885ee1d301e08231bc1a5042a567.zip
sys-cluster/mpe2: Set MAKEOPTS (instead of emake -j1)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/mpe2/mpe2-1.3.0.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-cluster/mpe2/mpe2-1.3.0.ebuild b/sys-cluster/mpe2/mpe2-1.3.0.ebuild
index a1728a742..e96b358c8 100644
--- a/sys-cluster/mpe2/mpe2-1.3.0.ebuild
+++ b/sys-cluster/mpe2/mpe2-1.3.0.ebuild
@@ -69,6 +69,10 @@ pkg_setup() {
src_prepare() {
# Don't assume path contains ./
sed -i 's,\($MPERUN\) $pgm,\1 ./$pgm,' sbin/mpetestexeclog.in || die
+
+ # No parallel make:
+ # http://trac.mcs.anl.gov/projects/mpich2/ticket/1095#comment:1
+ MAKEOPTS+=" -j1"
}
src_configure() {
@@ -118,9 +122,7 @@ src_test() {
return 0
fi
- # No parallel make:
- # http://trac.mcs.anl.gov/projects/mpich2/ticket/1095#comment:1
- emake -j1 \
+ emake \
CC="${S}"/bin/mpecc \
FC="${S}"/bin/mpefc \
MPERUN="${ROOT}/usr/bin/mpiexec -n 4" \
@@ -135,8 +137,6 @@ src_test() {
}
src_install() {
- # No parallel make:
- # http://trac.mcs.anl.gov/projects/mpich2/ticket/1095#comment:1
- emake -j1 DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die
rm -f "${D}"/usr/sbin/mpeuninstall || die
}