hpx: remove self-referential dependencies (#42485)

This shouldn't be an issue, but avoid self references
on "^asio".
This commit is contained in:
Massimiliano Culpo 2024-02-06 13:37:40 +01:00 committed by GitHub
parent 0960f691a1
commit ae000f963c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,11 +105,10 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage):
depends_on("boost +context", when="+generic_coroutines")
for cxxstd in cxxstds:
depends_on("boost cxxstd={0}".format(map_cxxstd(cxxstd)), when="cxxstd={0}".format(cxxstd))
depends_on("asio", when="@1.7:")
for cxxstd in cxxstds:
depends_on(
"asio cxxstd={0}".format(map_cxxstd(cxxstd)), when="cxxstd={0} ^asio".format(cxxstd)
)
with when("@1.7:"):
for cxxstd in cxxstds:
depends_on(f"asio cxxstd={map_cxxstd(cxxstd)}", when=f"cxxstd={cxxstd}")
depends_on("gperftools", when="malloc=tcmalloc")
depends_on("jemalloc", when="malloc=jemalloc")