RFR: 8357119: Make Zero the default and only variant of HotSpot for iOS [v2]
Magnus Ihse Bursie
ihse at openjdk.org
Fri May 16 15:49:56 UTC 2025
On Fri, 16 May 2025 08:58:37 GMT, Julian Waters <jwaters at openjdk.org> wrote:
>> Currently, the Zero variant of HotSpot must be manually selected for mobile to compile properly for iOS, since iOS does not allow writeable and executable sections. Since Zero is, to my knowledge, the only valid HotSpot variant for iOS, this default should be handled by the build rather than require the developer to have specific knowledge about iOS and the mobile fork. I also took the opportunity to explicitly disallow selecting other JVM variants at all for iOS, this can be rolled back if my assumption turns out to be incorrect. While here, also touch up the build docs a little.
>
> Julian Waters has updated the pull request incrementally with one additional commit since the last revision:
>
> Touch up README.md
README.md line 43:
> 41: --with-libffi-include=<support-dir-absolute-path>/libffi/include \
> 42: --with-libffi-lib=<support-dir-absolute-path>/libffi/libs \
> 43: --with-cups-include=<support-dir-absolute-path>/cups-2.3.6
Configure arguments don't have to be absolute paths; configure will rewrite then to absolute path if they are relative.
-------------
PR Review Comment: https://git.openjdk.org/mobile/pull/35#discussion_r2093290989
More information about the mobile-dev
mailing list