Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Crayon鑫
Paddle
提交
7564d43b
P
Paddle
项目概览
Crayon鑫
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
7564d43b
编写于
1月 07, 2021
作者:
T
tianshuo78520a
提交者:
GitHub
1月 07, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
down openssl (#29958)
上级
1ff69f58
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
9 deletion
+8
-9
cmake/third_party.cmake
cmake/third_party.cmake
+0
-1
tools/dockerfile/Dockerfile.centos
tools/dockerfile/Dockerfile.centos
+6
-6
tools/dockerfile/build_scripts/build.sh
tools/dockerfile/build_scripts/build.sh
+2
-2
未找到文件。
cmake/third_party.cmake
浏览文件 @
7564d43b
...
@@ -17,7 +17,6 @@ include(ExternalProject)
...
@@ -17,7 +17,6 @@ include(ExternalProject)
set
(
THIRD_PARTY_PATH
"
${
CMAKE_BINARY_DIR
}
/third_party"
CACHE STRING
set
(
THIRD_PARTY_PATH
"
${
CMAKE_BINARY_DIR
}
/third_party"
CACHE STRING
"A path setting third party libraries download & build directories."
)
"A path setting third party libraries download & build directories."
)
set
(
THIRD_PARTY_CACHE_PATH
"
${
CMAKE_SOURCE_DIR
}
"
CACHE STRING
set
(
THIRD_PARTY_CACHE_PATH
"
${
CMAKE_SOURCE_DIR
}
"
CACHE STRING
"A path cache third party source code to avoid repeated download."
)
"A path cache third party source code to avoid repeated download."
)
...
...
tools/dockerfile/Dockerfile.centos
浏览文件 @
7564d43b
...
@@ -20,15 +20,18 @@ RUN bash build_scripts/install_nccl2.sh
...
@@ -20,15 +20,18 @@ RUN bash build_scripts/install_nccl2.sh
RUN bash build_scripts/install_trt.sh
RUN bash build_scripts/install_trt.sh
RUN rm -rf build_scripts
RUN rm -rf build_scripts
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
# git 2.17.1
# git 2.17.1
RUN wget -q https://paddle-ci.gz.bcebos.com/git-2.17.1.tar.gz && \
RUN wget -q https://paddle-ci.gz.bcebos.com/git-2.17.1.tar.gz && \
tar -xvf git-2.17.1.tar.gz && \
tar -xvf git-2.17.1.tar.gz && \
cd git-2.17.1 && \
cd git-2.17.1 && \
./configure --with-openssl
=/usr/local/ssl
--prefix=/usr/local && \
./configure --with-openssl --prefix=/usr/local && \
make -j8 && make install
make -j8 && make install
ENV SSL_CERT_FILE=/opt/_internal/certs.pem
ENV GOROOT=/usr/local/go GOPATH=/root/gopath
ENV PATH=/usr/local/ssl:${GOROOT}/bin:${GOPATH}/bin:${PATH}
ENV LIBRARY_PATH=/usr/local/ssl/lib:$LIBRARY_PATH
# for paddle
# for paddle
RUN wget --no-check-certificate -qO- https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz | \
RUN wget --no-check-certificate -qO- https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz | \
tar -xz -C /usr/local && \
tar -xz -C /usr/local && \
...
@@ -37,9 +40,6 @@ RUN wget --no-check-certificate -qO- https://storage.googleapis.com/golang/go1.8
...
@@ -37,9 +40,6 @@ RUN wget --no-check-certificate -qO- https://storage.googleapis.com/golang/go1.8
mkdir /root/gopath/src
mkdir /root/gopath/src
ENV GOROOT=/usr/local/go GOPATH=/root/gopath
ENV PATH=/usr/local/ssl:${GOROOT}/bin:${GOPATH}/bin:${PATH}
# protobuf 3.6.1
# protobuf 3.6.1
RUN cd /opt && wget -q --no-check-certificate https://paddle-ci.cdn.bcebos.com/protobuf-cpp-3.6.1.tar.gz && \
RUN cd /opt && wget -q --no-check-certificate https://paddle-ci.cdn.bcebos.com/protobuf-cpp-3.6.1.tar.gz && \
tar xzf protobuf-cpp-3.6.1.tar.gz && \
tar xzf protobuf-cpp-3.6.1.tar.gz && \
...
...
tools/dockerfile/build_scripts/build.sh
浏览文件 @
7564d43b
...
@@ -28,8 +28,8 @@ CPYTHON_VERSIONS="3.8.0 3.7.0 3.6.0 3.5.1 2.7.15"
...
@@ -28,8 +28,8 @@ CPYTHON_VERSIONS="3.8.0 3.7.0 3.6.0 3.5.1 2.7.15"
# openssl version to build, with expected sha256 hash of .tar.gz
# openssl version to build, with expected sha256 hash of .tar.gz
# archive
# archive
OPENSSL_ROOT
=
openssl-1.
1.0i
OPENSSL_ROOT
=
openssl-1.
0.2g
OPENSSL_HASH
=
ebbfc844a8c8cc0ea5dc10b86c9ce97f401837f3fa08c17b2cdadc118253cf99
OPENSSL_HASH
=
b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33
PATCHELF_HASH
=
f2aa40a6148cb3b0ca807a1bf836b081793e55ec9e5540a5356d800132be7e0a
PATCHELF_HASH
=
f2aa40a6148cb3b0ca807a1bf836b081793e55ec9e5540a5356d800132be7e0a
CURL_ROOT
=
curl-7.49.1
CURL_ROOT
=
curl-7.49.1
CURL_HASH
=
eb63cec4bef692eab9db459033f409533e6d10e20942f4b060b32819e81885f1
CURL_HASH
=
eb63cec4bef692eab9db459033f409533e6d10e20942f4b060b32819e81885f1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录