Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UMA build is not supported on AArch64 macOS #19501

Open
knn-k opened this issue May 15, 2024 · 5 comments
Open

UMA build is not supported on AArch64 macOS #19501

knn-k opened this issue May 15, 2024 · 5 comments

Comments

@knn-k
Copy link
Contributor

knn-k commented May 15, 2024

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
Copy link
Contributor Author

knn-k commented May 15, 2024

I enabled only CMake build in my PR #13700.

@keithc-ca
Copy link
Contributor

In answer to the question ibmruntimes/openj9-openjdk-jdk11#780 (comment), 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.

@knn-k
Copy link
Contributor Author

knn-k commented May 17, 2024

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
Copy link
Contributor Author

knn-k commented May 21, 2024

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
Copy link
Contributor Author

knn-k commented May 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants