Move ARMv8 gcc build from Travis to Azure

This commit is contained in:
Martin Kroeker 2019-05-11 16:07:30 +02:00 committed by GitHub
parent ff1bfe7b16
commit 3cb1c8d210
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -26,6 +26,26 @@ jobs:
cmake --build ." > Dockerfile cmake --build ." > Dockerfile
docker build . docker build .
displayName: Run ARMV6 docker build displayName: Run ARMV6 docker build
- job: ARMv8_gcc
pool:
vmImage: 'ubuntu-16.04'
steps:
- script: |
docker run --rm --privileged multiarch/qemu-user-static:register --reset
echo "FROM openblas/alpine:arm64
COPY . /tmp/openblas
RUN mkdir /tmp/openblas/build && \
cd /tmp/openblas/build && \
CC=gcc cmake -D DYNAMIC_ARCH=OFF \
-D TARGET=ARMV8 \
-D NOFORTRAN=ON \
-D BUILD_SHARED_LIBS=ON \
-D BUILD_WITHOUT_LAPACK=ON \
-D BUILD_WITHOUT_CBLAS=ON \
-D CMAKE_BUILD_TYPE=Release ../ && \
cmake --build ." > Dockerfile
docker build .
displayName: Run ARMV8 docker build
# manylinux1 is useful to test because the # manylinux1 is useful to test because the
# standard Docker container uses an old version # standard Docker container uses an old version
# of gcc / glibc # of gcc / glibc