From 14d9ef29304ee16802657311911813aec5bdb9cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 19 Oct 2022 19:14:59 +0200 Subject: [PATCH] [MLIR] Enable distribution target in standalone builds Invoke llvm_distribution_add_targets() when doing standalone build explicitly in order to create the `distribution` target. Differential Revision: https://reviews.llvm.org/D136269 --- mlir/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt index ac98cc2..bd3d309 100644 --- a/mlir/CMakeLists.txt +++ b/mlir/CMakeLists.txt @@ -260,3 +260,7 @@ add_subdirectory(cmake/modules) if (MLIR_ENABLE_PYTHON_BENCHMARKS) add_subdirectory(utils/mbr) endif() + +if(MLIR_STANDALONE_BUILD) + llvm_distribution_add_targets() +endif() -- 2.7.4