Skip to content

Commit

Permalink
Fix build for HDF5 with Linux on ARM64 (pull #1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
grohli authored Dec 21, 2024
1 parent 2d25547 commit 387ac0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hdf5/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ case $PLATFORM in
./configure --prefix=$INSTALL_PATH CC="gcc -m64" CXX="g++ -m64" --enable-cxx --enable-java
make -j $MAKEJ
make install-strip
elif [[ "$MACHINE_TYPE" =~ aarch64 ]]; then
./configure --prefix=$INSTALL_PATH CC="gcc" CXX="g++" --enable-cxx --enable-java
make -j $MAKEJ
make install-strip
else
echo "Not native arm so assume cross compiling"
patch -Np1 < ../../../hdf5-linux-arm64.patch || true
Expand Down

0 comments on commit 387ac0c

Please sign in to comment.