Skip to content

Commit 2ff45f0

Browse files
authored
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.
1 parent f2c97ff commit 2ff45f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/cmake/modules/AddMLIR.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ function(_pdll_tablegen project ofn)
108108
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${ofn}
109109
COMMAND ${tablegen_exe} ${ARG_UNPARSED_ARGUMENTS} -I ${CMAKE_CURRENT_SOURCE_DIR}
110110
${tblgen_includes}
111-
${LLVM_TABLEGEN_FLAGS}
112111
${LLVM_TARGET_DEFINITIONS_ABSOLUTE}
113112
${tblgen_change_flag}
114113
${additional_cmdline}

0 commit comments

Comments
 (0)