Commit fd83a7c5 authored by Tom Kooij's avatar Tom Kooij
Browse files

Build HDF5 with thread safety enabled

Build HDF5 with --enable-thread-safe flag.
parent 160edd79
......@@ -227,7 +227,7 @@ function build_hdf5 {
local short=$(echo $HDF5_VERSION | awk -F "." '{printf "%d.%d", $1, $2}')
fetch_unpack $hdf5_url/hdf5-$short/hdf5-$HDF5_VERSION/src/hdf5-$HDF5_VERSION.tar.gz
(cd hdf5-$HDF5_VERSION \
&& ./configure --with-szlib=$BUILD_PREFIX --prefix=$BUILD_PREFIX \
&& ./configure --with-szlib=$BUILD_PREFIX --prefix=$BUILD_PREFIX --enable-thread-safe \
&& make -j4 \
&& make install)
touch hdf5-stamp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment