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

Allow custom install base #635

Closed
hegner opened this issue Mar 25, 2016 · 3 comments
Closed

Allow custom install base #635

hegner opened this issue Mar 25, 2016 · 3 comments

Comments

@hegner
Copy link
Contributor

hegner commented Mar 25, 2016

Instead of installing packages in-source (in opt/spack/... ), it would be nice if spack would allow to specify a custom install base dir.

This ticket is an outcome of the discussion on:
https://groups.google.com/forum/#!topic/spack/RF_jbW8qY9I

@mathstuf
Copy link
Contributor

What I do locally is make opt a symlink to another location. This will likely be part of getting lib/spack/__init__.py to be a configuration file rather than a module at some point.

@adamjstewart
Copy link
Member

See the lengthy conversation in #568. It sounds like @mplegendre already has some kind of implementation of "views". Basically, it would involve installing packages in /opt/spack/... where they currently are, but creating a hierarchical directory of symlinks, as @mathstuf suggested. Then, in some configuration file, you could specify how you want your directory structure organized. Perhaps @tgamblin could comment more if you have any questions.

@hegner
Copy link
Contributor Author

hegner commented May 6, 2016

created PR #908 that makes the install directory a config option.

@tgamblin tgamblin mentioned this issue Oct 27, 2016
10 tasks
matz-e added a commit to matz-e/spack that referenced this issue Apr 27, 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

No branches or pull requests

3 participants