-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
36 lines (29 loc) · 1.3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: C
before_install:
- sudo apt-get update
- sudo apt-get -y install mpich libmpich-dev
- sudo apt-get -y install libhdf5-dev
- pushd /tmp
- wget https://github.com/LLNL/json-cwx/archive/0.12.tar.gz
- tar -xzf 0.12.tar.gz
- pushd json-cwx-0.12/json-cwx
- sh autogen.sh
- ./configure --prefix=`pwd`/my_install
- make -j4 install 1>/dev/null 2>&1
- popd
- wget https://portal.nersc.gov/project/visit/releases/3.0.0b/third_party/silo-4.10.2.tar.gz
- tar -xzf silo-4.10.2.tar.gz
- pushd silo-4.10.2
- ./configure --disable-hzip --disable-fpzip --disable-fortran --enable-install-lite-headers --prefix=`pwd`/my_install --with-hdf5=/usr/include/hdf5/serial,/usr/lib/x86_64-linux-gnu/hdf5/serial
- make -j4 install
- popd
- popd
install: true
before_script:
- ulimit -c unlimited -S
script:
- mkdir build
- pushd build
- cmake -DCMAKE_C_COMPILER:PATH=`which mpicc` -DCMAKE_CXX_COMPILER:PATH=`which mpicxx` -DHDF5_LIBRARIES=/usr/lib/x86_64-linux-gnu/hdf5/serial/libhdf5.so -DHDF5_INCLUDE_DIRS=/usr/include/hdf5/serial -DWITH_JSON-CWX_PREFIX=/tmp/json-cwx-0.12/json-cwx/my_install -DENABLE_HDF5_PLUGIN=ON -DENABLE_PDB_PLUGIN=ON -DENABLE_SILO_PLUGIN=ON -DWITH_SILO_PREFIX=/tmp/silo-4.10.2/my_install ../.
- make VERBOSE=1
- ctest --force-new-ctest-process -VV --debug -E clargs