Skip to content

Commit

Permalink
Provide lowercase env variables jedi_cmake_ROOT and atlas_ROOT for ba…
Browse files Browse the repository at this point in the history
…ckward compatibility in spack-stack-1.7.0 only
  • Loading branch information
climbfuji committed Mar 20, 2024
1 parent e6dd341 commit 94f3592
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions configs/common/modules_lmod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,12 @@ modules:
suffixes:
+debug: 'debug'
build_type=Debug: 'debug'
# Keep lower-case var for backward compatibility; spack-stack-1.7.0 only
ecmwf-atlas:
environment:
set:
'atlas_ROOT': '{prefix}'
'ATLAS_ROOT': '{prefix}'
esmf:
environment:
set:
Expand All @@ -112,6 +114,11 @@ modules:
environment:
set:
'HDF5_DIR': '{prefix}'
# For backward compatibility; spack-stack-1.7.0 only
jedi-cmake:
environment:
set:
'jedi_cmake_ROOT': '{prefix}'
libpng:
environment:
set:
Expand Down
7 changes: 7 additions & 0 deletions configs/common/modules_tcl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,12 @@ modules:
suffixes:
+debug: 'debug'
build_type=Debug: 'debug'
# Keep lower-case var for backward compatibility; spack-stack-1.7.0 only
ecmwf-atlas:
environment:
set:
'atlas_ROOT': '{prefix}'
'ATLAS_ROOT': '{prefix}'
esmf:
environment:
set:
Expand All @@ -114,6 +116,11 @@ modules:
environment:
set:
'HDF5_DIR': '{prefix}'
# For backward compatibility; spack-stack-1.7.0 only
jedi-cmake:
environment:
set:
'jedi_cmake_ROOT': '{prefix}'
libpng:
environment:
set:
Expand Down

0 comments on commit 94f3592

Please sign in to comment.