forked from OSchip/llvm-project
[MemProf] Don't build memprof if sanitizer not being built
This should fix a couple of debian bot failures: http://lab.llvm.org:8011/#builders/14/builds/380 http://lab.llvm.org:8011/#builders/109/builds/533 They disable building of the sanitizer, which memprof relies on. So disable building of memprof in that case.
This commit is contained in:
parent
32f77eea2d
commit
3ed77ecd0a
|
@ -60,7 +60,8 @@ if(COMPILER_RT_BUILD_LIBFUZZER)
|
|||
compiler_rt_build_runtime(fuzzer)
|
||||
endif()
|
||||
|
||||
if(COMPILER_RT_BUILD_MEMPROF AND COMPILER_RT_HAS_SANITIZER_COMMON)
|
||||
if(COMPILER_RT_BUILD_MEMPROF AND COMPILER_RT_HAS_SANITIZER_COMMON AND
|
||||
COMPILER_RT_BUILD_SANITIZERS)
|
||||
compiler_rt_build_runtime(memprof)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue