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

Fix/update seqan3 #134

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
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
22 changes: 15 additions & 7 deletions .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
cancel-in-progress: true

env:
CMAKE_VERSION: 3.10.3
CMAKE_VERSION: 3.16.9
SEQAN3_NO_VERSION_CHECK: 1
TZ: Europe/Berlin

Expand All @@ -32,22 +32,30 @@ jobs:
- name: "Coverage gcc12"
cxx: "g++-12"
cc: "gcc-12"
cxx_flags: "-std=c++20"
pkg: "g++-12"
build: coverage
build_type: Coverage

- name: "gcc13"
cxx: "g++"
cc: "gcc"
cxx_flags: "-std=c++20"
pkg: "g++-13"
build_type: Release

- name: "gcc12"
cxx: "g++-12"
cc: "gcc-12"
cxx_flags: "-std=c++20"
pkg: "g++-12"
build_type: Release

- name: "gcc11"
cxx: "g++-11"
cc: "gcc-11"
build_type: Release

- name: "gcc10"
cxx: "g++-10"
cc: "gcc-10"
cxx_flags: "-std=c++20"
pkg: "g++-11"
build_type: Release

steps:
Expand All @@ -68,7 +76,7 @@ jobs:
run: sudo apt-get install --yes ccache

- name: Install compiler ${{ matrix.cxx }}
run: sudo apt-get install --yes ${{ matrix.cxx }}
run: sudo apt-get install --yes ${{ matrix.pkg }}

- name: Install lcov
if: matrix.build == 'coverage'
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
cancel-in-progress: true

env:
CMAKE_VERSION: 3.10.3
CMAKE_VERSION: 3.16.9
SEQAN3_NO_VERSION_CHECK: 1
TZ: Europe/Berlin

Expand All @@ -29,19 +29,22 @@ jobs:
fail-fast: true
matrix:
include:
- name: "gcc13"
cxx: "g++-13"
cc: "gcc-13"
cxx_flags: "-std=c++20"
build_type: Release

- name: "gcc12"
cxx: "g++-12"
cc: "gcc-12"
cxx_flags: "-std=c++20"
build_type: Release

- name: "gcc11"
cxx: "g++-11"
cc: "gcc-11"
build_type: Release

- name: "gcc10"
cxx: "g++-10"
cc: "gcc-10"
cxx_flags: "-std=c++20"
build_type: Release

steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ jobs:
include:
- name: "Documentation"
build: documentation
cxx_flags: "-std=c++20"
build_threads: 2
test_threads: 2
cmake: 3.10.3
cmake: 3.16.9
doxygen: 1.9.4
requires_toolchain: false
requires_ccache: false
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
[submodule "lib/robin-hood-hashing"]
path = lib/robin-hood-hashing
url = https://github.com/martinus/robin-hood-hashing
[submodule "lib/sharg-parser"]
path = lib/sharg-parser
url = https://github.com/seqan/sharg-parser.git
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ set (FontReset "${Esc}[m")
# Dependency: SeqAn3.
find_package (SeqAn3 QUIET REQUIRED HINTS lib/seqan3/build_system)

# Dependency: sharg
find_package (sharg QUIET REQUIRED HINTS lib/sharg-parser/build_system)

# Use ccache.
include ("${SEQAN3_CLONE_DIR}/test/cmake/seqan3_require_ccache.cmake")
seqan3_require_ccache ()
Expand Down
2 changes: 1 addition & 1 deletion include/shared.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,5 @@ void store_ibf(IBFType const & ibf,
{
std::ofstream os{opath, std::ios::binary};
cereal::BinaryOutputArchive oarchive{os};
oarchive(seqan3::interleaved_bloom_filter(ibf));
oarchive(ibf);
}
2 changes: 1 addition & 1 deletion lib/seqan3
Submodule seqan3 updated 338 files
1 change: 1 addition & 0 deletions lib/sharg-parser
Submodule sharg-parser added at 285f6a
9 changes: 6 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ cmake_minimum_required (VERSION 3.9)

find_package(OpenMP REQUIRED)
add_library ("${PROJECT_NAME}_lib" STATIC ibf.cpp estimate.cpp)
target_link_libraries ("${PROJECT_NAME}_lib" PUBLIC seqan3::seqan3)
target_link_libraries ("${PROJECT_NAME}_lib" PUBLIC robin_hood)
target_link_libraries("${PROJECT_NAME}_lib" PUBLIC OpenMP::OpenMP_CXX)
target_link_libraries ("${PROJECT_NAME}_lib" PUBLIC
seqan3::seqan3
robin_hood
OpenMP::OpenMP_CXX
sharg::sharg
)

target_include_directories ("${PROJECT_NAME}_lib" PUBLIC ../include)

Expand Down
Loading