From patchwork Mon May 9 07:30:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2011.03-maintenance, 3/7] ecj: for ecj-initial 512 mb heapsize is okay for ecj-bootstrap we need 1024 Date: Mon, 09 May 2011 07:30:06 -0000 From: Stefan Schmidt X-Patchwork-Id: 3459 Message-Id: <3cf29cfac4a64afbc67a3a1de7aecab64ffad9d3.1304925139.git.stefan@buglabs.net> To: openembedded-devel@lists.openembedded.org From: Henning Heinold Signed-off-by: Stefan Schmidt --- 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(-) create mode 100755 recipes/ecj/files/ecj-initial.in 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+"$@"}