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:
parent
ad20ceaa68
commit
406c7242f4
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue