未验证 提交 21eca836 编写于 作者: T tianshuo78520a 提交者: GitHub

Add ccache In Py35 CI (#23945)

* add ccache

* test=develop
上级 011bcc9f
...@@ -34,6 +34,13 @@ RUN cd /opt && wget -q --no-check-certificate https://github.com/google/protobuf ...@@ -34,6 +34,13 @@ RUN cd /opt && wget -q --no-check-certificate https://github.com/google/protobuf
tar xzf protobuf-cpp-3.6.1.tar.gz && \ tar xzf protobuf-cpp-3.6.1.tar.gz && \
cd protobuf-3.6.1 && ./configure && make -j4 && make install && cd .. && rm -f protobuf-cpp-3.6.1.tar.gz cd protobuf-3.6.1 && ./configure && make -j4 && make install && cd .. && rm -f protobuf-cpp-3.6.1.tar.gz
# ccache 3.6
RUN wget https://paddle-ci.cdn.bcebos.com/ccache-3.6.tar.gz && \
tar xf ccache-3.6.tar.gz && mkdir /usr/local/ccache-3.6 && cd ccache-3.6 && \
./configure -prefix=/usr/local/ccache-3.6 && \
make -j8 && make install && \
ln -s /usr/local/ccache-3.6/bin/ccache /usr/local/bin/ccache
RUN wget https://raw.githubusercontent.com/PaddlePaddle/Paddle/develop/python/requirements.txt -O /root/requirements.txt RUN wget https://raw.githubusercontent.com/PaddlePaddle/Paddle/develop/python/requirements.txt -O /root/requirements.txt
RUN LD_LIBRARY_PATH=/opt/_internal/cpython-2.7.11-ucs4/lib:${LD_LIBRARY_PATH} /opt/python/cp27-cp27mu/bin/pip install setuptools -U && \ RUN LD_LIBRARY_PATH=/opt/_internal/cpython-2.7.11-ucs4/lib:${LD_LIBRARY_PATH} /opt/python/cp27-cp27mu/bin/pip install setuptools -U && \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册