Skip to content

Commit

Permalink
Merge branch 'master' into adaptive_cpp_update
Browse files Browse the repository at this point in the history
  • Loading branch information
OuadiElfarouki committed Feb 27, 2024
2 parents 8b4f189 + 2f149cb commit 241a34b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions benchmark/portblas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ if(BLAS_VERIFY_BENCHMARK)
find_package(SystemBLAS REQUIRED)
endif()

# update CXX_FLAGS to avoid error when building benchmarks
# in case of icpx compiler:
# explicit comparison with NaN in fast floating point mode [-Werror,-Wtautological-constant-compare]
# https://github.com/dealii/dealii/issues/14693
string(FIND ${CMAKE_CXX_COMPILER} "icpx" found_icpx)
if(${found_icpx} GREATER -1)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=tautological-constant-compare")
endif()

set(sources
# Level 1 blas
blas1/axpy.cpp
Expand Down

0 comments on commit 241a34b

Please sign in to comment.