Skip to content

Commit

Permalink
Update to HDF5 1.10.2 at Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Mar 31, 2018
1 parent 4bc60dc commit bd72c22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .install_hdf5_1_10.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

git clone --depth 1 --branch hdf5_1_10_1 https://git.hdfgroup.org/scm/hdffv/hdf5.git hdf5_1_10_1
cd hdf5_1_10_1
git clone --depth 1 --branch hdf5_1_10_2 https://git.hdfgroup.org/scm/hdffv/hdf5.git hdf5_1_10_2
cd hdf5_1_10_2
./configure --quiet --enable-shared --enable-build-mode=debug --disable-deprecated-symbols --disable-hl --disable-strict-format-checks --disable-memory-alloc-sanity-check --disable-instrument --disable-parallel --disable-trace --disable-internal-debug --enable-optimization=debug --disable-asserts --with-pic --with-default-api-version=v110 --with-zlib=$TRAVIS_BUILD_DIR/zlib CFLAGS="-w"
make install -C src
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ matrix:
- ENABLE_EXTENDED_SPARSE=yes
- ENABLE_MAT73=yes
- WITH_ZLIB=$TRAVIS_BUILD_DIR/zlib
- HDF5_VERSION_DIR=hdf5_1_10_1
- HDF5_VERSION_DIR=hdf5_1_10_2
- MAX_RANK=3
- os: linux
compiler: gcc-4.8
Expand Down Expand Up @@ -136,13 +136,13 @@ before_install:
- if [[ "$COVERITY_SCAN_BRANCH" != 1 ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CC" == "gcc-4.8" ]] && [[ "$HDF5_VERSION_DIR" == "hdf5_1_8_20" ]] && [[ "$ENABLE_MAT73" == "yes" ]] && [[ "$ENABLE_EXTENDED_SPARSE" == "yes" ]] && [[ "$WITH_ZLIB" == "yes" ]] && [[ "$MAX_RANK" == 3 ]]; then curl https://bitbucket.org/Swyter/bitbucket-curl-upload-to-repo-downloads/raw/default/upload-to-bitbucket.sh -O -J && chmod +x ./upload-to-bitbucket.sh; fi

install:
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_1" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then git clone --depth 5 https://github.com/madler/zlib; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_1" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then cd zlib; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_1" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then ./configure --prefix=$TRAVIS_BUILD_DIR/zlib --eprefix=$TRAVIS_BUILD_DIR/zlib; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_1" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then make install; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_2" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then git clone --depth 5 https://github.com/madler/zlib; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_2" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then cd zlib; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_2" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then ./configure --prefix=$TRAVIS_BUILD_DIR/zlib --eprefix=$TRAVIS_BUILD_DIR/zlib; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_2" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then make install; fi
- cd $TRAVIS_BUILD_DIR
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_8_20" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then ./.install_hdf5_1_8.sh; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_1" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then ./.install_hdf5_1_10.sh; fi
- if [[ "$HDF5_VERSION_DIR" == "hdf5_1_10_2" ]] && [[ "$ENABLE_MAT73" == "yes" ]]; then ./.install_hdf5_1_10.sh; fi
- cd $TRAVIS_BUILD_DIR
- mkdir MSL
- cd MSL
Expand Down

0 comments on commit bd72c22

Please sign in to comment.