forked from OSchip/llvm-project
[flang] Fix fallout from varous changes to the cmake files.
Differential revision: https://reviews.llvm.org/D82050
This commit is contained in:
parent
07a1749081
commit
b46e2548b6
|
@ -1,4 +1,5 @@
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error -Wno-unused-parameter")
|
||||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
||||
|
||||
add_flang_library(FortranLower
|
||||
ComplexExpr.cpp
|
||||
|
@ -9,9 +10,16 @@ add_flang_library(FortranLower
|
|||
PFTBuilder.cpp
|
||||
|
||||
DEPENDS
|
||||
FIROpsIncGen
|
||||
MLIRControlFlowInterfaces
|
||||
MLIRLinalgOps
|
||||
FIROptimizer
|
||||
${dialect_libs}
|
||||
|
||||
LINK_LIBS
|
||||
FIROptimizer
|
||||
${dialect_libs}
|
||||
MLIRAffineToStandard
|
||||
MLIRLLVMIR
|
||||
MLIRSCFToStandard
|
||||
MLIRStandardOps
|
||||
|
||||
LINK_COMPONENTS
|
||||
Support
|
||||
|
|
|
@ -1,2 +1,26 @@
|
|||
add_subdirectory(Dialect)
|
||||
add_subdirectory(Support)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter -Wno-error")
|
||||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
||||
|
||||
add_flang_library(FIROptimizer
|
||||
Dialect/FIRAttr.cpp
|
||||
Dialect/FIRDialect.cpp
|
||||
Dialect/FIROps.cpp
|
||||
Dialect/FIRType.cpp
|
||||
|
||||
Support/InternalNames.cpp
|
||||
Support/KindMapping.cpp
|
||||
|
||||
DEPENDS
|
||||
FIROpsIncGen
|
||||
${dialect_libs}
|
||||
|
||||
LINK_LIBS
|
||||
${dialect_libs}
|
||||
MLIRTargetLLVMIR
|
||||
MLIRTargetLLVMIRModuleTranslation
|
||||
|
||||
LINK_COMPONENTS
|
||||
AsmParser
|
||||
AsmPrinter
|
||||
Remarks
|
||||
)
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
||||
|
||||
add_flang_library(FIRDialect
|
||||
FIRAttr.cpp
|
||||
FIRDialect.cpp
|
||||
FIROps.cpp
|
||||
FIRType.cpp
|
||||
|
||||
DEPENDS
|
||||
FIROpsIncGen
|
||||
${dialect_libs}
|
||||
|
||||
LINK_LIBS
|
||||
FIRSupport
|
||||
MLIRTargetLLVMIR
|
||||
MLIRTargetLLVMIRModuleTranslation
|
||||
MLIREDSC
|
||||
MLIRExecutionEngine
|
||||
MLIRParser
|
||||
MLIRSupport
|
||||
MLIRStandardToLLVM
|
||||
MLIRTransforms
|
||||
|
||||
LINK_COMPONENTS
|
||||
AsmParser
|
||||
AsmPrinter
|
||||
Remarks
|
||||
)
|
|
@ -1,11 +0,0 @@
|
|||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
||||
|
||||
add_flang_library(FIRSupport
|
||||
InternalNames.cpp
|
||||
KindMapping.cpp
|
||||
|
||||
DEPENDS
|
||||
${dialect_libs}
|
||||
LINK_LIBS
|
||||
${dialect_libs}
|
||||
)
|
|
@ -1,8 +1,7 @@
|
|||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
||||
|
||||
set(LIBS
|
||||
FIRDialect
|
||||
FIRSupport
|
||||
FIROptimizer
|
||||
${dialect_libs}
|
||||
MLIRIR
|
||||
MLIRLLVMIR
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
||||
|
||||
set(LIBS
|
||||
FIRDialect
|
||||
FIROptimizer
|
||||
${dialect_libs}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue