diff options
author | Matt Davis <nullptr@fb.com> | 2020-02-21 10:33:35 -0800 |
---|---|---|
committer | Matt Davis <nullptr@fb.com> | 2020-02-21 10:37:02 -0800 |
commit | 07d2cdae11633139947f105888163adfd5646ce7 (patch) | |
tree | e6d5d3e0a8f1a98ad7f97ebac7e9fe2d43d7b393 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | db06870dbd5e85acbd39bb8dc3b2e1c751904f86 (diff) | |
download | llvm-07d2cdae11633139947f105888163adfd5646ce7.zip llvm-07d2cdae11633139947f105888163adfd5646ce7.tar.gz llvm-07d2cdae11633139947f105888163adfd5646ce7.tar.bz2 |
[lldb/cmake] Enable more verbose find_package output.
Summary:
The purpose of this patch is to make identifying missing dependencies clearer to the user.
`find_package` will report if a package is not found, that output, combined with the exiting
status message, is clearer than not having the additional verbosity.
If the SWIG dependency is required {LLDB_ENABLE_PYTHON, LLDB_ENABLE_LUA}
and SWIG is not available, fail the configuration step. Terminate the
configure early rather than later with a clear error message.
We could possibly modify:
`llvm-project/lldb/cmake/modules/FindPythonInterpAndLibs.cmake`
However, the patch here seems clear in my opinion.
Reviewers: aadsm, hhb, JDevlieghere
Reviewed By: JDevlieghere
Subscribers: labath, jrm, mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D74917
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions