openjdk-8: recipe for jdk8u121-b13-aarch32
PATCH 1/1 openjdk-8: recipe for jdk8u121-b13-aarch32
Hi all,
The following patch adds a recipe for building the updated openjdk-8 ARM port. This JVM version is significantly faster than the current one. This is still "work in progress", but can be used to create a useful package. Regards,
Guy
P.S. I'm not going to be responsive on mail in the next weeks. Please accept my apology in advance for delayed answers.
---
Main changes:
- Fetch the code from the aarch32-port repository. This repository contains the C1 (Client) JIT, making it much faster than the currently used version.
- Compile using the newly available Client JVM variant.
- Don't apply some old patches that prevents the code from being compiled.
- Do not install modified jvm.cfg. Keep the built one instead.
Main issues:
- The license file change (address update) breaks the build of old versions.
- headful/X11 builds still fail.
--- recipes-core/openjdk/openjdk-8-common.inc | 4 +- recipes-core/openjdk/openjdk-8-cross.inc | 1 + recipes-core/openjdk/openjdk-8-native_121b13.bb | 2 + recipes-core/openjdk/openjdk-8-release-121b13.inc | 83 +++++++++++++++++++ recipes-core/openjdk/openjdk-8_121b13.bb | 99 +++++++++++++++++++++++ recipes-core/openjdk/openjre-8_121b13.bb | 54 +++++++++++++ 6 files changed, 242 insertions(+), 1 deletion(-) create mode 100644 recipes-core/openjdk/openjdk-8-native_121b13.bb create mode 100644 recipes-core/openjdk/openjdk-8-release-121b13.inc create mode 100644 recipes-core/openjdk/openjdk-8_121b13.bb create mode 100644 recipes-core/openjdk/openjre-8_121b13.bb
recipes-core/openjdk/openjdk-8-common.inc +3 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "Java runtime based upon the OpenJDK Project" HOMEPAGE = "http://http://openjdk.java.net/" LICENSE = "GPL-2.0-with-classpath-exception" -LIC_FILES_CHKSUM = "file://LICENSE;md5=7b4baeedfe2d40cb03536573bc2c89b1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3e0b59f8fac05c3c03d4a26bbda13f8f" inherit java autotools gettext qemu pkgconfig
@@ -196,6 +196,8 @@ def get_jdk_arch(d): jdk_arch = d.getVar('TRANSLATED_TARGET_ARCH', True) if jdk_arch == "x86-64": jdk_arch = "amd64" + elif jdk_arch == "arm": + jdk_arch = "aarch32" elif jdk_arch == "powerpc": jdk_arch = "ppc" elif jdk_arch == "powerpc64":
recipes-core/openjdk/openjdk-8-cross.inc +1 -0
@@ -28,6 +28,7 @@ PACKAGECONFIG[gif] = "--with-giflib=system,--with-giflib=bundled,giflib," export WANT_LLVM_RELEASE = "3.5.2" PACKAGECONFIG[zero] = "--with-jvm-variants=zero,,," PACKAGECONFIG[shark] = "--with-jvm-variants=zeroshark,,llvm3.5," +PACKAGECONFIG[client] = "--with-jvm-variants=client,,," PACKAGECONFIG[repack] = ",,,"
recipes-core/openjdk/openjdk-8-native_121b13.bb new file +2 -0
@@ -0,0 +1,2 @@ +require openjdk-8-release-121b13.inc +require openjdk-8-native.inc
recipes-core/openjdk/openjdk-8-release-121b13.inc new file +83 -0
83 lines not on this page · raw message
recipes-core/openjdk/openjdk-8_121b13.bb new file +99 -0
99 lines not on this page · raw message
recipes-core/openjdk/openjre-8_121b13.bb new file +54 -0
54 lines not on this page · raw message
Signature · 1 line
2.1.4