-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Make install directory a config option #908
Conversation
6b30f77
to
db7dc66
Compare
@tgamblin - what would be needed to finish this one? |
@hegner I'd recommend splitting out the style fixes. The conflict resolution train is always longer than you think :) . |
Any word on the status of this PR? NERSC would be very interested changing the install path. |
Out of curiosity, what happens when two users install Spack in their home directories and both set their installation directory to the same directory. Are the install database and locks stored in the installation directory or should I expect to see lots of "spack find: not installed, spack install: already installed, spack uninstall: not installed" kind of confusion? Someday I hope to have multiple system admins capable of installing software with Spack at the same time. Since at least one of us would be actively developing Spack and changing git branches, we would need to have multiple Spack installations. But it would be annoying to have to have multiple installation directories. |
The DB and its lock live in the installation directory ( |
@tgamblin OT, just to share the experience. Beware of : remove_dead_links(spack.stage_path) in |
@hegner: I rebased this on |
|
You're going to like these modifications 😄 |
@tgamblin - here you have it |
Thanks! |
@justintoo: Once the install is done, it doesn't depend on the |
@hegner: are you sure you checked the box here? I can't seem to push. Maybe I'm doing something wrong. |
Hm this is odd -- GitHub says "Add more commits by pushing to the install_environment branch on hegner/spack." but I can't' seem to do that. |
Just closing and moving to #2152. |
@tgamblin - I enabled it. Maybe the problem is that my repo isn't a direct fork of yours. But let's follow up on the new PR. |
This PR refactors the settings for the install area into a separate install_area.py and makes the location of this area a configurable. Even though there is only one layout currently, the directory_layout has been made a config option as well.