[PATCH] D141581: [clang] Make clangBasic and clangDriver depend on LLVMTargetParser.
Konrad Wilhelm Kleine via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 20 11:47:18 PST 2023
kwk added a comment.
@tstellar as you suspected, I had the following problem when building clang in standalone mode and your patch solved it for me. Thank you.
-- Configuring done
CMake Error at /usr/lib64/cmake/llvm/AddLLVM.cmake:536 (add_dependencies):
The dependency target "RISCVTargetParserTableGen" of target
"obj.clangBasic" does not exist.
Call Stack (most recent call first):
cmake/modules/AddClang.cmake:106 (llvm_add_library)
lib/Basic/CMakeLists.txt:40 (add_clang_library)
CMake Error at /usr/lib64/cmake/llvm/AddLLVM.cmake:719 (add_dependencies):
The dependency target "RISCVTargetParserTableGen" of target "clangBasic"
does not exist.
Call Stack (most recent call first):
cmake/modules/AddClang.cmake:106 (llvm_add_library)
lib/Basic/CMakeLists.txt:40 (add_clang_library)
CMake Error at /usr/lib64/cmake/llvm/AddLLVM.cmake:536 (add_dependencies):
The dependency target "RISCVTargetParserTableGen" of target
"obj.clangDriver" does not exist.
Call Stack (most recent call first):
cmake/modules/AddClang.cmake:106 (llvm_add_library)
lib/Driver/CMakeLists.txt:17 (add_clang_library)
CMake Error at /usr/lib64/cmake/llvm/AddLLVM.cmake:719 (add_dependencies):
The dependency target "RISCVTargetParserTableGen" of target "clangDriver"
does not exist.
Call Stack (most recent call first):
cmake/modules/AddClang.cmake:106 (llvm_add_library)
lib/Driver/CMakeLists.txt:17 (add_clang_library)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141581/new/
https://reviews.llvm.org/D141581
More information about the cfe-commits
mailing list