Add llvm-driver to the list of toolchain tools (#123083)
If LLVM_TOOL_LLVM_DRIVER_BUILD is enabled, make sure LLVM_TOOLCHAIN_TOOLS includes llvm-driver, otherwise with LLVM_INSTALL_TOOLCHAIN_ONLY will install an invalid toolchain Co-authored-by: Andarwinux <Andarwinux@users.noreply.github.com>
This commit is contained in:
parent
b28e879a83
commit
ab6d41eae1
@ -1472,6 +1472,9 @@ if(NOT LLVM_TOOLCHAIN_TOOLS)
|
||||
if (LLVM_ENABLE_LIBXML2)
|
||||
list(APPEND LLVM_TOOLCHAIN_TOOLS llvm-mt)
|
||||
endif()
|
||||
if (LLVM_TOOL_LLVM_DRIVER_BUILD)
|
||||
list(APPEND LLVM_TOOLCHAIN_TOOLS llvm-driver)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
macro(llvm_add_tool project name)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user