diff options
author | Rocco Meli <r.meli@bluemail.ch> | 2023-11-15 09:44:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 01:44:38 -0700 |
commit | 1d30e78b5419af674140084c5c355e376aa3f93b (patch) | |
tree | c36a2a559b283a153ca6739dcff3b65a14d91da9 | |
parent | b3146559fbc411eeacb4e2aae74b18f8880c9295 (diff) | |
download | spack-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.py | 4 |
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") |