Skip to content

Commit 3a49e8c

Browse files
authored
first try migrating one of the arm builds from travis
1 parent 95e2cf3 commit 3a49e8c

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

azure-pipelines.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,26 @@ steps:
1414
displayName: 'Run a one-line script'
1515

1616
- script: |
17-
echo Add other tasks to build, test, and deploy your project.
18-
echo See https://aka.ms/yaml
19-
displayName: 'Run a multi-line script'
17+
docker run --rm --privileged multiarch/qemu-user-static:register --reset
18+
ls /proc/sys/fs/binfmt_misc/
19+
condition: not(startsWith(variables['CONFIG'], 'linux_64'))
20+
displayName: Configure binfmt_misc
21+
22+
- script: |
23+
echo "FROM openblas/alpine:arm32
24+
COPY . /tmp/openblas
25+
RUN mkdir /tmp/openblas/build && \
26+
cd /tmp/openblas/build && \
27+
CC=gcc cmake -D DYNAMIC_ARCH=OFF \
28+
-D TARGET=ARMV6 \
29+
-D BUILD_SHARED_LIBS=ON \
30+
-D BUILD_WITHOUT_LAPACK=ON \
31+
-D BUILD_WITHOUT_CBLAS=ON \
32+
-D CMAKE_BUILD_TYPE=Release ../ && \
33+
cmake --build ." > Dockerfile
34+
docker build .
35+
36+
#- script: |
37+
# echo Add other tasks to build, test, and deploy your project.
38+
# echo See https://aka.ms/yaml
39+
# displayName: 'Run a multi-line script'

0 commit comments

Comments
 (0)