From 11b98fc61dbab9371f25ae147a86292d871a9bc8 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Tue, 10 Dec 2024 11:30:06 +0100 Subject: [PATCH] Update cura.jinja to replace libsystemd on Linux Added a conditional section in the profile to replace the libsystemd version with 255.10 or higher for Linux. This change addresses a temporary compatibility issue with grpc versions below 1.67.0. The modification ensures smooth integration until the grpc update is completed. Contribute to NP-637 --- profiles/cura.jinja | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/profiles/cura.jinja b/profiles/cura.jinja index bc2c743..f7ff863 100644 --- a/profiles/cura.jinja +++ b/profiles/cura.jinja @@ -1,5 +1,13 @@ include(default) +[replace_requires] +{% if platform.system() == 'Linux' %} +# FIXME: once gRPC is updated to 1.67.0 or higher +# Using 255.10 or higher https://github.com/conan-io/conan-center-index/issues/24889 +# https://github.com/conan-io/conan-center-index/blob/879e140d9438ab491aceea766d0cf0ae3595dae8/recipes/grpc/all/conanfile.py#L122 +libsystemd/*: libsystemd/[>=255.10] +{% endif %} + [settings] compiler.cppstd=17 curaengine*:compiler.cppstd=20