2019-06-07 10:53:49 +08:00
|
|
|
set(LLVM_OPTIONAL_SOURCES
|
2021-02-23 16:51:57 +08:00
|
|
|
DebugCounter.cpp
|
2019-06-07 10:53:49 +08:00
|
|
|
FileUtilities.cpp
|
2020-10-04 06:17:38 +08:00
|
|
|
IndentedOstream.cpp
|
2021-06-17 21:02:00 +08:00
|
|
|
InterfaceSupport.cpp
|
2019-06-07 10:53:49 +08:00
|
|
|
StorageUniquer.cpp
|
2021-04-21 16:57:29 +08:00
|
|
|
Timing.cpp
|
2019-09-24 09:17:52 +08:00
|
|
|
ToolUtilities.cpp
|
2019-06-07 10:53:49 +08:00
|
|
|
)
|
|
|
|
|
2020-02-09 11:27:54 +08:00
|
|
|
add_mlir_library(MLIRSupport
|
2021-02-23 16:51:57 +08:00
|
|
|
DebugCounter.cpp
|
2019-03-30 13:10:12 +08:00
|
|
|
FileUtilities.cpp
|
2021-08-04 18:19:27 +08:00
|
|
|
IndentedOstream.cpp
|
2021-06-17 21:02:00 +08:00
|
|
|
InterfaceSupport.cpp
|
2019-04-26 12:01:21 +08:00
|
|
|
StorageUniquer.cpp
|
2021-04-21 16:57:29 +08:00
|
|
|
Timing.cpp
|
2019-09-24 09:17:52 +08:00
|
|
|
ToolUtilities.cpp
|
2019-03-30 13:10:12 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Support
|
2020-05-05 03:41:43 +08:00
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
2020-03-06 03:49:42 +08:00
|
|
|
${LLVM_PTHREAD_LIB})
|
2019-06-07 10:53:49 +08:00
|
|
|
|
2020-10-04 06:17:38 +08:00
|
|
|
# This doesn't use add_mlir_library as it is used in mlir-tblgen and else
|
|
|
|
# mlir-tblgen ends up depending on mlir-generic-headers.
|
|
|
|
add_llvm_library(MLIRSupportIndentedOstream
|
|
|
|
IndentedOstream.cpp
|
|
|
|
|
2020-10-06 03:35:18 +08:00
|
|
|
DISABLE_LLVM_LINK_LLVM_DYLIB
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Support
|
2020-10-04 06:17:38 +08:00
|
|
|
)
|