openj9
openj9 copied to clipboard
UMA build is not supported on AArch64 macOS
Build fails with the following message when --with-cmake=no is specified on AArch64 macOS. The spec file for AArch64 macOS is missing in the buildspecs directory.
Universal Makefile Adapter - for J9, version 2.5.1
Could not find osx_aarch64.spec file.
I enabled only CMake build in my PR #13700.
In answer to the question https://github.com/ibmruntimes/openj9-openjdk-jdk11/pull/780#issuecomment-2114419949, I don't know of any documentation that would help.
I would start with a copy of buildspecs/osx_x86-64.spec replacing x86 references with suitable replacements for aarch64. I expect changes will be required to makefiles like runtime/makelib/targets.mk.osx.inc.ftl.
Thank you for the comment.
I don't have the environment to try on, but I think the UMA build for x86-64 macOS does not work now.
I found a problem while trying UMA build, and opened PR #19521 as the fix. CMake build does not fail with the problem.
It turned out it requires much more work to enable UMA build than I had thought. I don't think it is worth spending time, and I opened PR #19538 instead.
UMA build has been disabled recently by https://github.com/ibmruntimes/openj9-openjdk-jdk/pull/928 and other PRs. This issue is no longer needed.