-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
113 lines (110 loc) · 2 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
language: c
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
env:
- MATH=BLAS
sudo: required
- os: linux
dist: trusty
env:
- MATH=ATLAS
sudo: required
- os: linux
dist: trusty
env:
- MATH=OPENBLAS
sudo: required
- os: linux
dist: trusty
env:
- MATH=NONE
- USE_STATIC=ON
sudo: required
- os: linux
dist: trusty
env:
- MATH=NONE
- USE_STATIC=OFF
sudo: required
- os: linux
dist: xenial
env:
- MATH=BLAS
sudo: required
- os: linux
dist: xenial
env:
- MATH=ATLAS
sudo: required
- os: linux
dist: xenial
env:
- MATH=OPENBLAS
sudo: required
- os: linux
dist: xenial
env:
- MATH=NONE
- USE_STATIC=ON
sudo: required
- os: linux
dist: xenial
env:
- MATH=NONE
- USE_STATIC=OFF
sudo: required
- os: linux
dist: bionic
env:
- MATH=BLAS
sudo: required
- os: linux
dist: bionic
env:
- MATH=ATLAS
sudo: required
- os: linux
dist: bionic
env:
- MATH=OPENBLAS
sudo: required
- os: linux
dist: bionic
env:
- MATH=NONE
- USE_STATIC=ON
sudo: required
- os: linux
dist: bionic
env:
- MATH=NONE
- USE_STATIC=OFF
sudo: required
before_install:
- sudo apt-get -qq install -y gfortran
- sudo apt-get -qq install -y make
- sudo apt-get -qq install -y cmake
- if [ "$MATH" = "BLAS" ]; then sudo apt-get -qq install -y libblas-dev
; export USE_BLAS=ON
; fi
- if [ "$MATH" = "ATLAS" ]; then sudo apt-get -qq install -y libatlas-base-dev
; export USE_BLAS=ON
; fi
- if [ "$MATH" = "OPENBLAS" ]; then sudo apt-get -qq install -y libopenblas-dev
; export USE_BLAS=ON
; fi
- if [ "$MATH" = "NONE" ]; then export USE_BLAS=OFF ; fi
- export FC=`which gfortran`
- $FC --version
script:
- cmake . -DUSE_BLAS=${USE_BLAS} -DUSE_STATIC=${USE_STATIC}
- make -j$(nproc)
after_success:
- for i in BlasBit*; do echo $i
; ./$i
; echo ""
; done
- echo "DONE!"