Skip to content

Commit

Permalink
add -fprofile-update=atomic flag to coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
MFraters committed Oct 13, 2024
1 parent da97bf3 commit 9371817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ SET(FORCE_COLORED_OUTPUT ON CACHE BOOL "Forces colored output when compiling wit
IF ( CMAKE_BUILD_TYPE STREQUAL Coverage )
SET(CMAKE_VERBOSE_MAKEFILE on )
SET(WB_COMPILER_OPTIONS_PRIVATE_COVERAGE_NEW --coverage -fprofile-arcs -ftest-coverage -g)
SET(WB_COMPILER_OPTIONS_PRIVATE_COVERAGE_OLD "--coverage -fprofile-arcs -ftest-coverage -g")
SET(WB_COMPILER_OPTIONS_PRIVATE_COVERAGE_OLD "--coverage -fprofile-arcs -ftest-coverage -g -fprofile-update=atomic")

## for old versions of cmake
SET(WB_FORTRAN_COMPILER_FLAGS_COVERAGE "--coverage")
Expand Down

0 comments on commit 9371817

Please sign in to comment.