This is an archive of the discontinued LLVM Phabricator instance.

[unittests] Build LLVMTestingSupport for out-of-source builds
ClosedPublic

Authored by mgorny on Aug 18 2017, 11:17 AM.

Details

Summary

The Process/gdb-remote test now requires the LLVMTestingSupport library
that is not installed by LLVM. As a result, when doing an out-of-source
build it fails being unable to find the library. To solve that, build
a local copy of the library when building LLDB with unittests and LLVM
sources available. This is based on how we deal with bundled gtest
sources.

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny created this revision.Aug 18 2017, 11:17 AM
zturner accepted this revision.Aug 18 2017, 4:23 PM

Seems fine to me, beanz?

This revision is now accepted and ready to land.Aug 18 2017, 4:23 PM
This revision was automatically updated to reflect the committed changes.