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

Refactor CMakeLists.txt #166

Merged
merged 2 commits into from
Jan 24, 2020
Merged

Refactor CMakeLists.txt #166

merged 2 commits into from
Jan 24, 2020

Conversation

leezu
Copy link
Contributor

@leezu leezu commented Jan 24, 2020

This exposes pslite as cmake target, to ease integration into upstream projects.
Current integration is done via a "parent scope hack", that is non-standard and actually removed by some people shipping ps-lite [1].

We require CMake 3.1 released Dec 17, 2014 as it is the first CMake release with proper C++11 support and as ps-lite uses C++11.

I tested the changes by building MXNet with -DUSE_DIST_KVSTORE and the updated ps-lite. The following branch was built https://github.com/leezu/mxnet/commits/pslitecmakeupdate

References:
[1] https://github.com/search?l=Diff&q=set%28pslite_LINKER_LIBS+%24%7Bpslite_LINKER_LIBS_L%7D%29&type=Code

CC @yajiedesign @eric-haibin-lin @szha

@eric-haibin-lin eric-haibin-lin merged commit f601054 into dmlc:master Jan 24, 2020
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