-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
43 lines (37 loc) · 1.75 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
37
38
39
40
41
42
43
language: cpp
compiler:
- gcc
- clang
env:
- FIRST_ORDER=ON OPENMM_VERSION=6.1
- FIRST_ORDER=ON OPENMM_VERSION=HEAD
- FIRST_ORDER=OFF OPENMM_VERSION=6.1
- FIRST_ORDER=OFF OPENMM_VERSION=HEAD
matrix:
allow_failures:
- env: FIRST_ORDER=ON OPENMM_VERSION=HEAD
- env: FIRST_ORDER=OFF OPENMM_VERSION=HEAD
before_install:
- wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1204/x86_64/cuda-repo-ubuntu1204_6.5-14_amd64.deb
- sudo dpkg -i cuda-repo-ubuntu1204_6.5-14_amd64.deb
- sudo apt-get update -qq
- sudo apt-get install -qq cuda-5-5
- export PATH=/usr/local/cuda-5.5/bin:$PATH
- export LD_LIBRARY_PATH=/usr/local/cuda-5.5/lib64:$LD_LIBRARY_PATH
- sudo apt-get install -qq gromacs
- sudo apt-get install -qq doxygen
- sudo apt-get install -qq liblapack-dev
- sudo apt-get install -qq libblas-dev
- sudo apt-get install -qq libcppunit-dev
script:
- if [ "$OPENMM_VERSION" == "HEAD" ]; then git clone --depth 1 --single-branch https://github.com/SimTk/openmm.git; else git clone --depth 1 --branch $OPENMM_VERSION --single-branch https://github.com/SimTk/openmm.git; fi
- cd openmm
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM -DBUILD_TESTING=OFF -DOPENMM_BUILD_CPU_LIB=OFF -DOPENMM_BUILD_CUDA_LIB=ON -DOPENMM_BUILD_CUDA_TESTS=OFF -DOPENMM_BUILD_C_AND_FORTRAN_WRAPPERS=OFF -DOPENMM_BUILD_PYTHON_WRAPPERS=OFF -DOPENMM_BUILD_AMOEBA_PLUGIN=OFF -DOPENMM_BUILD_RPMD_PLUGIN=OFF -DOPENMM_BUILD_DRUDE_PLUGIN=OFF -DOPENMM_BUILD_PME_PLUGIN=OFF .
- make
- make install
- cd ..
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/LTMDOpenMM -DOPENMM_DIR=$HOME/OpenMM -DOPENMM_SOURCE_DIR=openmm -DBUILD_TESTING=ON -DBUILD_FIRST_ORDER=$FIRST_ORDER -DBUILD_GPU=ON -DBUILD_GPU_CUDA=ON .
- make
- make install
notifications:
email: false