From 2853858a747afd3da98343d0a33497ad5aa8ecfe Mon Sep 17 00:00:00 2001 From: barrierye Date: Mon, 17 Aug 2020 21:28:26 +0800 Subject: [PATCH] update compile doc --- doc/COMPILE.md | 39 +++++++++++++++++++-------------------- doc/COMPILE_CN.md | 39 +++++++++++++++++++-------------------- 2 files changed, 38 insertions(+), 40 deletions(-) diff --git a/doc/COMPILE.md b/doc/COMPILE.md index 1836f4fe..8c0c021f 100644 --- a/doc/COMPILE.md +++ b/doc/COMPILE.md @@ -4,26 +4,25 @@ ## Compilation environment requirements -| module | version | -| :--------------------------: | :----------------------------------------------------------: | -| OS | CentOS 7 | -| gcc | 4.8.5 and later | -| gcc-c++ | 4.8.5 and later | -| git | 3.82 and later | -| cmake | 3.2.0 and later | -| Python | 2.7.2 and later / 3.6 and later | -| Go | 1.9.2 and later | -| git | 2.17.1 and later | -| glibc-static | 2.17 | -| openssl-devel | 1.0.2k | -| bzip2-devel | 1.0.6 and later | -| python-devel / python3-devel | 2.7.5 and later / 3.6.8 and later | -| sqlite-devel | 3.7.17 and later | -| patchelf | 0.9 and later | -| libXext | 1.3.3 | -| libSM | 1.2.2 | -| libXrender | 0.9.10 | -| python-whl | numpy>=1.12, <=1.16.4
wheel>=0.34.0, <0.35.0
setuptools>=44.1.0
opencv-python==4.2.0.32
google>=2.0.3
protobuf>=3.12.2
grpcio-tools>=1.28.1
grpcio>=1.28.1
func-timeout>=4.3.5
pyyaml>=1.3.0
sentencepiece==0.1.92
flask>=1.1.2
ujson>=2.0.3 | +| module | version | +| :--------------------------: | :-------------------------------: | +| OS | CentOS 7 | +| gcc | 4.8.5 and later | +| gcc-c++ | 4.8.5 and later | +| git | 3.82 and later | +| cmake | 3.2.0 and later | +| Python | 2.7.2 and later / 3.6 and later | +| Go | 1.9.2 and later | +| git | 2.17.1 and later | +| glibc-static | 2.17 | +| openssl-devel | 1.0.2k | +| bzip2-devel | 1.0.6 and later | +| python-devel / python3-devel | 2.7.5 and later / 3.6.8 and later | +| sqlite-devel | 3.7.17 and later | +| patchelf | 0.9 and later | +| libXext | 1.3.3 | +| libSM | 1.2.2 | +| libXrender | 0.9.10 | It is recommended to use Docker for compilation. We have prepared the Paddle Serving compilation environment for you, see [this document](DOCKER_IMAGES.md). diff --git a/doc/COMPILE_CN.md b/doc/COMPILE_CN.md index 1235653e..d940771b 100644 --- a/doc/COMPILE_CN.md +++ b/doc/COMPILE_CN.md @@ -4,26 +4,25 @@ ## 编译环境设置 -| 组件 | 版本要求 | -| :--------------------------: | :----------------------------------------------------------: | -| OS | CentOS 7 | -| gcc | 4.8.5 and later | -| gcc-c++ | 4.8.5 and later | -| git | 3.82 and later | -| cmake | 3.2.0 and later | -| Python | 2.7.2 and later / 3.6 and later | -| Go | 1.9.2 and later | -| git | 2.17.1 and later | -| glibc-static | 2.17 | -| openssl-devel | 1.0.2k | -| bzip2-devel | 1.0.6 and later | -| python-devel / python3-devel | 2.7.5 and later / 3.6.8 and later | -| sqlite-devel | 3.7.17 and later | -| patchelf | 0.9 | -| libXext | 1.3.3 | -| libSM | 1.2.2 | -| libXrender | 0.9.10 | -| python-whl | numpy>=1.12, <=1.16.4
wheel>=0.34.0, <0.35.0
setuptools>=44.1.0
opencv-python==4.2.0.32
google>=2.0.3
protobuf>=3.12.2
grpcio-tools>=1.28.1
grpcio>=1.28.1
func-timeout>=4.3.5
pyyaml>=1.3.0
sentencepiece==0.1.92
flask>=1.1.2
ujson>=2.0.3 | +| 组件 | 版本要求 | +| :--------------------------: | :-------------------------------: | +| OS | CentOS 7 | +| gcc | 4.8.5 and later | +| gcc-c++ | 4.8.5 and later | +| git | 3.82 and later | +| cmake | 3.2.0 and later | +| Python | 2.7.2 and later / 3.6 and later | +| Go | 1.9.2 and later | +| git | 2.17.1 and later | +| glibc-static | 2.17 | +| openssl-devel | 1.0.2k | +| bzip2-devel | 1.0.6 and later | +| python-devel / python3-devel | 2.7.5 and later / 3.6.8 and later | +| sqlite-devel | 3.7.17 and later | +| patchelf | 0.9 | +| libXext | 1.3.3 | +| libSM | 1.2.2 | +| libXrender | 0.9.10 | 推荐使用Docker编译,我们已经为您准备好了Paddle Serving编译环境,详见[该文档](DOCKER_IMAGES_CN.md)。 -- GitLab