1
1
# XXX: Precise is already deprecated, new default is Trusty.
2
2
# https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
3
- dist : precise
3
+ dist : focal
4
4
sudo : true
5
5
language : c
6
6
7
7
matrix :
8
8
include :
9
9
- &test-ubuntu
10
- os : linux
10
+ # os: linux
11
11
compiler : gcc
12
12
addons :
13
13
apt :
14
14
packages :
15
15
- gfortran
16
+ # before_script: &common-before
17
+ # - COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
18
+ # script:
19
+ # - make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
20
+ # - make -C test $COMMON_FLAGS $BTYPE
21
+ # - make -C ctest $COMMON_FLAGS $BTYPE
22
+ # - make -C utest $COMMON_FLAGS $BTYPE
23
+ # env:
24
+ # - TARGET_BOX=LINUX64
25
+ # - BTYPE="BINARY=64"
26
+ #
27
+ # - <<: *test-ubuntu
28
+ os : linux-ppc64le
16
29
before_script : &common-before
17
- - COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
30
+ - COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=POWER8 NUM_THREADS=32"
18
31
script :
19
32
- make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
20
33
- make -C test $COMMON_FLAGS $BTYPE
21
34
- make -C ctest $COMMON_FLAGS $BTYPE
22
35
- make -C utest $COMMON_FLAGS $BTYPE
23
- env :
24
- - TARGET_BOX=LINUX64
25
- - BTYPE="BINARY=64"
26
-
27
- - << : *test-ubuntu
28
- os : linux-ppc64le
29
- before_script :
30
- - COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=POWER8 NUM_THREADS=32"
31
36
env :
32
37
# for matrix annotation only
33
38
- TARGET_BOX=PPC64LE_LINUX
@@ -55,38 +60,38 @@ matrix:
55
60
- TARGET_BOX=IBMZ_LINUX
56
61
- BTYPE="BINARY=64 USE_OPENMP=0 CC=clang"
57
62
58
- - << : *test-ubuntu
59
- env :
60
- - TARGET_BOX=LINUX64
61
- - BTYPE="BINARY=64 USE_OPENMP=1"
62
-
63
- - << : *test-ubuntu
64
- env :
65
- - TARGET_BOX=LINUX64
66
- - BTYPE="BINARY=64 INTERFACE64=1"
67
-
68
- - << : *test-ubuntu
69
- compiler : clang
70
- env :
71
- - TARGET_BOX=LINUX64
72
- - BTYPE="BINARY=64 CC=clang"
73
-
74
- - << : *test-ubuntu
75
- compiler : clang
76
- env :
77
- - TARGET_BOX=LINUX64
78
- - BTYPE="BINARY=64 INTERFACE64=1 CC=clang"
79
-
80
- - << : *test-ubuntu
81
- addons :
82
- apt :
83
- packages :
84
- - gcc-multilib
85
- - gfortran-multilib
86
- env :
87
- - TARGET_BOX=LINUX32
88
- - BTYPE="BINARY=32"
89
-
63
+ # - <<: *test-ubuntu
64
+ # env:
65
+ # - TARGET_BOX=LINUX64
66
+ # - BTYPE="BINARY=64 USE_OPENMP=1"
67
+ #
68
+ # - <<: *test-ubuntu
69
+ # env:
70
+ # - TARGET_BOX=LINUX64
71
+ # - BTYPE="BINARY=64 INTERFACE64=1"
72
+ #
73
+ # - <<: *test-ubuntu
74
+ # compiler: clang
75
+ # env:
76
+ # - TARGET_BOX=LINUX64
77
+ # - BTYPE="BINARY=64 CC=clang"
78
+ #
79
+ # - <<: *test-ubuntu
80
+ # compiler: clang
81
+ # env:
82
+ # - TARGET_BOX=LINUX64
83
+ # - BTYPE="BINARY=64 INTERFACE64=1 CC=clang"
84
+ #
85
+ # - <<: *test-ubuntu
86
+ # addons:
87
+ # apt:
88
+ # packages:
89
+ # - gcc-multilib
90
+ # - gfortran-multilib
91
+ # env:
92
+ # - TARGET_BOX=LINUX32
93
+ # - BTYPE="BINARY=32"
94
+ #
90
95
- os : linux
91
96
arch : ppc64le
92
97
dist : bionic
@@ -121,47 +126,47 @@ matrix:
121
126
# for matrix annotation only
122
127
- TARGET_BOX=PPC64LE_LINUX_P9
123
128
124
- - os : linux
125
- compiler : gcc
126
- addons :
127
- apt :
128
- packages :
129
- - binutils-mingw-w64-x86-64
130
- - gcc-mingw-w64-x86-64
131
- - gfortran-mingw-w64-x86-64
132
- before_script : *common-before
133
- script :
134
- - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
135
- env :
136
- - TARGET_BOX=WIN64
137
- - BTYPE="BINARY=64 HOSTCC=gcc CC=x86_64-w64-mingw32-gcc FC=x86_64-w64-mingw32-gfortran"
138
-
129
+ # - os: linux
130
+ # compiler: gcc
131
+ # addons:
132
+ # apt:
133
+ # packages:
134
+ # - binutils-mingw-w64-x86-64
135
+ # - gcc-mingw-w64-x86-64
136
+ # - gfortran-mingw-w64-x86-64
137
+ # before_script: *common-before
138
+ # script:
139
+ # - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
140
+ # env:
141
+ # - TARGET_BOX=WIN64
142
+ # - BTYPE="BINARY=64 HOSTCC=gcc CC=x86_64-w64-mingw32-gcc FC=x86_64-w64-mingw32-gfortran"
143
+ #
139
144
# Build & test on Alpine Linux inside chroot, i.e. on system with musl libc.
140
145
# These jobs needs sudo, so Travis runs them on VM-based infrastructure
141
146
# which is slower than container-based infrastructure used for jobs
142
147
# that don't require sudo.
143
- - &test-alpine
144
- os : linux
145
- dist : trusty
146
- sudo : true
147
- language : minimal
148
- before_install :
149
- - " wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.9.0/alpine-chroot-install' \
150
- && echo 'e5dfbbdc0c4b3363b99334510976c86bfa6cb251 alpine-chroot-install' | sha1sum -c || exit 1"
151
- - alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
152
- install :
153
- - sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers'
154
- before_script : *common-before
155
- script :
156
- # XXX: Disable some warnings for now to avoid exceeding Travis limit for log size.
157
- - alpine make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
158
- CFLAGS="-Wno-misleading-indentation -Wno-sign-conversion -Wno-incompatible-pointer-types"
159
- - alpine make -C test $COMMON_FLAGS $BTYPE
160
- - alpine make -C ctest $COMMON_FLAGS $BTYPE
161
- - alpine make -C utest $COMMON_FLAGS $BTYPE
162
- env :
163
- - TARGET_BOX=LINUX64_MUSL
164
- - BTYPE="BINARY=64"
148
+ # - &test-alpine
149
+ # os: linux
150
+ # dist: trusty
151
+ # sudo: true
152
+ # language: minimal
153
+ # before_install:
154
+ # - "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.9.0/alpine-chroot-install' \
155
+ # && echo 'e5dfbbdc0c4b3363b99334510976c86bfa6cb251 alpine-chroot-install' | sha1sum -c || exit 1"
156
+ # - alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
157
+ # install:
158
+ # - sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers'
159
+ # before_script: *common-before
160
+ # script:
161
+ # # XXX: Disable some warnings for now to avoid exceeding Travis limit for log size.
162
+ # - alpine make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
163
+ # CFLAGS="-Wno-misleading-indentation -Wno-sign-conversion -Wno-incompatible-pointer-types"
164
+ # - alpine make -C test $COMMON_FLAGS $BTYPE
165
+ # - alpine make -C ctest $COMMON_FLAGS $BTYPE
166
+ # - alpine make -C utest $COMMON_FLAGS $BTYPE
167
+ # env:
168
+ # - TARGET_BOX=LINUX64_MUSL
169
+ # - BTYPE="BINARY=64"
165
170
166
171
# XXX: This job segfaults in TESTS OF THE COMPLEX LEVEL 3 BLAS,
167
172
# but only on Travis CI, cannot reproduce it elsewhere.
@@ -171,98 +176,98 @@ matrix:
171
176
# - TARGET_BOX=LINUX64_MUSL
172
177
# - BTYPE="BINARY=64 USE_OPENMP=1"
173
178
174
- - << : *test-alpine
175
- env :
176
- - TARGET_BOX=LINUX64_MUSL
177
- - BTYPE="BINARY=64 INTERFACE64=1"
179
+ # - <<: *test-alpine
180
+ # env:
181
+ # - TARGET_BOX=LINUX64_MUSL
182
+ # - BTYPE="BINARY=64 INTERFACE64=1"
183
+ #
184
+ # # Build with the same flags as Alpine do in OpenBLAS package.
185
+ # - <<: *test-alpine
186
+ # env:
187
+ # - TARGET_BOX=LINUX64_MUSL
188
+ # - BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=CORE2"
178
189
179
- # Build with the same flags as Alpine do in OpenBLAS package.
180
- - << : *test-alpine
181
- env :
182
- - TARGET_BOX=LINUX64_MUSL
183
- - BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=CORE2"
190
+ # - &test-cmake
191
+ # os: linux
192
+ # compiler: clang
193
+ # addons:
194
+ # apt:
195
+ # packages:
196
+ # - gfortran
197
+ # - cmake
198
+ # dist: trusty
199
+ # sudo: true
200
+ # before_script:
201
+ # - COMMON_ARGS="-DTARGET=NEHALEM -DNUM_THREADS=32"
202
+ # script:
203
+ # - mkdir build
204
+ # - CONFIG=Release
205
+ # - cmake -Bbuild -H. $CMAKE_ARGS $COMMON_ARGS -DCMAKE_BUILD_TYPE=$CONFIG
206
+ # - cmake --build build --config $CONFIG -- -j2
207
+ # env:
208
+ # - CMAKE=1
209
+ # - <<: *test-cmake
210
+ # env:
211
+ # - CMAKE=1 CMAKE_ARGS="-DNOFORTRAN=1"
212
+ # - <<: *test-cmake
213
+ # compiler: gcc
214
+ # env:
215
+ # - CMAKE=1
184
216
185
- - &test-cmake
186
- os : linux
187
- compiler : clang
188
- addons :
189
- apt :
190
- packages :
191
- - gfortran
192
- - cmake
193
- dist : trusty
194
- sudo : true
195
- before_script :
196
- - COMMON_ARGS="-DTARGET=NEHALEM -DNUM_THREADS=32"
197
- script :
198
- - mkdir build
199
- - CONFIG=Release
200
- - cmake -Bbuild -H. $CMAKE_ARGS $COMMON_ARGS -DCMAKE_BUILD_TYPE=$CONFIG
201
- - cmake --build build --config $CONFIG -- -j2
202
- env :
203
- - CMAKE=1
204
- - << : *test-cmake
205
- env :
206
- - CMAKE=1 CMAKE_ARGS="-DNOFORTRAN=1"
207
- - << : *test-cmake
208
- compiler : gcc
209
- env :
210
- - CMAKE=1
211
-
212
- - &test-macos
213
- os : osx
214
- osx_image : xcode11.5
215
- before_script :
216
- - COMMON_FLAGS="DYNAMIC_ARCH=1 NUM_THREADS=32"
217
- script :
218
- - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
219
- env :
220
- - BTYPE="TARGET=NEHALEM BINARY=64 INTERFACE64=1 FC=gfortran-9"
221
-
222
- - << : *test-macos
223
- osx_image : xcode12
224
- before_script :
225
- - COMMON_FLAGS="DYNAMIC_ARCH=1 NUM_THREADS=32"
226
- - brew update
227
- script :
228
- - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
229
- env :
230
- - BTYPE="TARGET=HASWELL USE_OPENMP=1 BINARY=64 INTERFACE64=1 CC=gcc-10 FC=gfortran-10"
231
-
232
- - << : *test-macos
233
- osx_image : xcode12
234
- before_script :
235
- - COMMON_FLAGS="DYNAMIC_ARCH=1 NUM_THREADS=32"
236
- - brew update
237
- script :
238
- - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
239
- env :
240
- - BTYPE="TARGET=NEHALEM BINARY=64 INTERFACE64=1 FC=gfortran-10"
217
+ # - &test-macos
218
+ # os: osx
219
+ # osx_image: xcode11.5
220
+ # before_script:
221
+ # - COMMON_FLAGS="DYNAMIC_ARCH=1 NUM_THREADS=32"
222
+ # script:
223
+ # - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
224
+ # env:
225
+ # - BTYPE="TARGET=NEHALEM BINARY=64 INTERFACE64=1 FC=gfortran-9"
226
+ #
227
+ # - <<: *test-macos
228
+ # osx_image: xcode12
229
+ # before_script:
230
+ # - COMMON_FLAGS="DYNAMIC_ARCH=1 NUM_THREADS=32"
231
+ # - brew update
232
+ # script:
233
+ # - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
234
+ # env:
235
+ # - BTYPE="TARGET=HASWELL USE_OPENMP=1 BINARY=64 INTERFACE64=1 CC=gcc-10 FC=gfortran-10"
236
+ #
237
+ # - <<: *test-macos
238
+ # osx_image: xcode12
239
+ # before_script:
240
+ # - COMMON_FLAGS="DYNAMIC_ARCH=1 NUM_THREADS=32"
241
+ # - brew update
242
+ # script:
243
+ # - travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
244
+ # env:
245
+ # - BTYPE="TARGET=NEHALEM BINARY=64 INTERFACE64=1 FC=gfortran-10"
241
246
242
247
# - <<: *test-macos
243
248
# osx_image: xcode10
244
249
# env:
245
250
# - BTYPE="TARGET=NEHALEM BINARY=32 NOFORTRAN=1"
246
251
247
- - << : *test-macos
248
- osx_image : xcode11.5
249
- before_script :
250
- - COMMON_FLAGS="DYNAMIC_ARCH=1 NUM_THREADS=32"
251
- - brew update
252
- env :
252
+ # - <<: *test-macos
253
+ # osx_image: xcode11.5
254
+ # before_script:
255
+ # - COMMON_FLAGS="DYNAMIC_ARCH=1 NUM_THREADS=32"
256
+ # - brew update
257
+ # env:
253
258
# - CC="/Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
254
259
# - CFLAGS="-O2 -Wno-macro-redefined -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -arch arm64 -miphoneos-version-min=10.0"
255
- - CC="/Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
256
- - CFLAGS="-O2 -Wno-macro-redefined -isysroot /Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk -arch arm64 -miphoneos-version-min=10.0"
257
- - BTYPE="TARGET=ARMV8 BINARY=64 HOSTCC=clang NOFORTRAN=1"
258
- - << : *test-macos
259
- osx_image : xcode11.5
260
- env :
261
- # - CC="/Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
262
- # - CFLAGS="-O2 -mno-thumb -Wno-macro-redefined -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -arch armv7 -miphoneos-version-min=5.1"
263
- - CC="/Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
264
- - CFLAGS="-O2 -mno-thumb -Wno-macro-redefined -isysroot /Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk -arch armv7 -miphoneos-version-min=5.1"
265
- - BTYPE="TARGET=ARMV7 HOSTCC=clang NOFORTRAN=1"
260
+ # - CC="/Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
261
+ # - CFLAGS="-O2 -Wno-macro-redefined -isysroot /Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk -arch arm64 -miphoneos-version-min=10.0"
262
+ # - BTYPE="TARGET=ARMV8 BINARY=64 HOSTCC=clang NOFORTRAN=1"
263
+ # - <<: *test-macos
264
+ # osx_image: xcode11.5
265
+ # env:
266
+ # # - CC="/Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
267
+ # # - CFLAGS="-O2 -mno-thumb -Wno-macro-redefined -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -arch armv7 -miphoneos-version-min=5.1"
268
+ # - CC="/Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang"
269
+ # - CFLAGS="-O2 -mno-thumb -Wno-macro-redefined -isysroot /Applications/Xcode-11.5.GM.Seed.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.5.sdk -arch armv7 -miphoneos-version-min=5.1"
270
+ # - BTYPE="TARGET=ARMV7 HOSTCC=clang NOFORTRAN=1"
266
271
267
272
- &test-graviton2
268
273
os : linux
0 commit comments