forked from HDFGroup/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
67 lines (63 loc) · 1.55 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
language: cpp
os: linux
dist: bionic
addons:
apt:
update: true
packages:
- build-essential
- cmake
- libboost-dev
- libmpich-dev
- autoconf
- autoconf-archive
- automake
- gfortran
- g++-7
- libstdc++-7-dev
before_install:
- test -n $CC && unset CC
- test -n $CXX && unset CXX
- git clone https://xgitlab.cels.anl.gov/sds/sds-repo.git
- (cd $HOME/spack; git describe) || git clone https://github.com/spack/spack $HOME/spack
- |
test -f $HOME/spack/etc/spack/packages.yaml || cat > $HOME/spack/etc/spack/packages.yaml << ' EOF'
packages:
all:
target: [x86_64]
boost:
paths:
[email protected]: /usr
buildable: False
mpich:
paths:
[email protected]: /opt/mpich-3.3-intel
buildable: False
cmake:
paths:
[email protected]: /usr/local/cmake-3.10.0
buildable: False
autoconf:
paths:
[email protected]: /usr
buildable: False
automake:
paths:
[email protected]: /usr
buildable: False
libtool:
paths:
[email protected]: /usr
buildable: False
m4:
paths:
[email protected]: /usr
buildable: False
EOF
install:
- . $HOME/spack/share/spack/setup-env.sh
- spack install gotcha@develop && spack load gotcha@develop
- spack install [email protected] && spack load [email protected]
- spack repo add sds-repo
- spack install mochi-thallium~cereal && spack load -r mochi-thallium~cereal
script: ./ci/install_hermes.sh