Skip to content

Commit

Permalink
[skip ci] Infra Update: spack.yaml Simplification, new Projections (#…
Browse files Browse the repository at this point in the history
…85)

* [skip ci] spack.yaml: Simplify modules section, update formatting, add '-{hash:7}' section

* [skip ci] Deleted config/versions.schema.json as validation is external

* [skip ci] spack.yaml: Remove hash from root projection
  • Loading branch information
CodeGat authored Nov 14, 2024
1 parent 93b2c07 commit 47bc7bf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 47 deletions.
19 changes: 0 additions & 19 deletions config/versions.schema.json

This file was deleted.

51 changes: 23 additions & 28 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,53 +8,48 @@ spack:
- [email protected]
packages:
cice5:
require: '@git.2023.10.19'
require:
- '@git.2023.10.19'
mom5:
require: '@git.2023.11.09'
require:
- '@git.2023.11.09'
libaccessom2:
require: '@git.2023.10.26'
require:
- '@git.2023.10.26'
oasis3-mct:
require: '@git.2023.11.09'
require:
- '@git.2023.11.09'
netcdf-c:
require: '@4.7.4'
require:
- '@4.7.4'
netcdf-fortran:
require: '@4.5.2'
require:
- '@4.5.2'
parallelio:
require: '@2.5.2'
require:
- '@2.5.2'
openmpi:
require: '@4.0.2'
require:
- '@4.0.2'
all:
compiler: [[email protected]]
require:
- '%[email protected]'
- 'target=x86_64'
view: true
concretizer:
unify: true
modules:
default:
enable:
- tcl
roots:
tcl: $spack/../release/modules
lmod: $spack/../release/lmod
tcl:
hash_length: 0
include:
- access-om2
- mom5
- cice5
- libaccessom2
- oasis3-mct
exclude_implicits: true
all:
autoload: run
conflict:
- '{name}'
environment:
set:
'SPACK_{name}_ROOT': '{prefix}'
projections:
all: '{name}/{version}'
access-om2: '{name}/2024.03.0'
cice5: '{name}/2023.10.19'
mom5: '{name}/2023.11.09'
libaccessom2: '{name}/2023.10.26'
oasis3-mct: '{name}/2023.11.09'
cice5: '{name}/2023.10.19-{hash:7}'
mom5: '{name}/2023.11.09-{hash:7}'
libaccessom2: '{name}/2023.10.26-{hash:7}'
oasis3-mct: '{name}/2023.11.09-{hash:7}'

0 comments on commit 47bc7bf

Please sign in to comment.