Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update seqan3 #45405

Merged
merged 1 commit into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions recipes/seqan3/fix_glibcxx_debug.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 47b77ef92911ff1667f4487edb3961f0c28f407b Mon Sep 17 00:00:00 2001
From: Simon Gene Gottlieb <[email protected]>
Date: Wed, 17 Jan 2024 12:09:11 +0100
Subject: [PATCH] [FIX] Do not use constexpr vector with _GLIBCXX_DEBUG

---
include/seqan3/core/platform.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/seqan3/core/platform.hpp b/include/seqan3/core/platform.hpp
index 1fd92faa7..e0c7687fe 100644
--- a/include/seqan3/core/platform.hpp
+++ b/include/seqan3/core/platform.hpp
@@ -252,7 +252,7 @@ static_assert(sdsl::sdsl_version_major == 3, "Only version 3 of the SDSL is supp
#endif

//!\brief Our char literals returning std::vector should be constexpr if constexpr std::vector is supported.
-#if defined(__cpp_lib_constexpr_vector) && __cpp_lib_constexpr_vector >= 201907L
+#if __cpp_lib_constexpr_vector >= 201907L && !defined(_GLIBCXX_DEBUG)
# define SEQAN3_WORKAROUND_LITERAL constexpr
#else
# define SEQAN3_WORKAROUND_LITERAL inline
--
2.43.0

4 changes: 3 additions & 1 deletion recipes/seqan3/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ package:
source:
url: https://github.com/seqan/{{ name|lower }}/releases/download/{{ version }}/seqan3-{{ version }}-Source.tar.xz
sha256: da2fb621268ebc52b9cc26087e96f4a94109db1f4f28d363d19c7c9cdbd788b1
patches:
- fix_glibcxx_debug.patch # Fix will be included in 3.4.0

build:
noarch: generic
number: 0
number: 1
run_exports:
- {{ pin_subpackage('seqan3', max_pin="x") }}

Expand Down