summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMaciej Wójcik <w8jcik@gmail.com>2024-04-16 09:07:50 +0200
committerGitHub <noreply@github.com>2024-04-16 09:07:50 +0200
commite380e9a0ab315d33f0719243c3cba8e6ae0dc65b (patch)
tree38580f1c51700f56b73f5628059cd1612363cabf /var
parent8415ea9adad1229a10ad7ae1fc78583abd984f97 (diff)
downloadspack-e380e9a0ab315d33f0719243c3cba8e6ae0dc65b.tar.gz
spack-e380e9a0ab315d33f0719243c3cba8e6ae0dc65b.tar.bz2
spack-e380e9a0ab315d33f0719243c3cba8e6ae0dc65b.tar.xz
spack-e380e9a0ab315d33f0719243c3cba8e6ae0dc65b.zip
gromacs: prevent version conflict after enabling plumed (#43449)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index 62bf77e4cc..e95e88c211 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/package.py
@@ -225,15 +225,20 @@ class Gromacs(CMakePackage, CudaPackage):
# Above dependencies can be verified, and new versions added, by going to
# https://github.com/plumed/plumed2/tree/v2.9.0/patches
# and switching tags.
+
+ # Versions without minor release number, such as `2023` and `2021`,
+ # require exact specifcation using `@=`, starting from Spack v0.20.0,
+ # see https://github.com/spack/spack/releases/tag/v0.20.0
+
plumed_patches = {
- "2023": "2.9.0",
+ "=2023": "2.9.0",
"2022.5": "2.8.2:2.9.0",
"2022.3": "2.8.1",
"2021.7": "2.8.2:2.9.0",
"2021.6": "2.8.1",
"2021.5": "2.7.5:2.7.6",
"2021.4": "2.7.3:2.8.0",
- "2021": "2.7.1:2.7.2",
+ "=2021": "2.7.1:2.7.2",
"2020.7": "2.8.1:2.9.0",
"2020.6": "2.7.2:2.8.0",
"2020.5": "2.7.1",