Skip to content

Commit 1bcf44b

Browse files
[MLOpt] Add tf_xla_runtime to LLVMDevelopmentExport (#124610)
We need to use tf on assert builds, thus requires it to be export as well. Signed-off-by: Peter Rong <[email protected]>
1 parent e77d428 commit 1bcf44b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,6 +1127,8 @@ if (NOT TENSORFLOW_AOT_PATH STREQUAL "")
11271127
${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}/tf_runtime)
11281128
install(TARGETS tf_xla_runtime EXPORT LLVMExports
11291129
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT tf_xla_runtime)
1130+
install(TARGETS tf_xla_runtime EXPORT LLVMDevelopmentExports
1131+
ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT tf_xla_runtime)
11301132
set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS tf_xla_runtime)
11311133
# Once we add more modules, we should handle this more automatically.
11321134
if (DEFINED LLVM_OVERRIDE_MODEL_HEADER_INLINERSIZEMODEL)

0 commit comments

Comments
 (0)