[Lldb-commits] [PATCH] D76827: [lldb/CMake] Fix `install` for multi-configuration generators.

Brooks Davis via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 27 15:27:09 PDT 2020


brooks added a comment.

This is broken in a FreeBSD install.

  CMake Error at tools/lldb/cmake_install.cmake:44 (file):
    file INSTALL cannot find                                                        "/usr/local/poudriere/ports/brooks/devel/llvm-devel/work/Releasebuild/Release/lib/python3Release7/site-packages/lldb/..":          
    No such file or directory.                                                    Call Stack (most recent call first):
    tools/cmake_install.cmake:45 (include)     
    cmake_install.cmake:67 (include)                                              

Note the `python3Release7`.

This originates from this generated snippet in tools/lldb/cmake_install.cmake:

  if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xlldb-python-scriptsx" OR NOT CMAKE_INSTALL_COMPONENT)
    file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/python3${CMAKE_INSTALL_CONFIG_NAME}7/site-packages" TYPE DIRECTORY FILES "/usr/local/poudriere/ports/brooks/devel/llvm-devel/work/${CMAKE_INSTALL_CONFIG_NAME}build/${CMAKE_INSTALL_CONFIG_NAME}/lib/python3${CMAKE_INSTALL_CONFIG_NAME}7/site-packages/lldb/../")
  endif()

Please revert.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76827/new/

https://reviews.llvm.org/D76827





More information about the lldb-commits mailing list