llvm-project/lldb/source
Jonas Devlieghere ae1cc995e3 [Cmake] Unify python variables
FindPythonInterp and FindPythonLibs do two things, they set some
variables (PYTHON_LIBRARIES, PYTHON_INCLUDE_DIRS) and update the cached
variables (PYTHON_LIBRARY, PYTHON_INCLUDE_DIR) which are also used to
specify a custom python installation.

I believe the canonical way to do this is to use the PYTHON_LIBRARIES
and PYTHON_INCLUDE_DIRS variables instead of the cached ones. However,
since the cached variables are accessible from the cache and GUI, this
is a lot less confusing when you're trying to debug why a variable did
or didn't get the value you expected. Furthermore, as far as I can tell,
the implementation uses the cached variables to set their LIBRARIES/DIRS
counterparts. This is also the reason this works today even though we
mix-and-match.

Differential revision: https://reviews.llvm.org/D59968

llvm-svn: 357282
2019-03-29 17:35:42 +00:00
..
API [Platform] Remove Kalimba Platform 2019-03-27 16:23:50 +00:00
Breakpoint Use the multi-lockable form of std::lock for operator= 2019-03-29 17:07:30 +00:00
Commands Quiet command regex instructions during batch execution 2019-03-10 23:15:48 +00:00
Core Use the multi-lockable form of std::lock for operator= 2019-03-29 17:07:30 +00:00
DataFormatters [DataFormatters] Remove LLDB_DISABLE_PYTHON from TypeCategory. 2019-03-15 16:55:51 +00:00
Expression Fix an invalid static cast in ClangExpressionParser.cpp 2019-03-13 19:46:30 +00:00
Host [lldb] Add missing EINTR handling 2019-03-21 19:35:55 +00:00
Initialization [Reproducers] Initialize reproducers before initializing the debugger. 2019-02-21 22:26:16 +00:00
Interpreter [NFC] find_first_of/find_last_of -> find/rfind for single char. 2019-03-28 18:10:14 +00:00
Plugins [NFC] find_first_of/find_last_of -> find/rfind for single char. 2019-03-28 18:10:14 +00:00
Symbol Remove the TypePair class 2019-03-26 13:35:54 +00:00
Target Use the multi-lockable form of std::lock for operator= 2019-03-29 17:07:30 +00:00
Utility [Cmake] Unify python variables 2019-03-29 17:35:42 +00:00
CMakeLists.txt [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00
lldb.cpp [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00