From b9193e3165bb17a15c27e8f677a84465c751567c Mon Sep 17 00:00:00 2001 From: danimtb Date: Fri, 6 Sep 2024 14:05:35 +0200 Subject: [PATCH] gcc7 invalid --- recipes/opus/all/conanfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/opus/all/conanfile.py b/recipes/opus/all/conanfile.py index d31f4907bb7951..3a360ff612bd97 100644 --- a/recipes/opus/all/conanfile.py +++ b/recipes/opus/all/conanfile.py @@ -58,8 +58,8 @@ def layout(self): def validate(self): check_min_vs(self, 190) - if self.version == ".1.5.2" and self.settings.compiler == "gcc" and self.settings.compiler.version == "5": - raise ConanInvalidConfiguration("GCC 5 not supported due to lack of AVX2 support") + if self.version == "1.5.2" and self.settings.compiler == "gcc" and self.settings.compiler.version in ["5", "7"]: + raise ConanInvalidConfiguration(f"GCC {self.settings.compiler.version} not supported due to lack of AVX2 support") def source(self): get(self, **self.conan_data["sources"][self.version],