summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRocco Meli <r.meli@bluemail.ch>2023-11-15 09:44:38 +0100
committerGitHub <noreply@github.com>2023-11-15 01:44:38 -0700
commit1d30e78b5419af674140084c5c355e376aa3f93b (patch)
treec36a2a559b283a153ca6739dcff3b65a14d91da9
parentb3146559fbc411eeacb4e2aae74b18f8880c9295 (diff)
downloadspack-1d30e78b5419af674140084c5c355e376aa3f93b.tar.gz
spack-1d30e78b5419af674140084c5c355e376aa3f93b.tar.bz2
spack-1d30e78b5419af674140084c5c355e376aa3f93b.tar.xz
spack-1d30e78b5419af674140084c5c355e376aa3f93b.zip
cp2k: add hipfft and hipblas explicitly (#41074)
-rw-r--r--var/spack/repos/builtin/packages/cp2k/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cp2k/package.py b/var/spack/repos/builtin/packages/cp2k/package.py
index 2e765c7539..0d90d0d123 100644
--- a/var/spack/repos/builtin/packages/cp2k/package.py
+++ b/var/spack/repos/builtin/packages/cp2k/package.py
@@ -297,6 +297,10 @@ class Cp2k(MakefilePackage, CudaPackage, CMakePackage, ROCmPackage):
depends_on("dbcsr+cuda", when="+cuda")
depends_on("dbcsr+rocm", when="+rocm")
+ with when("@2022: +rocm"):
+ depends_on("hipblas")
+ depends_on("hipfft")
+
# CP2K needs compiler specific compilation flags, e.g. optflags
conflicts("%apple-clang")
conflicts("%clang")