LLNL / uberenv

Automates using spack to build and deploy software
Other
25 stars 9 forks source link

Support multiple package repos? #130

Closed adayton1 closed 8 months ago

adayton1 commented 8 months ago

I can't find a way to support pulling from multiple spack package repos (e.g. pick a package from my current repository, pick some other packages from radiuss-spack-configs, then finally pick any remaining packages from spack). Is there a way to do this? If not, could this feature be added? It seems like it would just come down to providing the path to the repos.yml file you want to use (not to be confused with the singular repo.yml file). See https://spack.readthedocs.io/en/latest/repositories.html#repos-yaml.

white238 commented 8 months ago

https://github.com/LLNL/serac/blob/7672d330192aec5f4eb46ef48e0f5ec713b203f7/.uberenv_config.json#L9

In a hurry, but if this is not in the documentation it should be added.

adayton1 commented 8 months ago

Thanks, @white238! The documentation does not mention that you can provide a list of multiple directories.

adayton1 commented 8 months ago

Does the order of the list match the order specified in repos.yml?

adayton1 commented 8 months ago

Chris answered my question offline, but yes, it does match the order specified in repos.yml (packages from the right-most entry override packages from the entries to the left)