cp2k: protect 2024.3 against newer libxc (#47363)

* cp2k: protect against newer libxc

* Compat bound for libxc
This commit is contained in:
Paul R. C. Kent 2024-11-01 13:40:10 -04:00 committed by GitHub
parent 24d3ed8c18
commit 8f09f523cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -201,6 +201,7 @@ class Cp2k(MakefilePackage, CMakePackage, CudaPackage, ROCmPackage):
depends_on("libxc@5.1.7:5.1", when="@9:2022.2")
depends_on("libxc@6.1:", when="@2023.1:")
depends_on("libxc@6.2:", when="@2023.2:")
depends_on("libxc@:6", when="@:2024.3")
with when("+spla"):
depends_on("spla+cuda+fortran", when="+cuda")