Skip to content

Commit

Permalink
libprotobuf-mutator: drop v1.3 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Jan 20, 2024
1 parent a38ddeb commit ebcea24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 0 additions & 3 deletions recipes/libprotobuf-mutator/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
sources:
"1.3":
url: "https://github.com/google/libprotobuf-mutator/archive/refs/tags/v1.3.tar.gz"
sha256: "1ee3473a6b0274494fce599539605bb19305c0efadc62b58d645812132c31baa"
"1.1":
url: "https://github.com/google/libprotobuf-mutator/archive/refs/tags/v1.1.tar.gz"
sha256: "fd299fd72c5cf664259d9bd43a72cb74dc6a8b9604d107fe2d2e90885aeb7c16"
Expand Down
6 changes: 5 additions & 1 deletion recipes/libprotobuf-mutator/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ def layout(self):
cmake_layout(self, src_folder="src")

def requirements(self):
self.requires("protobuf/3.21.12", transitive_headers=True, transitive_libs=True)
if Version(self.version) >= "1.2" and not self.version.startswith("cci."):
# Requires v3.22+
self.requires("protobuf/3.25.2", transitive_headers=True, transitive_libs=True)
else:
self.requires("protobuf/3.21.12", transitive_headers=True, transitive_libs=True)

def validate(self):
if self.settings.compiler in ["gcc", "clang", "intel-cc"] and self.settings.compiler.libcxx != "libstdc++11":
Expand Down
2 changes: 0 additions & 2 deletions recipes/libprotobuf-mutator/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
versions:
"1.3":
folder: all
"1.1":
folder: all
"cci.20210831":
Expand Down

0 comments on commit ebcea24

Please sign in to comment.