berkeleygw: fix self-referential dependencies (#42470)

Also, remove a couple of duplicate directives
This commit is contained in:
Massimiliano Culpo 2024-02-05 09:04:32 +01:00 committed by GitHub
parent 57fe3430fd
commit f396dbcb4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,10 +101,8 @@ class Berkeleygw(MakefilePackage):
# Force openmp propagation on some providers of blas / fftw-api # Force openmp propagation on some providers of blas / fftw-api
with when("+openmp"): with when("+openmp"):
depends_on("fftw+openmp", when="^fftw") depends_on("openblas threads=openmp", when="^[virtuals=blas] openblas")
depends_on("amdfftw+openmp", when="^amdfftw") depends_on("amdblis threads=openmp", when="^[virtuals=blas] amdblis")
depends_on("openblas threads=openmp", when="^openblas")
depends_on("amdblis threads=openmp", when="^amdblis")
parallel = False parallel = False