Skip to content

Commit d0a7676

Browse files
committedJan 14, 2019
cmake: Don't install plugins used for examples or tests
Summary: This patch drops install targets for LLVMHello.so, TestPlugin.so, and BugpointPasses.so. Reviewers: chandlerc, beanz, thakis, philip.pfaffe Reviewed By: chandlerc Subscribers: SquallATF, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D55965 llvm-svn: 351087
1 parent 8da6414 commit d0a7676

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎llvm/lib/Transforms/Hello/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ if(WIN32 OR CYGWIN)
1010
set(LLVM_LINK_COMPONENTS Core Support)
1111
endif()
1212

13-
add_llvm_library( LLVMHello MODULE
13+
add_llvm_library( LLVMHello MODULE BUILDTREE_ONLY
1414
Hello.cpp
1515

1616
DEPENDS

‎llvm/tools/bugpoint-passes/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if(WIN32 OR CYGWIN)
1414
set(LLVM_LINK_COMPONENTS Core)
1515
endif()
1616

17-
add_llvm_library( BugpointPasses MODULE
17+
add_llvm_library( BugpointPasses MODULE BUILDTREE_ONLY
1818
TestPasses.cpp
1919

2020
DEPENDS

‎llvm/unittests/Passes/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export_executable_symbols(PluginsTests)
1515
target_link_libraries(PluginsTests PRIVATE LLVMTestingSupport)
1616

1717
set(LLVM_LINK_COMPONENTS)
18-
add_llvm_library(TestPlugin MODULE
18+
add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
1919
TestPlugin.cpp
2020
)
2121

0 commit comments

Comments
 (0)
Please sign in to comment.