Skip to content

Commit

Permalink
Revert compiler related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinDelille committed Sep 5, 2024
1 parent 90d4929 commit e53fd22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recipes/sentry-native/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class SentryNativeConan(ConanFile):

@property
def _min_cppstd(self):
return "17" if Version(self.version) < "0.7.7" else "20"
return "17"

@property
def _minimum_compilers_version(self):
Expand All @@ -63,7 +63,7 @@ def _minimum_compilers_version(self):
"msvc": "191",
"gcc": minimum_gcc_version,
"clang": "3.4",
"apple-clang": "10.0",
"apple-clang": "5.1",
}

def config_options(self):
Expand Down Expand Up @@ -128,6 +128,8 @@ def validate(self):
)
if self.options.transport == "winhttp" and self.settings.os != "Windows":
raise ConanInvalidConfiguration("The winhttp transport is only supported on Windows")
if self.settings.compiler == "apple-clang" and Version(self.settings.compiler.version) < "10.0":
raise ConanInvalidConfiguration("apple-clang < 10.0 not supported")

def build_requirements(self):
if self.settings.os == "Windows":
Expand Down

0 comments on commit e53fd22

Please sign in to comment.