Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
5a29919a
P
Paddle
项目概览
PaddlePaddle
/
Paddle
1 年多 前同步成功
通知
2305
Star
20932
Fork
5423
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
5a29919a
编写于
5月 12, 2020
作者:
S
Shibo Tao
提交者:
GitHub
5月 12, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upgrade ccache to 3.7.9 to support CUDA(#24390)
上级
988fbf82
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
14 deletion
+18
-14
tools/manylinux1/Dockerfile.GCC8
tools/manylinux1/Dockerfile.GCC8
+7
-3
tools/manylinux1/Dockerfile.cuda10_cudnn7_gcc48_ubuntu16
tools/manylinux1/Dockerfile.cuda10_cudnn7_gcc48_ubuntu16
+6
-6
tools/manylinux1/Dockerfile.cuda9_cudnn7_gcc48_py35_centos6
tools/manylinux1/Dockerfile.cuda9_cudnn7_gcc48_py35_centos6
+5
-5
未找到文件。
tools/manylinux1/Dockerfile.GCC8
浏览文件 @
5a29919a
...
...
@@ -75,7 +75,7 @@ RUN apt-get update && \
python-matplotlib \
automake locales clang-format swig \
liblapack-dev liblapacke-dev \
net-tools libtool
ccache
module-init-tools && \
net-tools libtool module-init-tools && \
apt-get clean -y
# Install Python2.7.15 to replace original python
...
...
@@ -175,8 +175,6 @@ RUN pip3.6 --no-cache-dir install certifi urllib3[secure]
RUN pip3.7 --no-cache-dir install certifi urllib3[secure]
RUN pip --no-cache-dir install certifi urllib3[secure]
RUN echo "export PATH=/usr/lib/ccache:${PATH}" >> ~/.bashrc
# Configure OpenSSH server. c.f. https://docs.docker.com/engine/examples/running_ssh_service
RUN mkdir /var/run/sshd
RUN echo 'root:root' | chpasswd
...
...
@@ -185,3 +183,9 @@ RUN sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config
CMD source ~/.bashrc
EXPOSE 22
# ccache 3.7.9
RUN wget https://paddle-ci.gz.bcebos.com/ccache-3.7.9.tar.gz && \
tar xf ccache-3.7.9.tar.gz && mkdir /usr/local/ccache-3.7.9 && cd ccache-3.7.9 && \
./configure -prefix=/usr/local/ccache-3.7.9 && \
make -j8 && make install && \
ln -s /usr/local/ccache-3.7.9/bin/ccache /usr/local/bin/ccache
tools/manylinux1/Dockerfile.cuda10_cudnn7_gcc48_ubuntu16
浏览文件 @
5a29919a
...
...
@@ -208,7 +208,7 @@ RUN git clone https://github.com/woboq/woboq_codebrowser /woboq && \
# ar mishandles 4GB files
# https://sourceware.org/bugzilla/show_bug.cgi?id=14625
# remove them when apt-get support 2.27 and higher version
RUN wget -q https://
launchpad.net/ubuntu/+archive/primary/+sourcefiles/binutils/2.27-9ubuntu1
/binutils_2.27.orig.tar.gz && \
RUN wget -q https://
paddle-ci.gz.bcebos.com
/binutils_2.27.orig.tar.gz && \
tar -xzf binutils_2.27.orig.tar.gz && \
cd binutils-2.27 && \
./configure && make -j && make install && cd .. && rm -rf binutils-2.27 binutils_2.27.orig.tar.gz
...
...
@@ -220,12 +220,12 @@ RUN wget --no-check-certificate https://pslib.bj.bcebos.com/openmpi-1.4.5.tar.gz
apt-get install libprotobuf-dev -y
RUN pip --no-cache-dir install -U netifaces==0.10.9
# 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
&& \
# ccache 3.
7.9
RUN wget https://paddle-ci.
gz.bcebos.com/ccache-3.7.9
.tar.gz && \
tar xf ccache-3.
7.9.tar.gz && mkdir /usr/local/ccache-3.7.9 && cd ccache-3.7.9
&& \
./configure -prefix=/usr/local/ccache-3.
7.9
&& \
make -j8 && make install && \
ln -s /usr/local/ccache-3.
6
/bin/ccache /usr/local/bin/ccache
ln -s /usr/local/ccache-3.
7.9
/bin/ccache /usr/local/bin/ccache
# Configure OpenSSH server. c.f. https://docs.docker.com/engine/examples/running_ssh_service
RUN mkdir /var/run/sshd
...
...
tools/manylinux1/Dockerfile.cuda9_cudnn7_gcc48_py35_centos6
浏览文件 @
5a29919a
...
...
@@ -34,12 +34,12 @@ RUN cd /opt && wget -q --no-check-certificate https://github.com/google/protobuf
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
# 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
&& \
# ccache 3.
7.9
RUN wget https://paddle-ci.
gz.bcebos.com/ccache-3.7.9
.tar.gz && \
tar xf ccache-3.
7.9.tar.gz && mkdir /usr/local/ccache-3.7.9 && cd ccache-3.7.9
&& \
./configure -prefix=/usr/local/ccache-3.
7.9
&& \
make -j8 && make install && \
ln -s /usr/local/ccache-3.
6
/bin/ccache /usr/local/bin/ccache
ln -s /usr/local/ccache-3.
7.9
/bin/ccache /usr/local/bin/ccache
RUN wget https://raw.githubusercontent.com/PaddlePaddle/Paddle/develop/python/requirements.txt -O /root/requirements.txt
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录