From 0c528583f50ee164b31846fbf9918b2fe0028c26 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 3 Apr 2025 08:09:17 +0100 Subject: [PATCH] build: clang-19 support removed from conanfile.py --- conanfile.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conanfile.py b/conanfile.py index 37363620..4395d09a 100644 --- a/conanfile.py +++ b/conanfile.py @@ -224,6 +224,12 @@ class MPUnitsConan(ConanFile): self.test_requires("wg21-linear_algebra/0.7.3") def validate(self): + compiler = self.settings.compiler + if compiler == "clang" and Version(compiler.version).major == 19: + raise ConanInvalidConfiguration( + "clang-19 does not build mp-units because of an unfixable bug in the compiler." + ) + self._check_feature_supported("mp-units", "minimum_support") for key, value in self._option_feature_map.items(): if self.options.get_safe(key) == True: