Fix the version number for the fmt dep of pika package (#34839)

* Fix the version number for the fmt dep of pika package

* Add version constraint for fmt standard specification
This commit is contained in:
Auriane R 2023-01-06 14:59:23 +01:00 committed by GitHub
parent 6fdb5dfa0a
commit df10e711f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ class Pika(CMakePackage, CudaPackage, ROCmPackage):
# Other dependencies # Other dependencies
depends_on("boost@1.71:") depends_on("boost@1.71:")
depends_on("fmt@0.9:", when="@0.11:") depends_on("fmt@9:", when="@0.11:")
depends_on("hwloc@1.11.5:") depends_on("hwloc@1.11.5:")
depends_on("gperftools", when="malloc=tcmalloc") depends_on("gperftools", when="malloc=tcmalloc")
@ -107,7 +107,7 @@ class Pika(CMakePackage, CudaPackage, ROCmPackage):
for cxxstd in cxxstds: for cxxstd in cxxstds:
depends_on("boost cxxstd={0}".format(map_cxxstd(cxxstd)), when="cxxstd={0}".format(cxxstd)) depends_on("boost cxxstd={0}".format(map_cxxstd(cxxstd)), when="cxxstd={0}".format(cxxstd))
depends_on("fmt cxxstd={0}".format(cxxstd), when="cxxstd={0}".format(cxxstd)) depends_on("fmt cxxstd={0}".format(cxxstd), when="@0.11: cxxstd={0}".format(cxxstd))
# COROUTINES # COROUTINES
# ~generic_coroutines conflict is not fully implemented # ~generic_coroutines conflict is not fully implemented