Skip to content

Commit

Permalink
Merge pull request #3019 from eseiler/fix/api_final
Browse files Browse the repository at this point in the history
[FIX] API ABI warning
  • Loading branch information
smehringer authored Jun 20, 2022
2 parents 04a5de5 + 442a4fc commit 80166bb
Show file tree
Hide file tree
Showing 12 changed files with 53 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d3d37b0f3f79074d3f3a75418b3559f8c2750972 Mon Sep 17 00:00:00 2001
From c17b5b026c1646b25393156e77f6a86ffbd89dbb Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 16:42:25 +0200
Subject: [PATCH 01/11] [API] [BREAKAGE] views::to -> ranges::to
Subject: [PATCH 01/12] [API] [BREAKAGE] views::to -> ranges::to

---
doc/tutorial/alphabet/alphabet_gc_content.cpp | 2 +-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 4668cc467c1c78afb7426f2f122956a94c07f6b4 Mon Sep 17 00:00:00 2001
From b34296417c548d3f9110daa8c57ecc6795a6224b Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 16:44:30 +0200
Subject: [PATCH 02/11] [NOAPI] [DETAIL] Remove STL tests
Subject: [PATCH 02/12] [NOAPI] [DETAIL] Remove STL tests

---
.../seqan3/test/concept_helper_classes.hpp | 165 ++++++++++++
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 3a6cc9851cda27e9592194c3c7131d32b9fdb0e0 Mon Sep 17 00:00:00 2001
From 0fc9660ef2c0f42954a1210c312c85107502a546 Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 16:46:16 +0200
Subject: [PATCH 03/11] [NOAPI] [DETAIL] Remove range-v3
Subject: [PATCH 03/12] [NOAPI] [DETAIL] Remove range-v3

---
test/include/seqan3/test/seqan2.hpp | 16 ----------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From e71b59bfcd3b1f660314c0a6659a9367b9432c63 Mon Sep 17 00:00:00 2001
From d5450d6435accfca62fea75dcf32689b3f96375d Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 16:46:40 +0200
Subject: [PATCH 04/11] [NOAPI] [DETAIL] Concept definitions
Subject: [PATCH 04/12] [NOAPI] [DETAIL] Concept definitions

---
test/unit/core/detail/iterator_traits_test.cpp | 4 ++--
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 76abe0f0056f9f88fa5115553fd7f3829e661b82 Mon Sep 17 00:00:00 2001
From 9c71f743217efb5728722fbe3eb11bf9a1efe66e Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 16:46:56 +0200
Subject: [PATCH 05/11] [NOAPI] [DETAIL] Unused variables
Subject: [PATCH 05/12] [NOAPI] [DETAIL] Unused variables

---
test/snippet/alphabet/views/translate_usage.cpp | 15 ++++++++-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From f68e939a9a9f244d06d469f65501b7068c5183f8 Mon Sep 17 00:00:00 2001
From e9f52b45e92826638b6b3ba2e0c918b68f712bb5 Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 16:47:10 +0200
Subject: [PATCH 06/11] [NOAPI] [DETAIL] Include md instead of hpp
Subject: [PATCH 06/12] [NOAPI] [DETAIL] Include md instead of hpp

---
test/snippet/CMakeLists.txt | 2 +-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 8172bf5a2d482d210f8ea4a71d61482611aa0ad3 Mon Sep 17 00:00:00 2001
From 4925137c30f4beb682c3ceb2532d5106b5bdc2c0 Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 17:19:37 +0200
Subject: [PATCH 07/11] [NOAPI] [DETAIL] container concept
Subject: [PATCH 07/12] [NOAPI] [DETAIL] container concept

---
test/unit/alphabet/container/container_of_container_test.cpp | 1 -
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From d56d85a942a284253434039f5851922171d28a93 Mon Sep 17 00:00:00 2001
From d7afc1ac49b603118cd36bb495ca8ad1156ebfcf Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 17:24:30 +0200
Subject: [PATCH 08/11] [API] [FIX] flags must be false
Subject: [PATCH 08/12] [API] [FIX] flags must be false

---
.../argument_parser_design_error_test.cpp | 55 +++++-----
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 8c4d8576d6d5678dc0ba22422078ceb813321f6c Mon Sep 17 00:00:00 2001
From 4e5211678e028952ee165d0b8330b068e1370813 Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 17:25:43 +0200
Subject: [PATCH 09/11] [NOAPI] [DETAIL] Update copyright year
Subject: [PATCH 09/12] [NOAPI] [DETAIL] Update copyright year

---
.../argument_parser/detail/format_help_test.cpp | 14 +++++++-------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 5238daf90a58f7335ee439daa474f624b57ac0d2 Mon Sep 17 00:00:00 2001
From 50f7a76f13399faafd1c44e94ad01e5d34cc663d Mon Sep 17 00:00:00 2001
From: Simon Gene Gottlieb <[email protected]>
Date: Tue, 26 Oct 2021 10:37:46 +0200
Subject: [PATCH 10/11] [API] [BREAKGE] FASTA ID parsing
Subject: [PATCH 10/12] [API] [BREAKGE] FASTA ID parsing

---
.../sequence_file_input_aminoacid.cpp | 6 +-
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From fb4cb41dca810f4fe79c5fde912b91955323cabd Mon Sep 17 00:00:00 2001
From d1a5e14f308426da79f4b9b9225604a839e81881 Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 13 Jun 2022 17:31:24 +0200
Subject: [PATCH 11/11] [API] [FIX] single_pass_input output_range
Subject: [PATCH 11/12] [API] [FIX] single_pass_input output_range

---
test/unit/io/views/detail/take_exactly_view_test.cpp | 2 +-
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From a309f31b3c56bd480f90d05f1b6d06ea51a34eed Mon Sep 17 00:00:00 2001
From: Enrico Seiler <[email protected]>
Date: Mon, 20 Dec 2021 10:30:40 +0100
Subject: [PATCH 12/12] [NOAPI] [DETAIL] Disable warning about ABI

---
test/seqan3-test.cmake | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/test/seqan3-test.cmake b/test/seqan3-test.cmake
index 2c566cc80..6e4f1d31b 100644
--- a/test/seqan3-test.cmake
+++ b/test/seqan3-test.cmake
@@ -64,6 +64,14 @@ file(MAKE_DIRECTORY ${SEQAN3_TEST_CLONE_DIR}/googletest/include/)
# libraries which are in common for **all** seqan3 tests
add_library (seqan3_test INTERFACE)
target_compile_options (seqan3_test INTERFACE "-pedantic" "-Wall" "-Wextra" "-Werror")
+
+# GCC12 and above: Disable warning about std::hardware_destructive_interference_size not being ABI-stable.
+if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
+ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 12)
+ target_compile_options (seqan3_test INTERFACE "-Wno-interference-size")
+ endif ()
+endif ()
+
target_link_libraries (seqan3_test INTERFACE "seqan3::seqan3" "pthread")
target_include_directories (seqan3_test INTERFACE "${SEQAN3_TEST_INCLUDE_DIR}")
add_library (seqan3::test ALIAS seqan3_test)
--
2.34.1

1 comment on commit 80166bb

@vercel
Copy link

@vercel vercel bot commented on 80166bb Jun 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

seqan3 – ./

seqan3-git-master-seqan.vercel.app
seqan3-seqan.vercel.app
seqan3.vercel.app

Please sign in to comment.