jamvm-initial 1.x.y: Use 512MB for Xmx by default, install libjvm in private directory.
PATCH 1/1 jamvm-initial 1.x.y: Use 512MB for Xmx by default, install libjvm in private directory.
From: Robert Schuster <[email protected]>
Signed-off-by Marcin Juszkiewicz <[email protected]>
--- 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(-)
recipes/jamvm/jamvm-initial_1.4.5.bb +6 -2
@@ -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 \
recipes/jamvm/jamvm-initial_1.5.0.bb +5 -1
@@ -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 \
Signature · 1 line
1.6.6