Skip to content

Commit

Permalink
try again with sanitizers
Browse files Browse the repository at this point in the history
  • Loading branch information
phlptp committed Dec 12, 2024
1 parent 4ac0f41 commit 5cc9570
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
machine:
image: ubuntu-2204:2024.11.1
docker:
- image: helics/buildenv:sanitizers-19
- image: helics/buildenv:sanitizers-14
environment:
CMAKE_FLAGS: '-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS="-fsanitize=thread -nostdinc++ -nostdlib++ -L/root/develop/libcxx_tsan/lib -lc++ -lc++abi -I/root/develop/libcxx_tsan/include -I/root/develop/libcxx_tsan/include/c++/v1 -Wno-unused-command-line-argument -fno-omit-frame-pointer -g -O2 -Wl,-rpath,/root/develop/libcxx_tsan/lib" '
TSAN_OPTIONS: "second_deadlock_stack=1"
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
machine:
image: ubuntu-2204:2024.11.1
docker:
- image: helics/buildenv:sanitizers-19
- image: helics/buildenv:sanitizers-14
environment:
CMAKE_FLAGS: '-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS="-fsanitize=memory -nostdinc++ -nostdlib++ -L/root/develop/libcxx_msan/lib -lc++ -lc++abi -I/root/develop/libcxx_msan/include -I/root/develop/libcxx_msan/include/c++/v1 -Wno-unused-command-line-argument -fno-omit-frame-pointer -g -O1 -Wl,-rpath,/root/develop/libcxx_msan/lib" '

Expand Down
8 changes: 4 additions & 4 deletions config/AddGoogletest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ add_subdirectory(
)

if(NOT MSVC)
target_compile_options(gtest PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(gmock PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(gtest_main PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(gmock_main PRIVATE "-Wno-undef -Wno-c++17-attribute-extensions")
target_compile_options(gtest PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
target_compile_options(gmock PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
target_compile_options(gtest_main PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
target_compile_options(gmock_main PUBLIC "-Wno-undef" "-Wno-c++17-attribute-extensions")
endif()

if(GOOGLE_TEST_INDIVIDUAL)
Expand Down

0 comments on commit 5cc9570

Please sign in to comment.