Skip to content

Commit 601881a

Browse files
authored
Merge pull request #22 from wongcht/update-hdf5-1.14.6
update hdf5 to 1.14.6
2 parents b30e7f7 + cc8de5c commit 601881a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎dockerfiles/Dockerfile‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,15 +304,14 @@ RUN mkdir /tmp/hdf4 \
304304
&& rm -rf /tmp/hdf4
305305

306306
# libhdf5
307-
ENV HDF5_VERSION=1.12.0
307+
ENV HDF5_VERSION=1.14.6
308308
RUN mkdir /tmp/hdf5 \
309-
&& curl -sfL https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${HDF5_VERSION%.*}/hdf5-${HDF5_VERSION}/src/hdf5-$HDF5_VERSION.tar.gz | tar zxf - -C /tmp/hdf5 --strip-components=1 \
310-
&& cd /tmp/hdf5 \
309+
&& curl -sfL https://github.com/HDFGroup/hdf5/releases/download/hdf5_${HDF5_VERSION}/hdf5-${HDF5_VERSION}.tar.gz | tar zxf - -C /tmp/hdf5 \
310+
&& cd /tmp/hdf5/hdf5-${HDF5_VERSION} \
311311
&& CFLAGS="-O2 -Wl,-S" CXXFLAGS="-O2 -Wl,-S" ./configure \
312312
--prefix=$PREFIX \
313313
--with-szlib=$PREFIX \
314314
--enable-cxx \
315-
--enable-thread-safe \
316315
--disable-static \
317316
&& make -j $(nproc) --silent && make install && make clean \
318317
&& rm -rf /tmp/hdf5

0 commit comments

Comments
 (0)