mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 10:44:41 +01:00
[MLIR][cmake][NFC] Update linkage checker for mlir-opt
New CMakeLists.txt for MLIRStandardOpsTransforms was incorrect, but wasn't caught by the check. Differential Revision: https://reviews.llvm.org/D80075
This commit is contained in:
@@ -179,7 +179,7 @@ function(mlir_check_link_libraries name)
|
||||
# same symbol might be loaded from 2 separate libraries. This
|
||||
# often comes from referring to an LLVM library target
|
||||
# explicitly in target_link_libraries()
|
||||
message("WARNING: ${l} links LLVM and ${lib}!")
|
||||
message("WARNING: ${name} links LLVM and ${lib}!")
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
@@ -52,4 +52,4 @@ add_llvm_tool(mlir-opt
|
||||
target_link_libraries(mlir-opt PRIVATE ${LIBS})
|
||||
llvm_update_compile_flags(mlir-opt)
|
||||
|
||||
mlir_check_link_libraries(mlir-opt)
|
||||
mlir_check_all_link_libraries(mlir-opt)
|
||||
|
||||
Reference in New Issue
Block a user