Skip to content

add centos 7 build doc #1162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 17, 2017

Conversation

QiJune
Copy link
Member

@QiJune QiJune commented Jan 17, 2017

目前paddle官方支持的发行版是ubuntu,但是服务器上的发行版通常为centos,paddle社区也不时有提问centos上的编译过程,因此添加一个centos编译文档还是有必要的。

# necessary
sudo yum update
sudo yum install -y epel-release
sudo yum install -y make cmake3 python-devel python-pip gcc-gfortran swig git
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有个问题,ubuntu是不是也得apt-get install cmake3, 才能保证装上cmake 3.0以上的版本?
@QiJune

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以不用预装swig

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu 14.04从源安装是没有办法安装cmake 3的,我是从源码编译安装的

@gangliao gangliao merged commit 92d75f1 into PaddlePaddle:develop Jan 17, 2017
zhhsplendid pushed a commit to zhhsplendid/Paddle that referenced this pull request Sep 25, 2019
* add data loader doc, test=develop

* follow comments, test=develop

* follow comments again, test=develop
lizexu123 pushed a commit to lizexu123/Paddle that referenced this pull request Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants