-
Notifications
You must be signed in to change notification settings - Fork 743
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
IBM Semeru fails to install ARM64 build: Unsupported architecture for IBM Semeru: arm64, the following are supported: x64, x86, ppc64le, ppc64, s390x, aarch64 #559
Comments
Hi, @vlsi 👋 Thanks for the issue, we will take a look! |
@vlsi, actually, Semeru supports only these types of architectures: x64, x86, ppc64le, ppc64, s390x, aarch64. You can check it on their official web-site: https://developer.ibm.com/languages/java/semeru-runtimes/downloads/. I think that in your case, you may use |
@IvanZosimov , could you please double-check? The issue is that setup-java action attetempts to use In practice, The root cause is that |
@IvanZosimov , check this: setup-java/src/distributions/microsoft/installer.ts Lines 51 to 52 in 9eda6b5
microsoft/installer.ts uses this.distributionArchitecture() which makes arm64 -> aarch64 conversion: setup-java/src/distributions/base-installer.ts Lines 190 to 191 in 9eda6b5
The conversion is missing in |
Thanks for clarification, @vlsi I'll check that and get back to you with updates. |
@IvanZosimov any update on this? still occurs today |
Description:
The action fails to install Semeru arm64.
I guess the installer should use
.distributionArchitecture()
instead of.architecture
: https://github.com/actions/setup-java/blob/9eda6b51cc4f6ee99be3dd5537b85e389e47bda9/src/distributions/semeru/installer.ts#L36C47-L36C59For example, Microsoft installer uses
.distributionArchitecture()
:setup-java/src/distributions/microsoft/installer.ts
Line 51 in 9eda6b5
Task version:
Download action repository 'actions/setup-java@v3' (SHA:0ab4596768b603586c0de567f2430c30f5b0d2b0)
Platform:
Runner type:
Expected behavior:
JDK should install.
Actual behavior:
Resolution fails with
Unsupported architecture for IBM Semeru: arm64, the following are supported: x64, x86, ppc64le, ppc64, s390x, aarch64
The text was updated successfully, but these errors were encountered: