openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

UMA build is not supported on AArch64 macOS

Open knn-k opened this issue 1 year ago • 3 comments

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.

knn-k avatar May 15 '24 01:05 knn-k

I enabled only CMake build in my PR #13700.

knn-k avatar May 15 '24 01:05 knn-k

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.

keithc-ca avatar May 16 '24 16:05 keithc-ca

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.

knn-k avatar May 17 '24 08:05 knn-k

I found a problem while trying UMA build, and opened PR #19521 as the fix. CMake build does not fail with the problem.

knn-k avatar May 21 '24 05:05 knn-k

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.

knn-k avatar May 23 '24 04:05 knn-k

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.

knn-k avatar Feb 17 '25 07:02 knn-k