Add ARMV6 build to azure CI setup (#2122)
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Wed, 8 May 2019 22:47:44 +0000 (00:47 +0200)
committerGitHub <noreply@github.com>
Wed, 8 May 2019 22:47:44 +0000 (00:47 +0200)
using aytekinar's Alpine image and docker script from the Travis setup

[skip ci]

azure-pipelines.yml

index 0b1ba16..cef2ef9 100644 (file)
@@ -13,19 +13,15 @@ steps:
 - script: echo Hello, world!
   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: |
+    docker run --rm --privileged multiarch/qemu-user-static:register --reset
     echo "FROM openblas/alpine:arm32
         COPY . /tmp/openblas
         RUN mkdir /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_WITHOUT_LAPACK=ON           \
                                  -D BUILD_WITHOUT_CBLAS=ON            \