summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-10-27 08:29:02 +0200
committerGitHub <noreply@github.com>2023-10-27 08:29:02 +0200
commit37f48aff8bda58ca89d92c925a4fae86208a8bc5 (patch)
tree43def4645b1ca1dbad9601b9b82b4c8f1dab1e87
parentfeda52f800ac14f033e3cd7792cf534f31be032f (diff)
downloadspack-37f48aff8bda58ca89d92c925a4fae86208a8bc5.tar.gz
spack-37f48aff8bda58ca89d92c925a4fae86208a8bc5.tar.bz2
spack-37f48aff8bda58ca89d92c925a4fae86208a8bc5.tar.xz
spack-37f48aff8bda58ca89d92c925a4fae86208a8bc5.zip
gromacs: fix version branch in intel fftw (#40489)
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index e280234a0e..d516add377 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/package.py
@@ -618,7 +618,7 @@ class CMakeBuilder(spack.build_systems.cmake.CMakeBuilder):
# fftw-api@3 is provided by intel-mkl or intel-parllel-studio
# we use the mkl interface of gromacs
options.append("-DGMX_FFT_LIBRARY=mkl")
- if not self.spec["mkl"].satisfies("@2023:"):
+ if self.spec.satisfies("@:2022"):
options.append(
"-DMKL_INCLUDE_DIR={0}".format(self.spec["mkl"].headers.directories[0])
)