commit | 1746bc20ccbb39c177ae11ff8bdb97b15d07ae24 | [log] [tgz] |
---|---|---|
author | Stella Laurenzo <laurenzo@google.com> | Thu Aug 05 21:14:57 2021 -0700 |
committer | TensorFlower Gardener <gardener@tensorflow.org> | Thu Aug 05 21:19:00 2021 -0700 |
tree | 9ae849b8ee9223103a2c1b72594a52904b0f9008 | |
parent | 8f4b267d410fb71a3e16e8ef437c7c546249f610 [diff] |
Add LLVMSupport link lib. This is needed when linking to CAPI libs with hidden visibility (or on other OS's that do not re-export static libs). PiperOrigin-RevId: 389092380 Change-Id: I324aa73495ea9215918763a0ba542a3ab5470111
diff --git a/tensorflow/compiler/mlir/hlo/python/CMakeLists.txt b/tensorflow/compiler/mlir/hlo/python/CMakeLists.txt index ed56273..39dade7 100644 --- a/tensorflow/compiler/mlir/hlo/python/CMakeLists.txt +++ b/tensorflow/compiler/mlir/hlo/python/CMakeLists.txt
@@ -36,6 +36,8 @@ ${CMAKE_CURRENT_SOURCE_DIR}/MlirHloModule.cpp EMBED_CAPI_LINK_LIBS MLIRHLOCAPIDialects + PRIVATE_LINK_LIBS + LLVMSupport ) ################################################################################