Skip to content

Commit a02ffb3

Browse files
dhawalsrrayngun
authored andcommitted
EISW-161791 Adding -D macro to avoid compilation failure of mlir-src-sharder
Signed-off-by: Dhawal Srivastava <[email protected]>
1 parent 7ce2622 commit a02ffb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/modules/TableGen.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function(tablegen project ofn)
8181
endif()
8282

8383
if (NOT LLVM_ENABLE_WARNINGS)
84-
list(APPEND LLVM_TABLEGEN_FLAGS "-no-warn-on-unused-template-args")
84+
list(APPEND LLVM_TABLEGEN_FLAGS "-Dno-warn-on-unused-template-args")
8585
endif()
8686

8787
# We need both _TABLEGEN_TARGET and _TABLEGEN_EXE in the DEPENDS list

0 commit comments

Comments
 (0)