projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55c2137
)
[MLIR] Enable distribution target in standalone builds
author
Michał Górny
<mgorny@gentoo.org>
Wed, 19 Oct 2022 17:14:59 +0000
(19:14 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Thu, 20 Oct 2022 02:46:24 +0000
(
04:46
+0200)
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
patch
|
blob
|
history
diff --git
a/mlir/CMakeLists.txt
b/mlir/CMakeLists.txt
index
ac98cc2
..
bd3d309
100644
(file)
--- 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()