RFR: 8346233: [mobile] enable static-libs-image for iOS
Johan Vos
jvos at openjdk.org
Sat Dec 14 15:15:40 UTC 2024
This PR makes it possible to build hotspot with zero interpreter for ios using
`make static-libs-image`
This creates, amongst the native classlibs that we already had, a libjvm.a library that can be used on iOS.
Configuring the build can be done similar to what I do in my configuration:
sh configure \
--with-conf-name=zero-ios-aarch64 \
--disable-warnings-as-errors \
--openjdk-target=aarch64-macos-ios \
--with-build-jdk=/opt/jdk-25-jv.jdk \
--with-boot-jdk=/opt/jdk-24.jdk/Contents/Home \
--with-jvm-variants=zero \
--with-libffi-include=/Users/johan/libffi/exp/t2/libffi-3.4.5/build_iphoneos-arm64/include \
--with-libffi-lib=/Users/johan/libffi/exp/t2/libffi-3.4.5/build_iphoneos-arm64/.libs \
--with-sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk \
--with-cups-include=../support/cups-2.3.6
-------------
Commit messages:
- Allow building hotspot zero for ios-aarch64
Changes: https://git.openjdk.org/mobile/pull/32/files
Webrev: https://webrevs.openjdk.org/?repo=mobile&pr=32&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8346233
Stats: 46 lines in 15 files changed: 34 ins; 2 del; 10 mod
Patch: https://git.openjdk.org/mobile/pull/32.diff
Fetch: git fetch https://git.openjdk.org/mobile.git pull/32/head:pull/32
PR: https://git.openjdk.org/mobile/pull/32
More information about the mobile-dev
mailing list