Skip to content

Commit

Permalink
gcc7 invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
danimtb committed Sep 6, 2024
1 parent e223aeb commit b9193e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/opus/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit b9193e3

Please sign in to comment.