mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 09:57:08 +08:00
Don't use LLVM_TABLEGEN_FLAGS with mlir-pdll: it's not a TableGen tool (#67486)
This can lead to build failure when a project is customizing this flag for TableGen. This seems to have been copy/pasted from TableGen CMake functions.
This commit is contained in:
@@ -108,7 +108,6 @@ function(_pdll_tablegen project ofn)
|
||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${ofn}
|
||||
COMMAND ${tablegen_exe} ${ARG_UNPARSED_ARGUMENTS} -I ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${tblgen_includes}
|
||||
${LLVM_TABLEGEN_FLAGS}
|
||||
${LLVM_TARGET_DEFINITIONS_ABSOLUTE}
|
||||
${tblgen_change_flag}
|
||||
${additional_cmdline}
|
||||
|
||||
Reference in New Issue
Block a user