Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: >
cmake -S . -B build
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-G Ninja -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-G Ninja
-D CMAKE_BUILD_TYPE=RELEASE
env:
CC: gcc-14
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
run: >
cmake -S . -B build
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-G Ninja -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-G Ninja
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=install
env:
CC: gcc-14
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
run: >
cmake -S . -B build
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-G Ninja -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-G Ninja
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=install
env:
CC: clang-20
Expand Down Expand Up @@ -361,7 +361,7 @@ jobs:
run: >
cmake -S . -B build
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-G Ninja -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-G Ninja
-D CMAKE_BUILD_TYPE=RELEASE -D ENABLE_ADDRESS_SANITIZER=ON -D ENABLE_UB_SANITIZER=ON
-D CMAKE_INSTALL_PREFIX=install
env:
Expand Down Expand Up @@ -519,7 +519,7 @@ jobs:
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-G Ninja -DCMAKE_C_FLAGS="-I$(brew --prefix)/opt/libomp/include"
-DCMAKE_CXX_FLAGS="-I$(brew --prefix)/opt/libomp/include"
-D CMAKE_BUILD_TYPE=RELEASE -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-D CMAKE_BUILD_TYPE=RELEASE
-DCMAKE_INSTALL_PREFIX=install
- name: Build project
run: |
Expand Down Expand Up @@ -664,7 +664,6 @@ jobs:
run: >
cmake -S . -B build -G Ninja -D CMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=install
- name: Build project
shell: bash
Expand Down Expand Up @@ -813,7 +812,6 @@ jobs:
run: >
cmake -S . -B build -G Ninja -D CMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=install
env:
CC: clang-cl
Expand Down Expand Up @@ -940,7 +938,7 @@ jobs:
run: >
cmake -S . -B build
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON -D CMAKE_BUILD_TYPE=RELEASE
-D CMAKE_BUILD_TYPE=RELEASE
-D CMAKE_VERBOSE_MAKEFILE=ON -D USE_COVERAGE=ON
- name: Build project
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/static-analysis-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
cmake_command: >
cmake -S . -B build
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-G Ninja -D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
config_file: .clang-tidy
exclude: 3rdparty
Expand Down Expand Up @@ -59,7 +58,7 @@ jobs:
cmake_command: >
cmake -S . -B build
-D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-G Ninja -D USE_FUNC_TESTS=ON -D USE_PERF_TESTS=ON
-G Ninja
-D CMAKE_BUILD_TYPE=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
config_file: .clang-tidy
exclude: 3rdparty
Expand Down
4 changes: 2 additions & 2 deletions cmake/modes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ MACRO(SUBDIRLIST result curdir)
SET(${result} ${dirlist})
ENDMACRO()

option(USE_FUNC_TESTS OFF)
option(USE_FUNC_TESTS "Enable functional tests" ON)
if( USE_FUNC_TESTS )
message( STATUS "Enable functional tests" )
add_compile_definitions(USE_FUNC_TESTS)
endif( USE_FUNC_TESTS )

option(USE_PERF_TESTS OFF)
option(USE_PERF_TESTS "Enable performance tests" ON)
if( USE_PERF_TESTS )
message( STATUS "Enable performance tests" )
add_compile_definitions(USE_PERF_TESTS)
Expand Down
Loading