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

Staged build for contrib possible ? #45

Open
samfux84 opened this issue Aug 11, 2017 · 3 comments
Open

Staged build for contrib possible ? #45

samfux84 opened this issue Aug 11, 2017 · 3 comments
Assignees

Comments

@samfux84
Copy link

samfux84 commented Aug 11, 2017

Hi,

First of all I would like to thank you that you took the time to nicely package all dependencies of openms. I am managing an entire software stack on a hpc cluster and therefore I know that this is not self-evident.

I am managing our software stack with the package manger SPACK from LLNL (http://spack.readthedocs.io/en/latest/index.html) that supports already more than 1000 packages. It requires staged builds of all software. I created a openms-contrib spack package, which builds fine, but at the end it fails, because it can not install the files from the stage directory into the final location.

Is it somehow possible to have a staged build that uses make install to install the built files into their final location (specified through -DCMAKE_INSTALL_PREFIX) ?

Best regards

Sam

@hroest
Copy link
Contributor

hroest commented Aug 31, 2017

Hi Sam,

Thanks for opening an issue. If I understand you correctly, you would like to move the contrib libs and headers after installation to a specific location using the contrib CMake commands? I dont think that the contrib currently supports make install. @jpfeuffer can you comment on this?

@samfux84
Copy link
Author

@hroest Currently the binaries, headers and libraries are copied into the "bin", "lib" and "include" directories inside the "contrib" directory. Therefore I would assume that there is already kind of an installation procedure (not just in-source building of the dependencies) that copies the files to these directories. It would be great if one could specify a location for the "bin", "lib" and "include" directories through the CMake variable -DCMAKE_INSTALL_PREFIX.

@jpfeuffer
Copy link
Contributor

Hi!
@hroest is right, currently we use simple file copy commands instead of CMake's install commands.
Therefore make install will have no effect (maybe even results in an error?).
We can maybe add an own target or own install commands that will take care of this. I can have a look at that after the release.

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

3 participants