From 0bf620f5f2708e730689eab8a5512fb00eaf1706 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Tue, 18 Aug 2020 22:22:37 +0200 Subject: [PATCH] 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. --- tensorflow/compiler/mlir/hlo/tools/mlir-hlo-opt/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow/compiler/mlir/hlo/tools/mlir-hlo-opt/CMakeLists.txt b/tensorflow/compiler/mlir/hlo/tools/mlir-hlo-opt/CMakeLists.txt index 754469a3c84..69971f4c024 100644 --- a/tensorflow/compiler/mlir/hlo/tools/mlir-hlo-opt/CMakeLists.txt +++ b/tensorflow/compiler/mlir/hlo/tools/mlir-hlo-opt/CMakeLists.txt @@ -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)