File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 45
45
git config --global --add safe.directory /__w/CCF/CCF
46
46
mkdir build
47
47
cd build
48
- cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DSAN=ON ..
48
+ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DSAN=ON -DUSE_SNMALLOC=OFF ..
49
49
ninja
50
50
51
51
- name : " Test"
99
99
git config --global --add safe.directory /__w/CCF/CCF
100
100
mkdir build
101
101
cd build
102
- cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DTSAN=ON -DWORKER_THREADS=2 ..
102
+ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DTSAN=ON -DUSE_SNMALLOC=OFF - DWORKER_THREADS=2 ..
103
103
ninja
104
104
105
105
- name : " Test"
@@ -211,7 +211,7 @@ jobs:
211
211
mkdir build
212
212
cd build
213
213
# Use libc++ to enable hardening/bounds checking during tests
214
- cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DUSE_LIBCXX=ON ..
214
+ cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLONG_TESTS=ON -DUSE_LIBCXX=ON -DUSE_SNMALLOC=OFF ..
215
215
ninja
216
216
217
217
- name : " Test"
Original file line number Diff line number Diff line change @@ -138,6 +138,10 @@ endif()
138
138
if (SAN OR TSAN)
139
139
find_program (LLVM_SYMBOLIZER NAMES "llvm-symbolizer" )
140
140
message (STATUS "Using llvm symbolizer: ${LLVM_SYMBOLIZER} " )
141
+
142
+ if (USE_SNMALLOC)
143
+ message (FATAL_ERROR "snmalloc cannot be used with SAN or TSAN" )
144
+ endif ()
141
145
endif ()
142
146
143
147
enable_language (ASM)
You can’t perform that action at this time.
0 commit comments