forked from OSchip/llvm-project
[MLIR][cmake] don't glob for sources.
Generally speaking, this is bad practice. It also causes the build to break if there are editor temporary files. Differential Revision: https://reviews.llvm.org/D79906
This commit is contained in:
parent
20db891cef
commit
d3530e95f1
|
@ -1,6 +1,5 @@
|
|||
file(GLOB globbed *.c *.cpp)
|
||||
add_mlir_dialect_library(MLIRSCF
|
||||
${globbed}
|
||||
SCF.cpp
|
||||
EDSC/Builders.cpp
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
|
|
|
@ -1,6 +1,30 @@
|
|||
file(GLOB globbed *.c *.cpp)
|
||||
add_mlir_library(MLIRIR
|
||||
${globbed}
|
||||
AffineExpr.cpp
|
||||
AffineMap.cpp
|
||||
AsmPrinter.cpp
|
||||
Attributes.cpp
|
||||
Block.cpp
|
||||
Builders.cpp
|
||||
Diagnostics.cpp
|
||||
Dialect.cpp
|
||||
Dominance.cpp
|
||||
Function.cpp
|
||||
FunctionImplementation.cpp
|
||||
IntegerSet.cpp
|
||||
Location.cpp
|
||||
MLIRContext.cpp
|
||||
Module.cpp
|
||||
Operation.cpp
|
||||
OperationSupport.cpp
|
||||
PatternMatch.cpp
|
||||
Region.cpp
|
||||
StandardTypes.cpp
|
||||
SymbolTable.cpp
|
||||
Types.cpp
|
||||
TypeUtilities.cpp
|
||||
Value.cpp
|
||||
Verifier.cpp
|
||||
Visitors.cpp
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${MLIR_MAIN_INCLUDE_DIR}/mlir/IR
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
file(GLOB globbed *.c *.cpp)
|
||||
add_mlir_library(MLIRPass
|
||||
${globbed}
|
||||
IRPrinting.cpp
|
||||
Pass.cpp
|
||||
PassManagerOptions.cpp
|
||||
PassRegistry.cpp
|
||||
PassStatistics.cpp
|
||||
PassTiming.cpp
|
||||
|
||||
ADDITIONAL_HEADER_DIRS
|
||||
${MLIR_MAIN_INCLUDE_DIR}/mlir/Pass
|
||||
|
|
Loading…
Reference in New Issue