[all-commits] [llvm/llvm-project] 19c735: Merging r372835:

Michał Górny via All-commits all-commits at lists.llvm.org
Wed Nov 27 11:13:39 PST 2019


  Branch: refs/heads/release/9.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 19c735edfb7e937894463d0b315896ad972e44da
      https://github.com/llvm/llvm-project/commit/19c735edfb7e937894463d0b315896ad972e44da
  Author: Michal Gorny <mgorny at gentoo.org>
  Date:   2019-11-27 (Wed, 27 Nov 2019)

  Changed paths:
    M lldb/scripts/CMakeLists.txt
    M lldb/scripts/get_relative_lib_dir.py

  Log Message:
  -----------
  Merging r372835:

------------------------------------------------------------------------
r372835 | mgorny | 2019-09-25 02:47:35 -0700 (Wed, 25 Sep 2019) | 12 lines

[lldb] [cmake] Fix installing Python modules on systems using /usr/lib

Fix installing Python modules on systems that use /usr/lib for Python
while installing other libraries in /usr/lib64.  Rewrite CMake logic
to query correct directories from Python, similarly to how
prepare_binding_Python.py does it.  Furthermore, change the regex used
in get_relative_lib_dir.py to allow 'lib' without suffix.

I think that the code can be further improved but I'd like to take
this enterprise in smaller steps in case one of them breaks something.

Differential Revision: https://reviews.llvm.org/D67890
------------------------------------------------------------------------




More information about the All-commits mailing list