PR #42473: Check libraries linked into mlir-hlo-opt

Imported from GitHub PR https://github.com/tensorflow/tensorflow/pull/42473

Adds a call to mlir_check_all_link_libraries() to check all libraries
linked into mlir-hlo-opt.
Copybara import of the project:

--
0bf620f5f2708e730689eab8a5512fb00eaf1706 by Marius Brehler <marius.brehler@iml.fraunhofer.de>:

Check libraries linked into mlir-hlo-opt

Adds a call to mlir_check_all_link_libraries() to check all libraries
linked into mlir-hlo-opt.

COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/tensorflow/pull/42473 from marbre:check_link_libraries 0bf620f5f2708e730689eab8a5512fb00eaf1706
PiperOrigin-RevId: 327463012
This commit is contained in:
Marius Brehler 2020-08-19 10:43:08 -07:00 committed by TensorFlow MLIR Team
parent 75d50980f5
commit 98a8b2c0cf
1 changed files with 2 additions and 0 deletions

View File

@ -30,3 +30,5 @@ add_llvm_executable(mlir-hlo-opt mlir-hlo-opt.cpp
)
llvm_update_compile_flags(mlir-hlo-opt)
target_link_libraries(mlir-hlo-opt PRIVATE ${LIBS})
mlir_check_all_link_libraries(mlir-hlo-opt)