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

Create gsi-addon-env template #905

Merged
merged 10 commits into from
Dec 14, 2023
25 changes: 25 additions & 0 deletions configs/templates/gsi-addon-dev/spack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
spack:
concretizer:
unify: when_possible

view: false
include:
- site
- common
definitions:
# Note: Set 'compilers' manually; must match upstream list
- compilers: []
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe in a future release of spack-stack, we can automate this with the spack-stack create env --upstream command? Infer the compiler list from the first upstream repo provided and set it here.

- packages:
- global-workflow-env ^[email protected] ^[email protected] ^[email protected]
- ufs-weather-model-env
- gsi-env

specs:
- matrix:
- [$packages]
- [$compilers]

# Note: Set 'install_tree' to the upstream unified-env install path
upstreams:
spack-stack-unified-env:
install_tree: /path/to/envs/unified-env/install
climbfuji marked this conversation as resolved.
Show resolved Hide resolved
Loading