Skip to content

Commit

Permalink
Update seqan3
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Jan 26, 2024
1 parent 48b75ad commit 9d0d68d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
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

0 comments on commit 9d0d68d

Please sign in to comment.