This is an archive of the discontinued LLVM Phabricator instance.

[llvm] Include utils/unittest before projects and runtimes
ClosedPublic

Authored by JDevlieghere on Aug 14 2022, 9:36 AM.

Details

Reviewers
mgorny
tstellar
Summary

Include utils/unittest before projects and runtimes so that downstream projects can check for the existence of the llvm_gtest target.

Motivated by https://reviews.llvm.org/D124314

Diff Detail

Event Timeline

JDevlieghere created this revision.Aug 14 2022, 9:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 14 2022, 9:36 AM
JDevlieghere requested review of this revision.Aug 14 2022, 9:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 14 2022, 9:36 AM
mgorny added inline comments.Aug 14 2022, 10:43 AM
llvm/CMakeLists.txt
1144

I think you meant LLVM_INCLUDE_TESTS.

JDevlieghere marked an inline comment as done.
JDevlieghere added inline comments.
llvm/CMakeLists.txt
1144

Indeed I did.

mgorny accepted this revision.Aug 15 2022, 9:17 AM

LGTM. Thanks!

This revision is now accepted and ready to land.Aug 15 2022, 9:17 AM