HDFGroup/hdfview

Check aarch64 in machine.arch property

Closed this issue · 1 comments

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

Fixed in next release.