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

Install caffe system-wide #3925

Open
vladfi1 opened this issue Mar 31, 2016 · 4 comments
Open

Install caffe system-wide #3925

vladfi1 opened this issue Mar 31, 2016 · 4 comments
Labels

Comments

@vladfi1
Copy link

vladfi1 commented Mar 31, 2016

I'd like to use both caffe (C++) and pycaffe in some of my projects. I've managed to make all and even make runtest, but there doesn't appear to be any make install. I've seen some comments here and there about copying files, symlinking files, or adding directories to PYTHONPATH and the like, but these haven't worked for me. What is the right way to do this?

@cdluminate
Copy link
Contributor

if you use debian or ubuntu, you may try to build deb packages by yourself.
see #2601
so manual management can be avoided.

@lukeyeager
Copy link
Contributor

I'd also like to see a proper install target. make distribute is the current solution, but it installs binaries to build/ instead of bin/ and the Python bindings are just dumped in python/.

IIRC, CMake just does the same thing as the raw Makefile build. We should let CMake do what it wants to do - install things to standard locations.

@cdluminate cleaning up the make install target would simplify the deb package creation scripts a bit.

@shelhamer shelhamer added the build label Apr 7, 2016
@shelhamer
Copy link
Member

I'd also like to see a proper install target. make distribute is the current solution, but it installs binaries to build/ instead of bin/ and the Python bindings are just dumped in python/

A make install target for the Makefile and CMake sounds like a good idea if anybody wants to send the PR.

@cdluminate
Copy link
Contributor

@shelhamer @lukeyeager

I'm fixing the cmake install stuff for the Debian packages.

GNUInstallDirs cmake module is used for Debian package.
To properly install the python module we need another cmake script finding the python module install path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants