File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 86
86
run : |
87
87
cd build
88
88
ctest -v
89
+
90
+ - name : tsan result
91
+ uses : actions/upload-artifact@v2
92
+ if : always()
93
+ with :
94
+ name : tsan-report
95
+ path : build
89
96
90
97
- name : revert ownership of workspace to root
91
98
run : sudo chown -R root:root .
Original file line number Diff line number Diff line change @@ -74,10 +74,6 @@ if(ACL_TSAN)
74
74
if (CMAKE_COMPILER_IS_GNUCXX )
75
75
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ltsan -fsanitize=thread -g -O1 -fno-omit-frame-pointer -fPIC" )
76
76
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ltsan -fsanitize=thread -g -O1 -fno-omit-frame-pointer -fPIC" )
77
- # set(CMAKE_C_FLAGS_TSAN "-fsanitize=thread -g -O1" CACHE STRING "Flags used by the C compiler during ThreadSanitizer builds." FORCE)
78
- # set(CMAKE_CXX_FLAGS_TSAN "-fsanitize=thread -g -O1" CACHE STRING "Flags used by the C++ compiler during ThreadSanitizer builds." FORCE)
79
- set (CTEST_MEMORYCHECK_TYPE "ThreadSanitizer" )
80
- # set(MEMORYCHECK_SANITIZER_OPTIONS "Thread")
81
77
else ()
82
78
message (FATAL_ERROR "cannot build with tsan tools due to unsupported CXX compiler" )
83
79
endif ()
You can’t perform that action at this time.
0 commit comments