From 98a8b2c0cf54d127dd571ed08455196003b155a8 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Wed, 19 Aug 2020 10:43:08 -0700 Subject: [PATCH] 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 : 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 --- tools/mlir-hlo-opt/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/mlir-hlo-opt/CMakeLists.txt b/tools/mlir-hlo-opt/CMakeLists.txt index 754469a..69971f4 100644 --- a/tools/mlir-hlo-opt/CMakeLists.txt +++ b/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)