ecj: use '-Xcompiler-option --compiler-filter=speed' dalvikvm flag

This commit is contained in:
Leonid Pliushch 2020-07-26 03:23:12 +03:00
parent 7124c4d588
commit cfc0bb89e8
3 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ TERMUX_PKG_LICENSE="EPL-2.0"
_VERSION=4.12 _VERSION=4.12
local _DATE=201906051800 local _DATE=201906051800
TERMUX_PKG_VERSION=1:${_VERSION} TERMUX_PKG_VERSION=1:${_VERSION}
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://archive.eclipse.org/eclipse/downloads/drops${_VERSION:0:1}/R-${_VERSION}-${_DATE}/ecj-${_VERSION}.jar TERMUX_PKG_SRCURL=http://archive.eclipse.org/eclipse/downloads/drops${_VERSION:0:1}/R-${_VERSION}-${_DATE}/ecj-${_VERSION}.jar
TERMUX_PKG_SHA256=69dad18a1fcacd342a7d44c5abf74f50e7529975553a24c64bce0b29b86af497 TERMUX_PKG_SHA256=69dad18a1fcacd342a7d44c5abf74f50e7529975553a24c64bce0b29b86af497
TERMUX_PKG_PLATFORM_INDEPENDENT=true TERMUX_PKG_PLATFORM_INDEPENDENT=true

View File

@ -3,6 +3,7 @@
# -proc:none to disable annotation processing. # -proc:none to disable annotation processing.
# -7 for java 1.7 compatibility. # -7 for java 1.7 compatibility.
dalvikvm -Xmx256m \ dalvikvm -Xmx256m \
-Xcompiler-option --compiler-filter=speed \
-cp @TERMUX_PREFIX@/share/dex/ecj.jar \ -cp @TERMUX_PREFIX@/share/dex/ecj.jar \
org.eclipse.jdt.internal.compiler.batch.Main \ org.eclipse.jdt.internal.compiler.batch.Main \
-proc:none \ -proc:none \

View File

@ -3,6 +3,7 @@
# -proc:none to disable annotation processing. # -proc:none to disable annotation processing.
# -7 for java 1.7 compatibility. # -7 for java 1.7 compatibility.
dalvikvm -Xmx256m \ dalvikvm -Xmx256m \
-Xcompiler-option --compiler-filter=speed \
-cp @TERMUX_PREFIX@/share/dex/ecj.jar \ -cp @TERMUX_PREFIX@/share/dex/ecj.jar \
org.eclipse.jdt.internal.compiler.batch.Main \ org.eclipse.jdt.internal.compiler.batch.Main \
-proc:none \ -proc:none \