[oe-commits] Robert Schuster : jamvm-initial 1.x.y: Use 512MB for Xmx by default, install libjvm in private directory.

git version control git at git.openembedded.org
Wed Jan 20 14:12:29 UTC 2010


Module: openembedded.git
Branch: stable/2009
Commit: 5df184fe3a38afc2361065b1486f9cf4378c538b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5df184fe3a38afc2361065b1486f9cf4378c538b

Author: Robert Schuster <robertschuster at fsfe.org>
Date:   Wed Jan 20 03:40:00 2010 +0000

jamvm-initial 1.x.y: Use 512MB for Xmx by default, install libjvm in private directory.

Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Acked-by: Koen Kooi <koen at openembedded.org>

---

 recipes/jamvm/jamvm-initial_1.4.5.bb |    8 ++++++--
 recipes/jamvm/jamvm-initial_1.5.0.bb |    6 +++++-
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/recipes/jamvm/jamvm-initial_1.4.5.bb b/recipes/jamvm/jamvm-initial_1.4.5.bb
index c71811d..1566deb 100644
--- a/recipes/jamvm/jamvm-initial_1.4.5.bb
+++ b/recipes/jamvm/jamvm-initial_1.4.5.bb
@@ -4,7 +4,7 @@ LICENSE = "GPL"
 
 DEPENDS = "zlib-native classpath-initial jikes-initial"
 
-PR = "r0"
+PR = "r1"
 
 PROVIDES = "virtual/java-initial"
 
@@ -19,12 +19,16 @@ ARM_INSTRUCTION_SET = "arm"
 
 inherit native autotools
 
+# libdir must be modified so that jamvm-initial and -native
+# do not interfere
 EXTRA_OECONF = "\
   --with-classpath-install-dir=${prefix} \
   --program-suffix=-initial \
+  --libdir=${STAGING_LIBDIR}/jamvm-initial \
   "
 
-CFLAGS += "-DDEFAULT_MAX_HEAP=16*MB"
+# jamvm-initial has to run some binaries which need lots of memory.
+CFLAGS += "-DDEFAULT_MAX_HEAP=512*MB"
 
 do_compile() {
   oe_runmake \
diff --git a/recipes/jamvm/jamvm-initial_1.5.0.bb b/recipes/jamvm/jamvm-initial_1.5.0.bb
index 050cf83..4ef56c1 100644
--- a/recipes/jamvm/jamvm-initial_1.5.0.bb
+++ b/recipes/jamvm/jamvm-initial_1.5.0.bb
@@ -19,12 +19,16 @@ ARM_INSTRUCTION_SET = "arm"
 
 inherit native autotools
 
+# libdir must be modified so that jamvm-initial and -native
+# do not interfere
 EXTRA_OECONF = "\
   --with-classpath-install-dir=${prefix} \
   --program-suffix=-initial \
+  --libdir=${STAGING_LIBDIR}/jamvm-initial \
   "
 
-CFLAGS += "-DDEFAULT_MAX_HEAP=16*MB"
+# jamvm-initial has to run some binaries which need lots of memory.
+CFLAGS += "-DDEFAULT_MAX_HEAP=512*MB"
 
 do_compile() {
   oe_runmake \





More information about the Openembedded-commits mailing list