From 387ac0ceef000da8d68bdc9157c1119c8a343068 Mon Sep 17 00:00:00 2001 From: grohli <22306963+grohli@users.noreply.github.com> Date: Sat, 21 Dec 2024 05:45:31 -0500 Subject: [PATCH] Fix build for HDF5 with Linux on ARM64 (pull #1553) --- hdf5/cppbuild.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hdf5/cppbuild.sh b/hdf5/cppbuild.sh index e105c5cb3fb..bfabf480ac3 100755 --- a/hdf5/cppbuild.sh +++ b/hdf5/cppbuild.sh @@ -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