gloo: add a patch for building with gcc 12 (#41169)

This commit is contained in:
Juan Miguel Carceller 2023-11-22 20:39:01 +01:00 committed by GitHub
parent 7cad4bb8d9
commit 7e9ddca0ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,13 @@ class Gloo(CMakePackage, CudaPackage):
sha256="8e6e9a44e0533ba4303a95a651b1934e5d73632cab08cc7d5a9435e1e64aa424",
when="@:2023-01-16",
)
# Fix building with gcc 12, see https://github.com/facebookincubator/gloo/pull/333
patch(
"https://github.com/facebookincubator/gloo/commit/4a5e339b764261d20fc409071dc7a8b8989aa195.patch?full_index=1",
sha256="dc8b3a9bea4693f32d6850ea2ce6ce75e1778538bfba464b50efca92bac425e3",
when="@2021-05-21:2022-05-18",
)
generator("ninja")
depends_on("cmake@2.8.12:", type="build")