This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Restore default setting of LLDB_INCLUDE_TESTS in standalone builds
ClosedPublic

Authored by bulbazord on Nov 17 2022, 1:59 PM.

Details

Summary

In 52f39853abd46495a6d636c4b035e1b92cf4b833 the option LLDB_INCLUDE_TESTS was moved above the inclusion of LLDBStandalone. This isn't a problem per-se, but it changes the default value of LLDB_INCLUDE_TESTS in standalone builds. LLDBStandalone explicitly sets LLVM_INCLUDE_TESTS to true, indicating that for standalone builds this is considered the default behavior. This patch restores said default behavior.

Diff Detail

Event Timeline

bulbazord created this revision.Nov 17 2022, 1:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2022, 1:59 PM
bulbazord requested review of this revision.Nov 17 2022, 1:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2022, 1:59 PM
mgorny accepted this revision.Nov 17 2022, 11:45 PM

Thanks, this makes sense. I just wish we could get D137035 in and avoid this whole complexity in the first place.

This revision is now accepted and ready to land.Nov 17 2022, 11:45 PM