This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] [test] Add missing cmake include for building libFuzzer alone
ClosedPublic

Authored by mgorny on Dec 6 2018, 11:11 AM.

Details

Summary

Include CompilerRTCompile in fuzzer tests explicitly. Otherwise, when
building only libFuzzer, CMake fails due to:

CMake Error at cmake/Modules/AddCompilerRT.cmake:395 (sanitizer_test_compile):
  Unknown CMake command "sanitizer_test_compile".
Call Stack (most recent call first):
  lib/fuzzer/tests/CMakeLists.txt:53 (generate_compiler_rt_tests)

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny created this revision.Dec 6 2018, 11:11 AM
Herald added subscribers: Restricted Project, llvm-commits, dberris. · View Herald TranscriptDec 6 2018, 11:11 AM
vitalybuka accepted this revision.Dec 6 2018, 11:18 AM
This revision is now accepted and ready to land.Dec 6 2018, 11:18 AM
This revision was automatically updated to reflect the committed changes.