[llvm] r351087 - cmake: Don't install plugins used for examples or tests
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 10:25:35 PST 2019
Author: tstellar
Date: Mon Jan 14 10:25:35 2019
New Revision: 351087
URL: http://llvm.org/viewvc/llvm-project?rev=351087&view=rev
Log:
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
Modified:
llvm/trunk/lib/Transforms/Hello/CMakeLists.txt
llvm/trunk/tools/bugpoint-passes/CMakeLists.txt
llvm/trunk/unittests/Passes/CMakeLists.txt
Modified: llvm/trunk/lib/Transforms/Hello/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Hello/CMakeLists.txt?rev=351087&r1=351086&r2=351087&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Hello/CMakeLists.txt (original)
+++ llvm/trunk/lib/Transforms/Hello/CMakeLists.txt Mon Jan 14 10:25:35 2019
@@ -10,7 +10,7 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core Support)
endif()
-add_llvm_library( LLVMHello MODULE
+add_llvm_library( LLVMHello MODULE BUILDTREE_ONLY
Hello.cpp
DEPENDS
Modified: llvm/trunk/tools/bugpoint-passes/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint-passes/CMakeLists.txt?rev=351087&r1=351086&r2=351087&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint-passes/CMakeLists.txt (original)
+++ llvm/trunk/tools/bugpoint-passes/CMakeLists.txt Mon Jan 14 10:25:35 2019
@@ -14,7 +14,7 @@ if(WIN32 OR CYGWIN)
set(LLVM_LINK_COMPONENTS Core)
endif()
-add_llvm_library( BugpointPasses MODULE
+add_llvm_library( BugpointPasses MODULE BUILDTREE_ONLY
TestPasses.cpp
DEPENDS
Modified: llvm/trunk/unittests/Passes/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Passes/CMakeLists.txt?rev=351087&r1=351086&r2=351087&view=diff
==============================================================================
--- llvm/trunk/unittests/Passes/CMakeLists.txt (original)
+++ llvm/trunk/unittests/Passes/CMakeLists.txt Mon Jan 14 10:25:35 2019
@@ -15,7 +15,7 @@ export_executable_symbols(PluginsTests)
target_link_libraries(PluginsTests PRIVATE LLVMTestingSupport)
set(LLVM_LINK_COMPONENTS)
-add_llvm_library(TestPlugin MODULE
+add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
TestPlugin.cpp
)
More information about the llvm-commits
mailing list