Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit bf78e48

Browse files
marcoabreuszha
authored andcommitted
Move from dockcross to own mirror (#10850)
1 parent 60641ef commit bf78e48

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

ci/docker/Dockerfile.build.arm64

+11-10
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,22 @@
1818
#
1919
# Dockerfile to build MXNet for ARM64/ARMv8
2020

21-
FROM dockcross/linux-arm64
21+
# Temporary fix due to https://github.com/apache/incubator-mxnet/issues/10837
22+
#FROM dockcross/linux-arm64
23+
FROM mxnetci/dockcross-linux-arm64:05082018
2224

2325
ENV ARCH aarch64
24-
ENV CC /usr/bin/aarch64-linux-gnu-gcc
25-
ENV CXX /usr/bin/aarch64-linux-gnu-g++
26-
ENV FC /usr/bin/aarch64-linux-gnu-gfortran-4.9
26+
ENV FC /usr/bin/${CROSS_TRIPLE}-gfortran
2727
ENV HOSTCC gcc
28+
ENV TARGET ARMV8
2829

2930
WORKDIR /work
3031

31-
COPY install/arm64_openblas.sh /work/
32-
RUN /work/arm64_openblas.sh
32+
# Build OpenBLAS
33+
RUN git clone --recursive -b v0.2.20 https://github.com/xianyi/OpenBLAS.git && \
34+
cd OpenBLAS && \
35+
make -j$(nproc) && \
36+
PREFIX=${CROSS_ROOT} make install
3337

34-
ENV LD_LIBRARY_PATH /opt/OpenBLAS/lib
35-
ENV CPLUS_INCLUDE_PATH /opt/OpenBLAS/include
38+
COPY runtime_functions.sh /work/
3639
WORKDIR /work/mxnet
37-
38-
COPY runtime_functions.sh /work/

ci/docker/Dockerfile.build.jetson

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222

2323
FROM nvidia/cuda:9.0-cudnn7-devel as cudabuilder
2424

25-
FROM dockcross/linux-arm64
25+
# Temporary fix due to https://github.com/apache/incubator-mxnet/issues/10837
26+
# FROM dockcross/linux-arm64
27+
FROM mxnetci/dockcross-linux-arm64:05082018
2628

2729
ENV ARCH aarch64
2830
ENV FC /usr/bin/${CROSS_TRIPLE}-gfortran
@@ -32,7 +34,6 @@ ENV TARGET ARMV8
3234
WORKDIR /work
3335

3436
# Build OpenBLAS
35-
ADD https://api.github.com/repos/xianyi/OpenBLAS/git/refs/tags/v0.2.20 openblas_version.json
3637
RUN git clone --recursive -b v0.2.20 https://github.com/xianyi/OpenBLAS.git && \
3738
cd OpenBLAS && \
3839
make -j$(nproc) && \

0 commit comments

Comments
 (0)