[Mlir-commits] [mlir] f17b137 - [mlir] don't install tutorial libraries
Alex Zinenko
llvmlistbot at llvm.org
Fri Jun 16 09:32:15 PDT 2023
Author: Alex Zinenko
Date: 2023-06-16T18:32:08+02:00
New Revision: f17b137f778d174f8629ef6c77f3efa58da7f659
URL: https://github.com/llvm/llvm-project/commit/f17b137f778d174f8629ef6c77f3efa58da7f659
DIFF: https://github.com/llvm/llvm-project/commit/f17b137f778d174f8629ef6c77f3efa58da7f659.diff
LOG: [mlir] don't install tutorial libraries
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D153055
Added:
Modified:
mlir/examples/transform/Ch2/lib/CMakeLists.txt
mlir/examples/transform/Ch3/lib/CMakeLists.txt
Removed:
################################################################################
diff --git a/mlir/examples/transform/Ch2/lib/CMakeLists.txt b/mlir/examples/transform/Ch2/lib/CMakeLists.txt
index 11f0557457380..c89cd97006eb5 100644
--- a/mlir/examples/transform/Ch2/lib/CMakeLists.txt
+++ b/mlir/examples/transform/Ch2/lib/CMakeLists.txt
@@ -5,6 +5,10 @@ add_mlir_library(
# Built from the following source files.
MyExtension.cpp
+ # Do not make this part of the main library distribution.
+ # Needed for the example only.
+ EXCLUDE_FROM_LIBMLIR
+
# Make includes visible without top-level path.
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/examples/transform/Ch2/include
diff --git a/mlir/examples/transform/Ch3/lib/CMakeLists.txt b/mlir/examples/transform/Ch3/lib/CMakeLists.txt
index a879c87dd39a7..b43f79cc91a68 100644
--- a/mlir/examples/transform/Ch3/lib/CMakeLists.txt
+++ b/mlir/examples/transform/Ch3/lib/CMakeLists.txt
@@ -5,6 +5,10 @@ add_mlir_library(
# Built from the following source files.
MyExtension.cpp
+ # Do not make this part of the main library distribution.
+ # Needed for the example only.
+ EXCLUDE_FROM_LIBMLIR
+
# Make includes visible without top-level path.
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/examples/transform/Ch3/include
More information about the Mlir-commits
mailing list