Browse Source

Add ARMV6 build to azure CI setup (#2122)

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

[skip ci]
tags/v0.3.7
Martin Kroeker GitHub 6 years ago
parent
commit
406c7242f4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions
  1. +4
    -8
      azure-pipelines.yml

+ 4
- 8
azure-pipelines.yml 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 \
-D TARGET=ARMV6 \
CC=gcc cmake -D DYNAMIC_ARCH=OFF \
-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 \


Loading…
Cancel
Save