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

Switch the build system from Make to CMake #215

Closed
kloudkl opened this issue Mar 15, 2014 · 4 comments
Closed

Switch the build system from Make to CMake #215

kloudkl opened this issue Mar 15, 2014 · 4 comments

Comments

@kloudkl
Copy link
Contributor

kloudkl commented Mar 15, 2014

There have been a growing number of platforms that Caffe needs to be built against. Various flavors and versions of Linux, OSX, Windows, CPU only version and even HPC clusters complicate the situation. To make the build system more cross-platform, modular and manageable in the long run, we had better take a less hacky way. One of the most suitable options is CMake which is adopted by many mature open source projects including OpenCV and Intel TBB. There are also a number of examples that use it to build CUDA related projects.

@shelhamer
Copy link
Member

Improvements to the build system are welcome!

We do not have particular expertise in CMake or autotools, but a configurable build with either would be helpful. It should support all the current targets.

@niuzhiheng
Copy link
Contributor

I also think switch to CMake is a better solution. If so, it may be much easier to integrate my windows porting as well and to keep it up to date.

@akosiorek
Copy link
Contributor

I've prepared a CMake build system for Caffe. I'd like to push a feature branch and then PR, but I have an 'acces denied to BVLC/caffe' error. It's my first public contriburion ever. Any hints?

Edit:
Resolved. I had to fork first and push the feature branch to my own fork.

@kloudkl
Copy link
Contributor Author

kloudkl commented May 24, 2014

Move to #442 for further discussions.

@kloudkl kloudkl closed this as completed May 24, 2014
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

4 participants