forked from OSchip/llvm-project
Revert "[mlir][cmake] Don't add dependencies on mlir-(generic-)headers"
This reverts commit 7691b69d5b
.
Bots are broken because we're missing CMake dependencies all around now.
This commit is contained in:
parent
220c2cb0a8
commit
95201fcca0
|
@ -577,19 +577,19 @@ endfunction()
|
|||
# Declare the library associated with a dialect.
|
||||
function(add_mlir_dialect_library name)
|
||||
set_property(GLOBAL APPEND PROPERTY MLIR_DIALECT_LIBS ${name})
|
||||
add_mlir_library(${ARGV})
|
||||
add_mlir_library(${ARGV} DEPENDS mlir-headers)
|
||||
endfunction(add_mlir_dialect_library)
|
||||
|
||||
# Declare the library associated with a conversion.
|
||||
function(add_mlir_conversion_library name)
|
||||
set_property(GLOBAL APPEND PROPERTY MLIR_CONVERSION_LIBS ${name})
|
||||
add_mlir_library(${ARGV})
|
||||
add_mlir_library(${ARGV} DEPENDS mlir-headers)
|
||||
endfunction(add_mlir_conversion_library)
|
||||
|
||||
# Declare the library associated with a translation.
|
||||
function(add_mlir_translation_library name)
|
||||
set_property(GLOBAL APPEND PROPERTY MLIR_TRANSLATION_LIBS ${name})
|
||||
add_mlir_library(${ARGV})
|
||||
add_mlir_library(${ARGV} DEPENDS mlir-headers)
|
||||
endfunction(add_mlir_translation_library)
|
||||
|
||||
# Verification tools to aid debugging.
|
||||
|
|
|
@ -34,6 +34,9 @@ add_mlir_library(MLIRAnalysis
|
|||
ADDITIONAL_HEADER_DIRS
|
||||
${MLIR_MAIN_INCLUDE_DIR}/mlir/Analysis
|
||||
|
||||
DEPENDS
|
||||
mlir-headers
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRCallInterfaces
|
||||
MLIRControlFlowInterfaces
|
||||
|
|
|
@ -6,7 +6,6 @@ add_mlir_dialect_library(MLIRTransformDialect
|
|||
DEPENDS
|
||||
MLIRTransformDialectIncGen
|
||||
MLIRTransformInterfacesIncGen
|
||||
MLIRTransformOpsIncGen
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRIR
|
||||
|
|
|
@ -10,6 +10,9 @@ add_mlir_library(MLIRPass
|
|||
ADDITIONAL_HEADER_DIRS
|
||||
${MLIR_MAIN_INCLUDE_DIR}/mlir/Pass
|
||||
|
||||
DEPENDS
|
||||
mlir-generic-headers
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRAnalysis
|
||||
MLIRIR
|
||||
|
|
|
@ -6,6 +6,9 @@ add_mlir_library(MLIRRewrite
|
|||
ADDITIONAL_HEADER_DIRS
|
||||
${MLIR_MAIN_INCLUDE_DIR}/mlir/Rewrite
|
||||
|
||||
DEPENDS
|
||||
mlir-generic-headers
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
MLIRIR
|
||||
MLIRPDLDialect
|
||||
|
|
Loading…
Reference in New Issue