8000 add ccache and cmake to aarch64 Dockerfile (requires rebuild) · opencv/opencv-python@ab36745 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ab36745

Browse files
committed
add ccache and cmake to aarch64 Dockerfile (requires rebuild)
1 parent 5373fcc commit ab36745

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docker/manylinux2014/Dockerfile_aarch64

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,23 @@ RUN cd ~/ffmpeg_sources && \
6161
ldconfig && \
6262
rm -rf ~/ffmpeg_sources
6363

64+
RUN curl -O -L https://github.com/ccache/ccache/releases/download/v3.7.9/ccache-3.7.9.tar.gz && \
65+
tar -xf ccache-3.7.9.tar.gz && \
66+
cd ccache-3.7.9 && \
67+
linux32 ./configure && \
68+
make -j$(getconf _NPROCESSORS_ONLN) && \
69+
make install
70+
71+
RUN curl -O -L https://github.com/Kitware/CMake/releases/download/v3.17.0/cmake-3.17.0.tar.gz && \
72+
tar -xf cmake-3.17.0.tar.gz && \
73+
cd cmake-3.17.0 && \
74+
export MAKEFLAGS=-j$(getconf _NPROCESSORS_ONLN) && \
75+
./configure --system-curl && \
76+
make && \
77+
make install && \
78+
cd .. && \
79+
rm -rf cmake-3.17.0*
80+
6481
ENV PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/root/ffmpeg_build/lib/pkgconfig
6582
ENV LDFLAGS -L/root/ffmpeg_build/lib
6683
ENV PATH "$HOME/bin:$PATH"

0 commit comments

Comments
 (0)
0