diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-19 19:14:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-20 04:46:24 +0200 |
commit | 14d9ef29304ee16802657311911813aec5bdb9cf (patch) | |
tree | 9444ff7e716662d7d1418a7aa1ca82e3f8d2c6a7 /mlir/CMakeLists.txt | |
parent | 55c2137939d8e12c064cedcda21108c239dddf8e (diff) | |
download | llvm-14d9ef29304ee16802657311911813aec5bdb9cf.tar.gz |
[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
Diffstat (limited to 'mlir/CMakeLists.txt')
-rw-r--r-- | mlir/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt index ac98cc290a0b..bd3d30923d21 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() |