quantum_espresso: relax constrait to allow +openmp ^elpa~openmp (#42322)

This commit is contained in:
Ye Luo 2024-01-29 03:41:52 -06:00 committed by GitHub
parent ef26ee3f1f
commit 7242238a25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -130,7 +130,7 @@ class QuantumEspresso(CMakePackage, Package):
# CMake builds only support elpa without openmp # CMake builds only support elpa without openmp
depends_on("elpa~openmp", when="build_system=cmake") depends_on("elpa~openmp", when="build_system=cmake")
with when("build_system=generic"): with when("build_system=generic"):
depends_on("elpa+openmp", when="+openmp") depends_on("elpa", when="+openmp")
depends_on("elpa~openmp", when="~openmp") depends_on("elpa~openmp", when="~openmp")
# Elpa is formally supported by @:5.4.0, but QE configure searches # Elpa is formally supported by @:5.4.0, but QE configure searches
# for it in the wrong folders (or tries to download it within # for it in the wrong folders (or tries to download it within