Skip to content
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

Using ExternalProject_Add to build third party dependencies #1001

Closed
gangliao opened this issue Dec 23, 2016 · 1 comment
Closed

Using ExternalProject_Add to build third party dependencies #1001

gangliao opened this issue Dec 23, 2016 · 1 comment
Assignees

Comments

@gangliao
Copy link
Contributor

gangliao commented Dec 23, 2016

#932

Add a directory external under cmake.

  1. Some dependencies should be optional, we first search them from system default, if not found, pull from git/svn/https, add them as external dependencies.

For instance,

swig, python, numpy, git

  1. Other dependencies should be added and installed default using ExternalProject_Add .

For example,

glog, gflags, gtest, protobuf, openblas, zlib, warpctc

Pull and build remote third-party's source code is quite slow, we could add a CMake parameter USE_SYSTEM to make our CI system run faster.

@gangliao gangliao self-assigned this Dec 23, 2016
@gangliao gangliao changed the title Using Add_ExternalProject to build third party dependencies Using ExternalProject_Add to build third party dependencies Dec 26, 2016
@gangliao
Copy link
Contributor Author

Currently, all external dependencies works very well under my test project https://github.com/gangliao/CodeCoverageCMake/tree/master/cmake/external

Starting to port into Paddle.

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

No branches or pull requests

2 participants