2015-02-12 05:07:33 +08:00
|
|
|
language: c
|
|
|
|
compiler:
|
|
|
|
- gcc
|
2015-02-24 03:42:49 +08:00
|
|
|
- clang
|
2015-02-12 05:07:33 +08:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
# Get CMake >=2.8.8, HDF5 >= 1.8.6
|
2015-02-19 12:43:16 +08:00
|
|
|
# - sudo add-apt-repository -y ppa:amcg/netcdf-parallel
|
2015-02-12 05:07:33 +08:00
|
|
|
- sudo apt-get update -qq
|
2015-04-07 06:00:02 +08:00
|
|
|
- sudo apt-get install -y -qq libcurl4-openssl-dev m4 wget autoconf libtool clang
|
2015-02-12 05:07:33 +08:00
|
|
|
|
2015-04-25 00:20:38 +08:00
|
|
|
# We need to install hdf5.
|
|
|
|
# hdf5-1.8.14.tar.bz2
|
2015-04-25 00:36:35 +08:00
|
|
|
- wget http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.14/src/hdf5-1.8.14.tar.bz2
|
2015-04-25 00:20:38 +08:00
|
|
|
- tar -jxf hdf5-1.8.14.tar.bz2
|
2015-04-25 00:53:44 +08:00
|
|
|
- cd hdf5-1.8.14 && ./configure --enable-shared --disable-static --disable-fortran --enable-hl --disable-fortran --prefix=/usr && make -j 4 && sudo make install
|
2015-04-25 00:20:38 +08:00
|
|
|
|
2015-02-12 05:07:33 +08:00
|
|
|
before_script:
|
2015-02-19 12:43:16 +08:00
|
|
|
- autoreconf -if
|
2015-04-25 00:20:38 +08:00
|
|
|
- ./configure --enable-extra-tests
|
2015-04-25 01:16:27 +08:00
|
|
|
- cd ..
|
2015-02-12 05:07:33 +08:00
|
|
|
script:
|
2015-04-25 00:20:38 +08:00
|
|
|
- make -j 4
|
2015-02-19 12:48:56 +08:00
|
|
|
- LD_LIBRARY_PATH=/usr/local/lib make check
|