JDK 11 build script for M1 Mac (aarch64 CPU architecture)
Main option is `openjdk-target=aarch64-apple-darwin`, other changes are to support build with that option:
- `-arch arm64` to cross-compile
- use external JavaNativeFoundation lib, as system is only for x86_64
- build darwin JDK11 inline, as we don't have that prebuilt yet
- minimal Xcode version is 12.3
Also couple changes to regular darwin build script:
- add option to skip Xcode SDK version check
- buid with Shenandoah GC (it is stable since 11.0.9 https://wiki.openjdk.java.net/display/shenandoah/Main#Main-JDKSupport)
- add autoconf into path for ./configure
Bug: 177263617
Test: manual
Change-Id: I344abbd7819b8ec66a0646b583df4b365b83c4f1
2 files changed