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

Support Spack.yaml files split in several files #137

Open
adrienbernede opened this issue Nov 21, 2024 · 1 comment
Open

Support Spack.yaml files split in several files #137

adrienbernede opened this issue Nov 21, 2024 · 1 comment

Comments

@adrienbernede
Copy link
Member

We moved RADIUSS Spack Configs to Spack environments.
Some RADIUSS Spack Configs users would prefer to have a direct access to the equivalent packages.yaml and compilers.yaml.

When setting spack.yaml to include those files through a relative path, using that environment in uberenv fails because at environment creation, the includes are not copied over at the destination path.

spack_create_cmd = "{0} env create -d {1} {2}".format(self.spack_exe(use_spack_env=False),

I'd like to allow that behavior by first copying the content of the directory containing the original spack.yaml file and then run the spack create directly in the destination directory (although I'm not sure whether that would still be necessary).

@white238 @chapman39 what are your thoughts about this ? Did I miss a requirement ?

@adrienbernede
Copy link
Member Author

Demo PR coming

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

1 participant