forked from mrirecon/bart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
165 lines (154 loc) · 3.81 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
language: c
env:
addons:
apt:
packages: &default_packages
- libfftw3-dev
- libblas-dev
- libpng-dev
matrix:
allow_failures:
- env: MAYFAIL=1
include:
- name: "Makefile PARALLEL"
env: PARALLEL=1
os: linux
compiler: gcc-5
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-5
- liblapacke-dev
- name: "Makefile + test + utest"
env:
os: linux
compiler: gcc-5
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-5
- liblapacke-dev
script:
- make test
- make utest
- name: "Makefile Clang"
env: OMP=0
os: linux
compiler: clang
sudo: required
dist: trusty
addons:
apt:
packages:
- *default_packages
- liblapacke-dev
- libblocksruntime-dev
script:
- make test
- make utest
- name: "Makefile OpenMP"
env: OMP=1
os: linux
compiler: gcc-5
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-5
- liblapacke-dev
script:
- make test
- make utest
- name: "Makefile NOLAPACKE"
env: NOLAPACKE=1
os: linux
compiler: gcc-5
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-5
- gfortran
- liblapack-dev
- name: "CMake GCC-5"
env: MAYFAIL=1
os: linux
compiler: gcc-5
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-5
- libatlas-base-dev
- liblapacke-dev
before_script:
- mkdir build && cd build
# NB: CC is automatically set to `compiler` by Travis
- cmake .. -DLINALG_VENDOR=ATLAS -DBART_ENABLE_MEM_CFL=OFF -DBUILD_TESTING=OFF -DBART_LOG_BACKEND=OFF -DUSE_OPENMP=ON -DBART_GENERATE_DOC=OFF
- name: "CMake GCC-5 NOLAPACKE"
env: MAYFAIL=1
os: linux
compiler: gcc-5
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-5
- gfortran
- libatlas-base-dev
- liblapack-dev
before_script:
- mkdir build && cd build
# NB: CC is automatically set to `compiler` by Travis
- cmake .. -DBART_ENABLE_MEM_CFL=OFF -DBUILD_TESTING=OFF -DBART_LOG_BACKEND=OFF -DUSE_OPENMP=ON -DBART_GENERATE_DOC=OFF -DBART_NO_LAPACKE=ON
- name: "CMake GCC-5/G++-5 (with mem-CFL support) + utest"
env: MAYFAIL=1
os: linux
compiler: gcc-5
sudo: required
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- *default_packages
- gcc-5
- g++-5
- libatlas-base-dev
- liblapacke-dev
before_script:
- mkdir build && cd build
# NB: CC is automatically set to `compiler` by Travis
- CXX=g++-5 cmake .. -DLINALG_VENDOR=ATLAS -DBART_ENABLE_MEM_CFL=ON -DBUILD_TESTING=ON -DBART_LOG_BACKEND=OFF -DUSE_OPENMP=ON -DBART_GENERATE_DOC=OFF
after_script:
- make test
script:
- make bart
- make all