[oe-commits] Henning Heinold : ecj: for ecj-initial 512 mb heapsize is okay for ecj-bootstrap we need 1024

git version control git at git.openembedded.org
Thu Mar 31 20:00:32 UTC 2011


Module: openembedded.git
Branch: testing-next
Commit: b8d3dc71dff99464245ee07a0fa27a4b48b60031
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b8d3dc71dff99464245ee07a0fa27a4b48b60031

Author: Henning Heinold <h.heinold at tarent.de>
Date:   Fri Mar 25 18:07:21 2011 +0100

ecj: for ecj-initial 512 mb heapsize is okay for ecj-bootstrap we need 1024

---

 recipes/ecj/ecj-bootstrap-native.bb |    2 +-
 recipes/ecj/ecj-initial.bb          |    6 +++---
 recipes/ecj/files/ecj-initial.in    |    1 +
 recipes/ecj/files/ecj.in            |    2 +-
 4 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/recipes/ecj/ecj-bootstrap-native.bb b/recipes/ecj/ecj-bootstrap-native.bb
index 594b08c..bdb9797 100644
--- a/recipes/ecj/ecj-bootstrap-native.bb
+++ b/recipes/ecj/ecj-bootstrap-native.bb
@@ -17,7 +17,7 @@ SRC_URI = "file://ecj.in"
 
 S = "${WORKDIR}"
 
-PR = "r2"
+PR = "r3"
 
 JAR = "ecj-bootstrap.jar"
 
diff --git a/recipes/ecj/ecj-initial.bb b/recipes/ecj/ecj-initial.bb
index 8ddbc7c..1809cd6 100644
--- a/recipes/ecj/ecj-initial.bb
+++ b/recipes/ecj/ecj-initial.bb
@@ -9,9 +9,9 @@ LICENSE = "EPL"
 
 DEPENDS = "libecj-bootstrap"
 
-PR = "r1"
+PR = "r2"
 
-SRC_URI = "file://ecj.in"
+SRC_URI = "file://ecj-initial.in"
 
 NATIVE_INSTALL_WORKS = "1"
 
@@ -26,7 +26,7 @@ do_compile() {
   echo "#!/bin/sh" > ecj-initial
   echo "ECJ_JAR=${STAGING_DATADIR}/java/${JAR}" >> ecj-initial
   echo "RUNTIME=java-initial" >> ecj-initial
-  cat ecj.in >> ecj-initial
+  cat ecj-initial.in >> ecj-initial
 }
 
 do_install() {
diff --git a/recipes/ecj/files/ecj-initial.in b/recipes/ecj/files/ecj-initial.in
new file mode 100755
index 0000000..2099991
--- /dev/null
+++ b/recipes/ecj/files/ecj-initial.in
@@ -0,0 +1 @@
+${RUNTIME} -Xmx512m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"}
diff --git a/recipes/ecj/files/ecj.in b/recipes/ecj/files/ecj.in
index 2099991..2cff259 100755
--- a/recipes/ecj/files/ecj.in
+++ b/recipes/ecj/files/ecj.in
@@ -1 +1 @@
-${RUNTIME} -Xmx512m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"}
+${RUNTIME} -Xmx1024m -cp ${ECJ_JAR} org.eclipse.jdt.internal.compiler.batch.Main ${1+"$@"}





More information about the Openembedded-commits mailing list