File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11# torch-mlir-lsp-server is always linked dynamically as we want to distribute the
22# binaries with the python packages for hacking/debugging.
3- add_executable (torch-mlir-lsp-server torch-mlir-lsp-server.cpp)
3+ add_llvm_executable(torch-mlir-lsp-server torch-mlir-lsp-server.cpp)
4+
5+ install (TARGETS torch-mlir-lsp-server
6+ EXPORT TorchMLIRTargets
7+ RUNTIME DESTINATION ${LLVM_TOOLS_INSTALL_DIR}
8+ COMPONENT torch-mlir-lsp-server)
49
510get_property (dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
611get_property (conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
Original file line number Diff line number Diff line change 1- add_executable (torch-mlir-opt torch-mlir-opt.cpp)
1+ add_llvm_executable(torch-mlir-opt torch-mlir-opt.cpp)
2+
3+ install (TARGETS torch-mlir-opt
4+ EXPORT TorchMLIRTargets
5+ RUNTIME DESTINATION ${LLVM_TOOLS_INSTALL_DIR}
6+ COMPONENT torch-mlir-opt)
27
38get_property (dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
49get_property (conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
You can’t perform that action at this time.
0 commit comments