Skip to content

Commit

Permalink
(#21666) seqan3: add v3.3.0
Browse files Browse the repository at this point in the history
* seqan3: add v3.3.0

* seqan3: bump min GCC version
  • Loading branch information
valgur committed Jul 15, 2024
1 parent 6966ae1 commit d639625
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
7 changes: 5 additions & 2 deletions recipes/seqan3/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"3.3.0":
url: "https://github.com/seqan/seqan3/releases/download/3.3.0/seqan3-3.3.0-Source.tar.xz"
sha256: "da2fb621268ebc52b9cc26087e96f4a94109db1f4f28d363d19c7c9cdbd788b1"
"3.1.0":
url: https://github.com/seqan/seqan3/releases/download/3.1.0/seqan3-3.1.0-Source.tar.xz
sha256: 0b37b1c3450e19c0ebe42c052c3f87babb8074bd772f10a553949c312c285726
url: "https://github.com/seqan/seqan3/releases/download/3.1.0/seqan3-3.1.0-Source.tar.xz"
sha256: "0b37b1c3450e19c0ebe42c052c3f87babb8074bd772f10a553949c312c285726"
11 changes: 5 additions & 6 deletions recipes/seqan3/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ def _min_cppstd(self):

@property
def _compilers_minimum_version(self):
return {"gcc": "10"}
if Version(self.version) < "3.3.0":
return {"gcc": "10"}
return {"gcc": "11"}

def layout(self):
basic_layout(self, src_folder="src")
Expand All @@ -44,11 +46,8 @@ def validate(self):
check_min_cppstd(self, self._min_cppstd)

minimum_version = self._compilers_minimum_version.get(str(self.settings.compiler), False)
if minimum_version:
if Version(self.settings.compiler.version) < minimum_version:
raise ConanInvalidConfiguration("SeqAn3 requires C++20, which your compiler does not fully support.")
else:
self.output.warning("SeqAn3 requires C++20. Your compiler is unknown. Assuming it supports C++20.")
if minimum_version and Version(self.settings.compiler.version) < minimum_version:
raise ConanInvalidConfiguration("SeqAn3 requires C++20, which your compiler does not fully support.")

if self.settings.compiler == "gcc" and self.settings.compiler.libcxx != "libstdc++11":
self.output.warning("SeqAn3 does not actively support libstdc++, consider using libstdc++11 instead.")
Expand Down
2 changes: 2 additions & 0 deletions recipes/seqan3/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
versions:
"3.3.0":
folder: "all"
"3.1.0":
folder: "all"

0 comments on commit d639625

Please sign in to comment.