This is an archive of the discontinued LLVM Phabricator instance.

clang/cmake: Use installed gtest libraries for stand-alone builds
ClosedPublic

Authored by tstellar on Nov 21 2022, 9:11 PM.

Diff Detail

Event Timeline

tstellar created this revision.Nov 21 2022, 9:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 9:11 PM
tstellar requested review of this revision.Nov 21 2022, 9:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 21 2022, 9:11 PM
kwk added a subscriber: kwk.Nov 22 2022, 2:38 AM
kwk added inline comments.
clang/CMakeLists.txt
103

I don't see no FindLLVMGTest.cmake file anywhere. Is that suppose to exist yet or which Patch is suppose to create it?

tstellar added inline comments.Nov 22 2022, 7:52 AM
clang/CMakeLists.txt
103

It's added in D137890. And it's called LLVMGTestConfig.cmake.

kwk accepted this revision.Jan 25 2023, 8:48 AM

Working for me.

This revision is now accepted and ready to land.Jan 25 2023, 8:48 AM
phosek accepted this revision.Jan 25 2023, 9:45 AM

LGTM

This revision was landed with ongoing or failed builds.Mar 10 2023, 8:01 PM
This revision was automatically updated to reflect the committed changes.