Skip to content

Commit 14d9ef2

Browse files
committed
[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
1 parent 55c2137 commit 14d9ef2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mlir/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,3 +260,7 @@ add_subdirectory(cmake/modules)
260260
if (MLIR_ENABLE_PYTHON_BENCHMARKS)
261261
add_subdirectory(utils/mbr)
262262
endif()
263+
264+
if(MLIR_STANDALONE_BUILD)
265+
llvm_distribution_add_targets()
266+
endif()

0 commit comments

Comments
 (0)