From dd7bb41bfe171542e84830bb318560a1011c23e8 Mon Sep 17 00:00:00 2001 From: KRM7 <70973547+KRM7@users.noreply.github.com> Date: Fri, 18 Aug 2023 18:41:30 +0200 Subject: [PATCH] temp --- .clang-tidy | 1 + .github/workflows/linux.yml | 10 ++++------ CMakeLists.txt | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index a2abdb8f..23a628bd 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -29,6 +29,7 @@ -readability-container-data-pointer, -readability-suspicious-call-argument, -readability-implicit-bool-conversion, + -readability-uppercase-literal-suffix, -bugprone-easily-swappable-parameters, -bugprone-exception-escape, -cppcoreguidelines-special-member-functions, diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c4c131e6..a6dd4f91 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -11,13 +11,11 @@ jobs: build-type: [ Release, RelWithDebInfo ] compiler: [ { cxx: g++-11, pkgs: gcc-11 libtbb-dev }, - #{ cxx: g++-12, pkgs: gcc-12 libtbb-dev }, # disabled because of warnings in the std library + { cxx: g++-12, pkgs: gcc-12 libtbb-dev }, # disabled because of warnings in the std library + { cxx: g++-13, pkgs: gcc-13 libtbb-dev }, { cxx: clang++-14, pkgs: clang-14 libtbb-dev }, { cxx: clang++-15, pkgs: clang-15 libtbb-dev }, - ] - lib-type: [ - { name: Static, cmake-flag: "OFF" }, - { name: Shared, cmake-flag: "ON" }, + { cxx: clang++-16, pkgs: clang-16 libtbb-dev }, ] defaults: @@ -41,7 +39,7 @@ jobs: - name: setup-build env: CXX: ${{ matrix.compiler.cxx }} - run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DGAPP_LINK_TBB=ON -DBUILD_SHARED_LIBS=${{ matrix.lib-type.cmake-flag }} + run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DGAPP_LINK_TBB=ON -DBUILD_SHARED_LIBS=OFF - name: build run: cmake --build . --parallel diff --git a/CMakeLists.txt b/CMakeLists.txt index 62bec619..0349c4f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,7 +86,7 @@ else() # GNU style compiler interface set(GAPP_WARN_FLAGS "${GAPP_WARN_FLAGS} -Werror -pedantic-errors") endif() - set(GAPP_OPT_FLAGS "-O3 -fno-math-errno -fno-signed-zeros -fno-trapping-math -freciprocal-math -fno-rounding-math") + set(GAPP_OPT_FLAGS "-O3 -fno-math-errno -fno-trapping-math -freciprocal-math -fno-signed-zeros -fno-signaling-nans -fno-associative-math -fno-finite-math-only") if(GAPP_USE_MARCH_NATIVE) set(GAPP_OPT_FLAGS "${GAPP_OPT_FLAGS} -march=native") endif()