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

Check aarch64 in machine.arch property #73

Closed
jiegec opened this issue Jul 5, 2022 · 1 comment
Closed

Check aarch64 in machine.arch property #73

jiegec opened this issue Jul 5, 2022 · 1 comment
Assignees
Labels
Component - Build Build system improvement

Comments

@jiegec
Copy link

jiegec commented Jul 5, 2022

In the build.xml

hdfview/build.xml

Lines 152 to 157 in 8547480

<!-- Build 64-bit binary.
Note: os.arch gives the architecture of the JVM, NOT the OS;
It is assumed that a ppc JVM is used for building on a powerpc system. -->
<condition property="machine.arch" value="ppc64le" else="x86_64">
<matches pattern="ppc64le" string="${os.arch}" />
</condition>

It only handles two arch: x86_64 and ppc64le. I am building HDFView on aarch64, and it collected the wrong x86_64 native jars for swt.

I have to override the property in command line:

ant -Dmachine.arch=aarch64
@byrnHDF byrnHDF self-assigned this Mar 14, 2023
@byrnHDF byrnHDF added the Component - Build Build system improvement label Mar 14, 2023
@byrnHDF
Copy link
Collaborator

byrnHDF commented Jun 22, 2023

Fixed in next release.

@byrnHDF byrnHDF closed this as completed Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build Build system improvement
Projects
None yet
Development

No branches or pull requests

2 participants