summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-07-01 19:54:16 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-07-01 19:54:16 +0000
commit5f1bf60eea088315c9639ff525044e85a53e28ec (patch)
tree49dd91be4893b61db2ed1cc680759de287954ff0
parentFix building by making sure ant-core is in classpath. Fixes bug #228847. (diff)
downloadgentoo-2-5f1bf60eea088315c9639ff525044e85a53e28ec.tar.gz
gentoo-2-5f1bf60eea088315c9639ff525044e85a53e28ec.tar.bz2
gentoo-2-5f1bf60eea088315c9639ff525044e85a53e28ec.zip
Increase memory on amd64 to 256 from 128.
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r5 i686)
-rw-r--r--dev-util/weka/ChangeLog5
-rw-r--r--dev-util/weka/weka-3.5.7.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/dev-util/weka/ChangeLog b/dev-util/weka/ChangeLog
index 6565b67c509e..25684b3945d5 100644
--- a/dev-util/weka/ChangeLog
+++ b/dev-util/weka/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/weka
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.27 2008/05/09 20:43:17 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/ChangeLog,v 1.28 2008/07/01 19:54:16 betelgeuse Exp $
+
+ 01 Jul 2008; Petteri Räty <betelgeuse@gentoo.org> weka-3.5.7.ebuild:
+ Increase memory on amd64 to 256 from 128.
09 May 2008; Christian Faulhammer <opfer@gentoo.org> weka-3.5.7.ebuild:
stable x86, bug 219670
diff --git a/dev-util/weka/weka-3.5.7.ebuild b/dev-util/weka/weka-3.5.7.ebuild
index 256da096fb74..180713fd6beb 100644
--- a/dev-util/weka/weka-3.5.7.ebuild
+++ b/dev-util/weka/weka-3.5.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.5.7.ebuild,v 1.3 2008/05/09 20:43:17 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.5.7.ebuild,v 1.4 2008/07/01 19:54:16 betelgeuse Exp $
JAVA_PKG_IUSE="doc source"
@@ -34,7 +34,9 @@ src_compile() {
echo "Compiling sources"
# We need to set the maximum heap size to 128m to avoid
# OutOfMemoryErrors
- find src/ -name "*.java" | xargs javac -J-Xmx128m -d build \
+ local mem=128
+ use amd64 && mem=256
+ find src/ -name "*.java" | xargs javac -J-Xmx${mem}m -d build \
$(java-pkg_javac-args) -sourcepath src/ -nowarn \
|| die "Failed to compile sources"
@@ -54,7 +56,7 @@ src_compile() {
mkdir -p dist/doc
echo "Generating javadocs"
find src/ -name "*.java" | xargs javadoc -d dist/doc/ \
- -J-Xmx128m -quiet || die "Failed to generate javadoc"
+ -J-Xmx${mem}m -quiet || die "Failed to generate javadoc"
fi
}