File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
include/flang/Optimizer/Dialect Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -242,9 +242,9 @@ else()
242242 set (FLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR} )
243243 endif ()
244244
245- set (MLIR_INCLUDE_DIR ${MLIR_MAIN_SRC_DIR} /include ) # --includedir
245+ set (MLIR_INCLUDE_DIRS ${MLIR_MAIN_SRC_DIR} /include ) # --includedir
246246 set (MLIR_TABLEGEN_OUTPUT_DIR ${CMAKE_BINARY_DIR} /tools/mlir/include )
247- include_directories (SYSTEM ${MLIR_INCLUDE_DIR } )
247+ include_directories (SYSTEM ${MLIR_INCLUDE_DIRS } )
248248 include_directories (SYSTEM ${MLIR_TABLEGEN_OUTPUT_DIR} )
249249endif ()
250250
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ set_target_properties(flang-doc PROPERTIES FOLDER "Flang/Docs")
3737set (dialect_doc_filename "FIRLangRef" )
3838
3939set (LLVM_TARGET_DEFINITIONS FIROps.td)
40- tablegen(MLIR ${dialect_doc_filename} .md -gen-op-doc "-I ${MLIR_INCLUDE_DIR} " )
40+ tablegen(MLIR ${dialect_doc_filename} .md -gen-op-doc )
4141set (GEN_DOC_FILE ${FLANG_BINARY_DIR} /docs/Dialect/${dialect_doc_filename} .md )
4242add_custom_command (
4343 OUTPUT ${GEN_DOC_FILE}
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ set(MLIR_INSTALL_AGGREGATE_OBJECTS "@MLIR_INSTALL_AGGREGATE_OBJECTS@")
1616set (MLIR_ENABLE_BINDINGS_PYTHON "@MLIR_ENABLE_BINDINGS_PYTHON@" )
1717set (MLIR_ENABLE_EXECUTION_ENGINE "@MLIR_ENABLE_EXECUTION_ENGINE@" )
1818
19- # For mlir_tablegen()
20- set (MLIR_INCLUDE_DIR "@MLIR_INCLUDE_DIR@" )
21-
2219set_property (GLOBAL PROPERTY MLIR_ALL_LIBS "@MLIR_ALL_LIBS@" )
2320set_property (GLOBAL PROPERTY MLIR_DIALECT_LIBS "@MLIR_DIALECT_LIBS@" )
2421set_property (GLOBAL PROPERTY MLIR_CONVERSION_LIBS "@MLIR_CONVERSION_LIBS@" )
You can’t perform that action at this time.
0 commit comments