Skip to content

Commit

Permalink
COMP: Clang v14 -ffp-contract=off compiler option (#849)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <[email protected]>
  • Loading branch information
imikejackson authored Feb 5, 2024
1 parent d512fa2 commit 9d8379b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,11 @@ endif()
# Force HDF5 1.10 API
target_compile_definitions(simplnx PUBLIC "H5_USE_110_API")

target_compile_options( simplnx PUBLIC
$<$<CXX_COMPILER_ID:GNU,Clang,AppleClang,Intel>: "-ffp-contract=off">
)


if(SIMPLNX_ENABLE_MULTICORE)
target_compile_definitions(simplnx PUBLIC "SIMPLNX_ENABLE_MULTICORE")
target_link_libraries(simplnx PUBLIC TBB::tbb)
Expand Down
2 changes: 1 addition & 1 deletion vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"zlib",
"zstd"
],
"baseline": "5154386f1d47afc0bab1fb7de42078e88488dc56"
"baseline": "13dcb0971a538726d6c5cd0ccea1b8ab536a81af"
}
]
}
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"dependencies": [
{
"name": "ebsdlib",
"version>=": "1.0.26"
"version>=": "1.0.27"
}
]
},
Expand Down

0 comments on commit 9d8379b

Please sign in to comment.