Skip to content

Commit

Permalink
spack.yaml: Updated spack.modules to be in line with access-om2-style…
Browse files Browse the repository at this point in the history
… spack.yaml
  • Loading branch information
CodeGat committed Apr 15, 2024
1 parent 40e18ce commit 3838a4b
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,32 @@ spack:
unify: true
modules:
default:
enable:
- tcl
roots:
tcl: $spack/../modules/access-om3/0.x.0
tcl: $spack/../release/modules
lmod: $spack/../release/lmod
tcl:
naming_scheme: '{name}/{version}'
hash_length: 0
include:
- access-om3-virtual
- access-om3
exclude_implicits: true
all:
autoload: direct
conflict:
- '{name}'
environment:
set:
'SPACK_{name}_ROOT': '{prefix}'
projections:
all: '{name}/{version}'
access-om3-virtual: '{name}/2024.04.0'
access-om3: '{name}/v0.2.0'

# modules:
# default:
# roots:
# tcl: $spack/../modules/access-om3/0.x.0
# tcl:
# naming_scheme: '{name}/{version}'

0 comments on commit 3838a4b

Please sign in to comment.