You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
385 B
23 lines
385 B
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
|
|
set(LIBS
|
|
FIROptimizer
|
|
${dialect_libs}
|
|
MLIRIR
|
|
MLIRLLVMIR
|
|
MLIRPass
|
|
MLIRStandardToLLVM
|
|
MLIRTransforms
|
|
MLIRAffineToStandard
|
|
MLIRAnalysis
|
|
MLIRSCFToStandard
|
|
MLIREDSC
|
|
MLIRParser
|
|
MLIRStandardToLLVM
|
|
MLIRSupport
|
|
MLIRVectorToLLVM
|
|
)
|
|
|
|
add_flang_tool(tco tco.cpp)
|
|
target_link_libraries(tco PRIVATE ${LIBS})
|