Skip to content

Commit

Permalink
[INFRA] Also run snippet + performance for IntelLLVM
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Jan 24, 2024
1 parent e693833 commit db9a4ea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/ci_misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
build_type: Release
test_threads: 1 # snippets create and delete files and some separate tests create/delete the same files

- name: "Snippet IntelLLVM"
compiler: "intel"
build: snippet
build_type: Release
test_threads: 1 # snippets create and delete files and some separate tests create/delete the same files
cxx_flags: "-fp-model=strict"

- name: "Performance clang17 libc++"
compiler: "clang-17"
build: performance
Expand All @@ -57,6 +64,13 @@ jobs:
build_type: Release
test_threads: 2

- name: "Performance IntelLLVM"
compiler: "intel"
build: performance
build_type: Release
test_threads: 2
cxx_flags: "-fp-model=strict"

- name: "Header clang17 libc++"
compiler: "clang-17"
build: header
Expand Down Expand Up @@ -92,6 +106,7 @@ jobs:
fetch-depth: 1

- name: Install CMake
if: contains(matrix.compiler, 'intel') == false
uses: seqan/actions/setup-cmake@main
with:
cmake: 3.16.9
Expand Down
4 changes: 3 additions & 1 deletion test/seqan3-test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ cmake_minimum_required (VERSION 3.10)
# require SeqAn3 package
find_package (SeqAn3 REQUIRED HINTS ${CMAKE_CURRENT_LIST_DIR}/../build_system)

include (CheckCXXCompilerFlag)
include (CheckCXXSourceCompiles)
include (FindPackageHandleStandardArgs)
include (FindPackageMessage)
Expand Down Expand Up @@ -83,7 +84,8 @@ if (NOT TARGET seqan3::test::performance)
# std::views::join is experimental in libc++
target_compile_definitions (seqan3_test_performance INTERFACE _LIBCPP_ENABLE_EXPERIMENTAL)

if (SEQAN3_BENCHMARK_ALIGN_LOOPS)
check_cxx_compiler_flag ("-falign-loops=32" SEQAN3_HAS_FALIGN_LOOPS)
if (SEQAN3_BENCHMARK_ALIGN_LOOPS AND SEQAN3_HAS_FALIGN_LOOPS)
target_compile_options (seqan3_test_performance INTERFACE "-falign-loops=32")
endif ()

Expand Down

0 comments on commit db9a4ea

Please sign in to comment.