summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-8-release-16xbyy.inc
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-03-05 09:31:06 +0000
committerMaxin B. John <maxin.john@intel.com>2018-03-06 11:03:31 +0200
commit0325253a995039f70836c6d6d98e6cb315fa297f (patch)
tree96502d7881b84e2bd0bc8fdf0235de4e1e3171b9 /recipes-core/openjdk/openjdk-8-release-16xbyy.inc
parent3668ba76f44bc778ba4446236088c22948a644d0 (diff)
downloadmeta-java-0325253a995039f70836c6d6d98e6cb315fa297f.tar.gz
openjdk-8: add aarch64 support
This is using the aarch64 port to make it work, which is at version u161b15. We also add one patch to make this work with musl, too. Because the aarch64 port is fetched from a different repository, the version specific include has been split so as to have all common parts (URIs, patches, configuration bits) in one single file, and version specific bits (checksum, mercurial commit ID), in another file, to ease maintenance, and make distinguishing easier. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-release-16xbyy.inc')
-rw-r--r--recipes-core/openjdk/openjdk-8-release-16xbyy.inc87
1 files changed, 87 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-8-release-16xbyy.inc b/recipes-core/openjdk/openjdk-8-release-16xbyy.inc
new file mode 100644
index 0000000..ab72830
--- /dev/null
+++ b/recipes-core/openjdk/openjdk-8-release-16xbyy.inc
@@ -0,0 +1,87 @@
1PATCHES_URI = "\
2 file://remove-shell-variables-from-autoheader.patch;striplevel=0 \
3 file://filter-aclocal-copy-too.patch;striplevel=0 \
4 file://dont-expect-fqpn-for-make.patch;striplevel=0 \
5 file://openjdk8-no-genx11-in-headless.patch;striplevel=0 \
6 file://openjdk8-no-unused-deps.patch;striplevel=0 \
7 file://openjdk8-find-compiler-fix-env-respect.patch;striplevel=0 \
8 file://openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch;striplevel=0 \
9 file://0001-jdk-comparison-between-pointer-and-integer.patch \
10 file://0002-hotspot-fix-compilation-with-security-flags-enabled.patch \
11 file://0003-jdk-Allow-using-a-system-installed-libjpeg.patch \
12 file://0004-jdk-Allow-using-a-system-installed-libpng.patch \
13 file://0005-hotspot-use-correct-include-for-poll.patch \
14 file://0006-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch \
15 file://0007-jdk-use-correct-include-for-poll.patch \
16 file://0008-jdk-use-correct-include-for-signal.patch \
17 file://0009-jdk-disable-backtrace-musl-build-fix.patch \
18"
19# some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch
20# reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html
21# by Roman Kennke (rkennke at redhat.com)
22LIBPNG_NEON_PATCH = "file://openjdk8-fix-libpng-neon-build.patch;striplevel=0"
23LIBPNG_NEON_PATCH_aarch64 = ""
24PATCHES_URI_append_class-target = "\
25 file://openjdk8-restrict-to-staging-dir.patch;striplevel=0 \
26 file://openjdk8-fix-shark-build.patch;striplevel=0 \
27 file://openjdk8-fix-shark-stdc++11.patch;striplevel=0 \
28 file://openjdk8-fix-assembler-flag-handling-in-makefile.patch;striplevel=0 \
29 file://openjdk8-fix-adlc-flags.patch;striplevel=0 \
30 file://openjdk8-add-missing-linker-flags.patch;striplevel=0 \
31 ${LIBPNG_NEON_PATCH} \
32"
33PATCHES_URI_append_libc-musl = "\
34 file://musl-0001-hotspot-stop-using-obsolete-isnanf.patch \
35 file://musl-0002-jdk-give-a-much-bigger-buffer-to-getmntent_r.patch \
36 file://musl-0003-jdk-fix-libjvm-load-on-musl-set-LD_LIBRARY_PATH.patch \
37 file://musl-0004-jdk-remove-sysctl.h-include-musl-build-fix.patch \
38 file://musl-0005-hotspot-disable-agent-build.patch \
39 file://musl-0006-hotspot-os_linux-remove-glibc-dependencies.patch \
40 file://musl-0007-hotspot-os_linux_x86-remove-glibc-dependencies-fpu_c.patch \
41 file://musl-0008-jdk-musl-build-fix-use-SIGRTMAX-rather-than-__SIGRTM.patch \
42 file://musl-0009-jdk-musl-has-gethostby_r.patch \
43"
44PATCHES_URI_append_libc-musl_aarch64 = " file://hotspot-remaining-musl-fixes-aarch64.patch"
45
46# Name of the directory containing the compiled output
47BUILD_DIR = "openjdk.build"
48BUILD_DIR_ECJ = "openjdk.build-ecj"
49
50# Force arm mode for now
51ARM_INSTRUCTION_SET_armv4t = "ARM"
52
53# readdir_r was deprecated in glibc-2.24. Ignore the error for now
54# NOTE: When updating the recipe, please check if this is still needed
55CFLAGS_append = " -Wno-error=deprecated-declarations"
56
57# Enable zero mode for arm based builds, as normal hotspot fails to build
58PACKAGECONFIG_append_arm = " zero"
59
60OPENJDK_ARCH_PORT = "jdk8u"
61OPENJDK_ARCH_PORT_aarch64 = "aarch64-port"
62OPENJDK_HG_U = "jdk8u"
63OPENJDK_HG_URL = "http://hg.openjdk.java.net/${OPENJDK_ARCH_PORT}/${OPENJDK_HG_U}"
64
65OPENJDK_FILE = "${OPENJDK_CHANGESET}.tar.bz2"
66OPENJDK_URI = "${OPENJDK_HG_URL}/archive/${OPENJDK_FILE};name=openjdk"
67
68HOTSPOT_FILE = "${HOTSPOT_CHANGESET}.tar.bz2"
69HOTSPOT_URI = "${OPENJDK_HG_URL}/hotspot/archive/${HOTSPOT_FILE};name=hotspot;unpack=false"
70
71CORBA_FILE = "${CORBA_CHANGESET}.tar.bz2"
72CORBA_URI = "${OPENJDK_HG_URL}/corba/archive/${CORBA_FILE};name=corba;unpack=false"
73
74JAXP_FILE = "${JAXP_CHANGESET}.tar.bz2"
75JAXP_URI = "${OPENJDK_HG_URL}/jaxp/archive/${JAXP_FILE};name=jaxp;unpack=false"
76
77JAXWS_FILE = "${JAXWS_CHANGESET}.tar.bz2"
78JAXWS_URI = "${OPENJDK_HG_URL}/jaxws/archive/${JAXWS_FILE};name=jaxws;unpack=false"
79
80JDK_FILE = "${JDK_CHANGESET}.tar.bz2"
81JDK_URI = "${OPENJDK_HG_URL}/jdk/archive/${JDK_FILE};name=jdk;unpack=false"
82
83LANGTOOLS_FILE = "${LANGTOOLS_CHANGESET}.tar.bz2"
84LANGTOOLS_URI = "${OPENJDK_HG_URL}/langtools/archive/${LANGTOOLS_FILE};name=langtools;unpack=false"
85
86NASHORN_FILE = "${NASHORN_CHANGESET}.tar.bz2"
87NASHORN_URI = "${OPENJDK_HG_URL}/nashorn/archive/${NASHORN_FILE};name=nashorn;unpack=false"