Skip to content

Commit

Permalink
Fix for issue COMBINE-lab#966.
Browse files Browse the repository at this point in the history
    Set boost options in CMakeLists.txt to not promote doubles to long doubles. Promotion
    incurs performance penalty on all platforms, and particularly aarch64.
  • Loading branch information
dslarm committed Oct 23, 2024
1 parent 85df2f4 commit 7f13a8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ else()
message(FATAL_ERROR "Your C++ compiler does not support C++14.")
endif()


list(APPEND TGT_COMPILE_FLAGS -DBOOST_MATH_PROMOTE_DOUBLE_POLICY=false)

if(DO_QUIET_MAKE)
set(QUIET_MAKE "--silent")
else()
Expand Down

0 comments on commit 7f13a8b

Please sign in to comment.