llvm-project/mlir/tools
Nikita Popov 8f555a52e0 [cmake] Fix tablegen exports
This fixes some fallout from D131282. Currently, add_tablegen() will add the tablegen target to LLVM_EXPORTS and associates the install with LLVMExports. For non-standalone builds, this means that you end up with mlir-tblgen and clang-tblgen in LLVMExports.

However, these projects should instead be using MLIR_EXPORTS/MLIRTargets and CLANG_EXPORTS/ClangTargets. To fix this, add an extra EXPORT option and make use of get_target_export_arg() to create the correct export argument.

Reviewed By: ashay-github

Differential Revision: https://reviews.llvm.org/D131565
2022-08-16 14:17:23 +02:00
..
mlir-cpu-runner [cmake] Don't export `LLVM_TOOLS_INSTALL_DIR` anymore 2022-07-21 19:04:00 +00:00
mlir-linalg-ods-gen [mlir] Refactor the Parser library in preparation for an MLIR binary format 2022-07-25 16:33:01 -07:00
mlir-lsp-server [cmake] Don't export `LLVM_TOOLS_INSTALL_DIR` anymore 2022-07-21 19:04:00 +00:00
mlir-opt [mlir][transforms] Add topological sort analysis 2022-08-15 21:09:18 +02:00
mlir-parser-fuzzer [mlir] Refactor the Parser library in preparation for an MLIR binary format 2022-07-25 16:33:01 -07:00
mlir-pdll [cmake] Fix tablegen exports 2022-08-16 14:17:23 +02:00
mlir-pdll-lsp-server [cmake] Don't export `LLVM_TOOLS_INSTALL_DIR` anymore 2022-07-21 19:04:00 +00:00
mlir-reduce [cmake] Don't export `LLVM_TOOLS_INSTALL_DIR` anymore 2022-07-21 19:04:00 +00:00
mlir-shlib [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
mlir-spirv-cpu-runner [mlir][spirv] Detach memory space mapping from type conversion 2022-08-09 14:30:43 -04:00
mlir-tblgen [cmake] Fix tablegen exports 2022-08-16 14:17:23 +02:00
mlir-translate [cmake] Don't export `LLVM_TOOLS_INSTALL_DIR` anymore 2022-07-21 19:04:00 +00:00
mlir-vulkan-runner [mlir][spirv] Detach memory space mapping from type conversion 2022-08-09 14:30:43 -04:00
tblgen-lsp-server [cmake] Don't export `LLVM_TOOLS_INSTALL_DIR` anymore 2022-07-21 19:04:00 +00:00
CMakeLists.txt [MLIR] Fix checks for native arch 2022-08-04 11:10:08 +02:00