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

Copy env file and directory to support includes #138

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

adrienbernede
Copy link
Member

@adrienbernede adrienbernede commented Nov 22, 2024

Solves #137

This allows spack.yaml files to include configuration files as long as they belong to the same directory or sub-directories.

Note:
spack env create is not run anymore for existing spack.yaml file. Copy works fine in my tests, but there might be a side effect.

uberenv.py Outdated Show resolved Hide resolved
@chapman39
Copy link
Collaborator

This doesn't appear to cause any issues in Serac, but I am worried there may be some consequence down the road. Does Spack not support moving external files to the Spack Environment that are included in the spack.yaml? Maybe we can create an issue in Spack.

@chapman39
Copy link
Collaborator

@adrienbernede personally im ok with merging but @white238 @cyrush thoughts?

Co-authored-by: Alex Tyler Chapman <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants