Skip to content

Commit 4654513

Browse files
committed
Append a hash to the SPR modulefile names
* This change moves us closer to upstream behaviour. * Remove all the duplication of spack-config's common/modules.yaml.
1 parent 17a539a commit 4654513

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

spack.yaml

+4-19
Original file line numberDiff line numberDiff line change
@@ -40,31 +40,16 @@ spack:
4040
unify: true
4141
modules:
4242
default:
43-
enable:
44-
- tcl
45-
roots:
46-
tcl: $spack/../release/modules
47-
lmod: $spack/../release/lmod
4843
tcl:
49-
hash_length: 0
5044
include:
5145
- access-om2
5246
- mom5
5347
- cice5
5448
- libaccessom2
5549
- oasis3-mct
56-
exclude_implicits: true
57-
all:
58-
autoload: run
59-
conflict:
60-
- '{name}'
61-
environment:
62-
set:
63-
'SPACK_{name}_ROOT': '{prefix}'
6450
projections:
65-
all: '{name}/{version}'
6651
access-om2: '{name}/2024.08.0'
67-
cice5: '{name}/2023.10.19'
68-
mom5: '{name}/2024.08.23'
69-
libaccessom2: '{name}/2023.10.26'
70-
oasis3-mct: '{name}/2023.11.09'
52+
cice5: '{name}/2023.10.19-{hash:7}'
53+
mom5: '{name}/2024.08.23-{hash:7}'
54+
libaccessom2: '{name}/2023.10.26-{hash:7}'
55+
oasis3-mct: '{name}/2023.11.09-{hash:7}'

0 commit comments

Comments
 (0)