File tree Expand file tree Collapse file tree 3 files changed +48
-41
lines changed Expand file tree Collapse file tree 3 files changed +48
-41
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,30 @@ steps:
22
22
- make -C ctest $COMMON_FLAGS
23
23
- make -C utest $COMMON_FLAGS
24
24
25
+ ---
26
+ kind : pipeline
27
+ name : arm32_gcc_make
28
+
29
+ platform :
30
+ os : linux
31
+ arch : arm64
32
+
33
+ steps :
34
+ - name : Build and Test
35
+ image : ubuntu:18.04
36
+ environment :
37
+ CC : gcc
38
+ COMMON_FLAGS : ' DYNAMIC_ARCH=1 TARGET=ARMV6 NUM_THREADS=32'
39
+ commands :
40
+ - echo "MAKE_FLAGS:= $COMMON_FLAGS"
41
+ - apt-get update -y
42
+ - apt-get install -y make $CC gfortran perl
43
+ - $CC --version
44
+ - make QUIET_MAKE=1 $COMMON_FLAGS
45
+ - make -C test $COMMON_FLAGS
46
+ - make -C ctest $COMMON_FLAGS
47
+ - make -C utest $COMMON_FLAGS
48
+
25
49
---
26
50
kind : pipeline
27
51
name : arm64_clang_make
@@ -46,6 +70,30 @@ steps:
46
70
- make -C ctest $COMMON_FLAGS
47
71
- make -C utest $COMMON_FLAGS
48
72
73
+ ---
74
+ kind : pipeline
75
+ name : arm32_clang_cmake
76
+
77
+ platform :
78
+ os : linux
79
+ arch : arm
80
+
81
+ steps :
82
+ - name : Build and Test
83
+ image : ubuntu:18.04
84
+ environment :
85
+ CC : clang
86
+ CMAKE_FLAGS : ' -DDYNAMIC_ARCH=1 -DTARGET=ARMV6 -DNUM_THREADS=32 -DNOFORTRAN=ON -DBUILD_WITHOUT_LAPACK=ON'
87
+ commands :
88
+ - echo "CMAKE_FLAGS:= $CMAKE_FLAGS"
89
+ - apt-get update -y
90
+ - apt-get install -y make $CC g++ perl cmake
91
+ - $CC --version
92
+ - mkdir build && cd build
93
+ - cmake $CMAKE_FLAGS ..
94
+ - make -j
95
+ - ctest
96
+
49
97
---
50
98
kind : pipeline
51
99
name : arm64_gcc_cmake
Original file line number Diff line number Diff line change @@ -173,27 +173,6 @@ matrix:
173
173
env :
174
174
- BTYPE="BINARY=32"
175
175
176
- - &emulated-arm
177
- dist : trusty
178
- sudo : required
179
- services : docker
180
- env : IMAGE_ARCH=arm32 TARGET_ARCH=ARMV6 COMPILER=clang
181
- name : " Emulated Build for ARMV6 with clang"
182
- before_install : sudo docker run --rm --privileged multiarch/qemu-user-static:register --reset
183
- script : |
184
- echo "FROM openblas/alpine:${IMAGE_ARCH}
185
- COPY . /tmp/openblas
186
- RUN mkdir /tmp/openblas/build && \
187
- cd /tmp/openblas/build && \
188
- CC=${COMPILER} cmake -D DYNAMIC_ARCH=OFF \
189
- -D TARGET=${TARGET_ARCH} \
190
- -D BUILD_SHARED_LIBS=ON \
191
- -D BUILD_WITHOUT_LAPACK=ON \
192
- -D BUILD_WITHOUT_CBLAS=ON \
193
- -D CMAKE_BUILD_TYPE=Release ../ && \
194
- cmake --build ." > Dockerfile
195
- docker build .
196
-
197
176
# whitelist
198
177
branches :
199
178
only :
Original file line number Diff line number Diff line change @@ -6,26 +6,6 @@ trigger:
6
6
- develop
7
7
8
8
jobs :
9
- - job : ARMv6_gcc
10
- pool :
11
- vmImage : ' ubuntu-16.04'
12
- steps :
13
- - script : |
14
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
15
- echo "FROM openblas/alpine:arm32
16
- COPY . /tmp/openblas
17
- RUN mkdir /tmp/openblas/build && \
18
- cd /tmp/openblas/build && \
19
- CC=gcc cmake -D DYNAMIC_ARCH=OFF \
20
- -D TARGET=ARMV6 \
21
- -D NOFORTRAN=ON \
22
- -D BUILD_SHARED_LIBS=ON \
23
- -D BUILD_WITHOUT_LAPACK=ON \
24
- -D BUILD_WITHOUT_CBLAS=ON \
25
- -D CMAKE_BUILD_TYPE=Release ../ && \
26
- cmake --build ." > Dockerfile
27
- docker build .
28
- displayName: Run ARMV6 docker build
29
9
# manylinux1 is useful to test because the
30
10
# standard Docker container uses an old version
31
11
# of gcc / glibc
You can’t perform that action at this time.
0 commit comments