Add ARMV6 build to azure CI setup (#2122)

using aytekinar's Alpine image and docker script from the Travis setup

[skip ci]
This commit is contained in:
Martin Kroeker 2019-05-09 00:47:44 +02:00 committed by GitHub
parent ad20ceaa68
commit 406c7242f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -13,19 +13,15 @@ steps:
- script: echo Hello, world! - script: echo Hello, world!
displayName: 'Run a one-line script' displayName: 'Run a one-line script'
#- script: |
# docker run --rm --privileged multiarch/qemu-user-static:register --reset
# ls /proc/sys/fs/binfmt_misc/
# condition: not(startsWith(variables['CONFIG'], 'linux_64'))
# displayName: 'Configure binfmt_misc'
- script: | - script: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
echo "FROM openblas/alpine:arm32 echo "FROM openblas/alpine:arm32
COPY . /tmp/openblas COPY . /tmp/openblas
RUN mkdir /tmp/openblas/build && \ RUN mkdir /tmp/openblas/build && \
cd /tmp/openblas/build && \ cd /tmp/openblas/build && \
CC=gcc cmake -D DYNAMIC_ARCH=OFF \ CC=gcc cmake -D DYNAMIC_ARCH=OFF \
-D TARGET=ARMV6 \ -D TARGET=ARMV6 \
-D NOFORTRAN=ON \
-D BUILD_SHARED_LIBS=ON \ -D BUILD_SHARED_LIBS=ON \
-D BUILD_WITHOUT_LAPACK=ON \ -D BUILD_WITHOUT_LAPACK=ON \
-D BUILD_WITHOUT_CBLAS=ON \ -D BUILD_WITHOUT_CBLAS=ON \