Skip to content

Commit

Permalink
cp2k: add hipfft and hipblas explicitly (spack#41074)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMeli authored Nov 15, 2023
1 parent b314655 commit 1d30e78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions var/spack/repos/builtin/packages/cp2k/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1d30e78

Please sign in to comment.