Skip to content

Commit 076c9a1

Browse files
committed
remove extra flags for tsan
1 parent e6f1d45 commit 076c9a1

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/ubuntu.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -383,44 +383,34 @@ jobs:
383383
PPC_NUM_PROC: 2
384384
PPC_NUM_THREADS: 2
385385
PPC_ASAN_RUN: 1
386-
ASAN_OPTIONS: abort_on_error=1
387-
UBSAN_OPTIONS: halt_on_error=1
388386
TSAN_OPTIONS: ignore_noninstrumented_modules=1
389387
- name: Run tests (threads, num_threads=1)
390388
run: python3 scripts/run_tests.py --running-type="threads"
391389
env:
392390
PPC_NUM_PROC: 1
393391
PPC_NUM_THREADS: 1
394392
PPC_ASAN_RUN: 1
395-
ASAN_OPTIONS: abort_on_error=1
396-
UBSAN_OPTIONS: halt_on_error=1
397393
TSAN_OPTIONS: ignore_noninstrumented_modules=1
398394
- name: Run tests (threads, num_threads=2)
399395
run: python3 scripts/run_tests.py --running-type="threads"
400396
env:
401397
PPC_NUM_PROC: 1
402398
PPC_NUM_THREADS: 2
403399
PPC_ASAN_RUN: 1
404-
ASAN_OPTIONS: abort_on_error=1
405-
UBSAN_OPTIONS: halt_on_error=1
406400
TSAN_OPTIONS: ignore_noninstrumented_modules=1
407401
- name: Run tests (threads, num_threads=3)
408402
run: python3 scripts/run_tests.py --running-type="threads"
409403
env:
410404
PPC_NUM_PROC: 1
411405
PPC_NUM_THREADS: 3
412406
PPC_ASAN_RUN: 1
413-
ASAN_OPTIONS: abort_on_error=1
414-
UBSAN_OPTIONS: halt_on_error=1
415407
TSAN_OPTIONS: ignore_noninstrumented_modules=1
416408
- name: Run tests (threads, num_threads=4)
417409
run: python3 scripts/run_tests.py --running-type="threads"
418410
env:
419411
PPC_NUM_PROC: 1
420412
PPC_NUM_THREADS: 4
421413
PPC_ASAN_RUN: 1
422-
ASAN_OPTIONS: abort_on_error=1
423-
UBSAN_OPTIONS: halt_on_error=1
424414
TSAN_OPTIONS: ignore_noninstrumented_modules=1
425415
ubuntu-clang-sanitizer-test-extended:
426416
needs:

cmake/sanitizers.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU")
1515
add_compile_options(-fsanitize=leak)
1616
add_link_options(-fsanitize=leak)
1717
message(STATUS "Enabled leak sanitizer")
18+
endif()
1819
if (ENABLE_THREAD_SANITIZER)
1920
add_compile_options(-fsanitize=thread)
2021
add_link_options(-fsanitize=thread)

0 commit comments

Comments
 (0)