1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00
LatAnalyze/ci-scripts/install-hdf5.sh

18 lines
332 B
Bash
Executable File

#!/usr/bin/env bash
NAME='hdf5-1.8.16'
set -ex
INITDIR=`pwd`
cd local/build
wget http://www.hdfgroup.org/ftp/HDF5/current/src/${NAME}.tar.gz
tar -xzvf ${NAME}.tar.gz
mkdir ${NAME}/build
cd ${NAME}/build
../configure --prefix=${INITDIR}/local --enable-cxx
make -j4
make install
cd ${INITDIR}/local
touch .built.hdf5
cd ${INITDIR}