liaolucy added a comment. In D128250#3617617 <https://reviews.llvm.org/D128250#3617617>, @Emmmer wrote:
> 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"` without the patch, no error CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128250/new/ https://reviews.llvm.org/D128250 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits