forked from OSchip/llvm-project
Fix undefined reference to mlir::getElementTypeOrSelf(mlir::Type)
Fix undefined reference: mlir/lib/Dialect/StandardOps/Ops.cpp:2029: undefined reference to `mlir::getElementTypeOrSelf(mlir::Type)' Closes tensorflow/mlir#144 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/144 from denis0x0D:sandbox/fix_undef 494d4f7fa2e98ba21954d2b2f7ec1776b9397e08 PiperOrigin-RevId: 270545190
This commit is contained in:
parent
2c11997d48
commit
6414c08556
|
@ -5,5 +5,5 @@ add_llvm_library(MLIRStandardOps
|
||||||
ADDITIONAL_HEADER_DIRS
|
ADDITIONAL_HEADER_DIRS
|
||||||
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/StandardOps
|
${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/StandardOps
|
||||||
)
|
)
|
||||||
add_dependencies(MLIRStandardOps MLIRStandardOpsIncGen LLVMSupport)
|
add_dependencies(MLIRStandardOps MLIRStandardOpsIncGen MLIRIR LLVMSupport)
|
||||||
target_link_libraries(MLIRStandardOps LLVMSupport)
|
target_link_libraries(MLIRStandardOps MLIRIR LLVMSupport)
|
||||||
|
|
Loading…
Reference in New Issue