This is an archive of the discontinued LLVM Phabricator instance.

[libc] Don't configure test and fuzzer when -DLLVM_INCLUDE_TESTS=OFF
ClosedPublic

Authored by abrachet on Mar 22 2020, 3:38 PM.

Diff Detail

Event Timeline

abrachet created this revision.Mar 22 2020, 3:38 PM

I can confirm this fixes my issue, thank you for the quick fix! I can approve if need be but might be better for someone else more familiar with this area to do that :)

MaskRay accepted this revision.Mar 22 2020, 6:09 PM
if(LLVM_INCLUDE_TESTS)
  add_subdirectory(test)
endif()

The pattern can be found elsewhere.

This revision is now accepted and ready to land.Mar 22 2020, 6:09 PM
sivachandra accepted this revision.Mar 22 2020, 9:11 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2020, 11:06 PM

Thx for the quick fix @abrachet !