Skip to content

Commit 5271198

Browse files
ax3lglennklockwood
authored andcommitted
Travis CI: Fix HDF5 Build
Fix the CI.
1 parent 8996f54 commit 5271198

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ install:
99
# Install MPI
1010
- sudo apt-get install -y openmpi-bin libopenmpi-dev
1111
# Install HDF5
12-
- sudo apt-get install -y hdf5-tools libhdf5-mpi-dev
12+
- sudo apt-get install -y hdf5-tools libhdf5-openmpi-dev
1313
# Install Lustre
1414
# TODO: As far as a i can see it needs to be compiled form source with kernel
1515
# module as there is no package.
@@ -22,10 +22,13 @@ install:
2222
# Install HDFS
2323
# TODO: Not sure with which c libray hdfs should be used and if it is in
2424
# the ubuntu repos
25-
# Probably hadoop needs to be installed an provides nativ api.
25+
# Probably hadoop needs to be installed an provides native API.
2626
# Install Amazon S3
2727
# TODO: The needed library needs to be installed. Follow the instructions in
2828
# aiori-S3.c to achive this.
2929
# GPFS
3030
# NOTE: Think GPFS need a license and is therefore not testable with travis.
31-
script: ./travis-build.sh && CONFIGURE_OPTS="--with-hdf5" ./travis-test.sh
31+
script:
32+
- ./travis-build.sh
33+
- export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/hdf5/openmpi:${LD_LIBRARY_PATH}
34+
- CONFIGURE_OPTS="--with-hdf5" CFLAGS="-I/usr/include/hdf5/openmpi -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi" ./travis-test.sh

0 commit comments

Comments
 (0)