Skip to content

Commit

Permalink
Set the spack-version explicitly when @git.<gitref> is used
Browse files Browse the repository at this point in the history
* Spack upstream is planning to insert a spack-version when one is
  not explicitly provided.
* The error we saw when using `spack config change` can be avoided
  when a spack-version is explicitly provided.
* The latest spack-packages repository contains changes that this
  change requires.
  • Loading branch information
harshula committed Jan 31, 2025
1 parent d907f33 commit da388de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://github.com/ACCESS-NRI/schema/blob/main/au.org.access-nri/model/deployment/config/versions/3-0-0.json",
"spack": "0.22",
"spack-packages": "2024.03.22"
"spack-packages": "2025.01.1"
}
10 changes: 5 additions & 5 deletions spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
spack:
# add package specs to the `specs` list
specs:
- [email protected]
- [email protected]=access-om2
packages:
cice5:
require:
- '@git.2023.10.19'
- '@git.2023.10.19=access-om2'
mom5:
require:
- '@git.2023.11.09'
- '@git.2023.11.09=access-om2'
libaccessom2:
require:
- '@git.2023.10.26'
- '@git.2023.10.26=access-om2'
oasis3-mct:
require:
- '@git.2023.11.09'
- '@git.2023.11.09=access-om2'
netcdf-c:
require:
- '@4.7.4'
Expand Down

0 comments on commit da388de

Please sign in to comment.