boost: add 1.88.0 (#50158)

* boost: add 1.88.0

* pika: add conflict with boost 1.88.0
This commit is contained in:
Mikael Simberg 2025-04-25 08:54:07 +02:00 committed by GitHub
parent e6a0a6c145
commit 8921612f6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class Boost(Package):
license("BSL-1.0")
version("develop", branch="develop", submodules=True)
version("1.88.0", sha256="46d9d2c06637b219270877c9e16155cbd015b6dc84349af064c088e9b5b12f7b")
version("1.87.0", sha256="af57be25cb4c4f4b413ed692fe378affb4352ea50fbe294a11ef548f4d527d89")
version("1.86.0", sha256="1bed88e40401b2cb7a1f76d4bab499e352fa4d0c5f31c0dbae64e24d34d7513b")
version("1.85.0", sha256="7009fe1faa1697476bdc7027703a2badb84e849b7b0baad5086b087b971f8617")
@ -134,6 +135,7 @@ class Boost(Package):
"log",
"math",
"mpi",
"mqtt5",
"nowide",
"program_options",
"python",
@ -735,6 +737,8 @@ def install(self, spec, prefix):
with_libs = {f"{lib}" for lib in Boost.all_libs if f"+{lib}" in spec}
# Remove libraries that the release version does not support
if not spec.satisfies("@1.88.0:"):
with_libs.discard("mqtt5")
if not spec.satisfies("@1.85.0:"):
with_libs.discard("charconv")
if not spec.satisfies("@1.84.0:"):

View File

@ -129,6 +129,8 @@ class Pika(CMakePackage, CudaPackage, ROCmPackage):
# Other dependencies
depends_on("boost@1.71:")
# https://github.com/pika-org/pika/pull/1428
conflicts("^boost@1.88:", when="@:0.33")
depends_on("fmt@9:", when="@0.11:")
# https://github.com/pika-org/pika/issues/686
conflicts("^fmt@10:", when="@:0.15 +cuda")