[Lldb-commits] [PATCH] D128250: [LLDB][RISCV]Add initial support for lldb-server.
Emmmer S via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 28 21:53:38 PDT 2022
Emmmer added a comment.
In D128250#3617409 <https://reviews.llvm.org/D128250#3617409>, @liaolucy wrote:
> I try to build lldb with the patch, but fail:
>
> The environment:
>
> cat /proc/cpuinfo
> processor : 0
> hart : 2
> isa : rv64imafdc
> mmu : sv39
> uarch : sifive,u74-mc
>
> llvm commit: d1b098fc <https://reviews.llvm.org/rGd1b098fc825176242afee12b8f9dc14adf5eec51>
>
> Command: cmake -DLLVM_TARGETS_TO_BUILD="RISCV" -DLLVM_ENABLE_PROJECTS="lldb" -DCMAKE_BUILD_TYPE="Release" -G Ninja ../llvm
>
> Error:
>
> CMake Error at /home/liaochunyu/llvm-project/lldb/cmake/modules/LLDBConfig.cmake:289 (message):
> Expected directory for clang-resource headers not found:
> Call Stack (most recent call first):
> /home/liaochunyu/llvm-project/lldb/CMakeLists.txt:28 (include)
>
>
> -- Configuring incomplete, errors occurred!
The most convenient way to handle clang dependencies is adding clang to LLVM_ENABLE_PROJECTS
`-DLLVM_ENABLE_PROJECTS="lldb;clang"`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128250/new/
https://reviews.llvm.org/D128250
More information about the lldb-commits
mailing list