[Lldb-commits] [PATCH] D76827: [lldb/CMake] Fix `install` for multi-configuration generators.
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 27 16:00:04 PDT 2020
JDevlieghere added a comment.
In D76827#1947070 <https://reviews.llvm.org/D76827#1947070>, @brooks wrote:
> 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.
Hey Brooks, do you have a public buildbot so I can try to fix it? What generator are you using?
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