From b07d2935dbfe199da132af26842ddad2fcbb21e1 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Sat, 28 Sep 2019 13:28:50 +0000 Subject: [PATCH] Don't install example analyzer plugins Summary: Fixes PR43430. Reviewers: hintonda, NoQ, Szelethus, lebedev.ri Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D68172 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373148 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt | 2 +- lib/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt | 2 +- lib/Analysis/plugins/SampleAnalyzer/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt b/lib/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt index dde2cca133..229de54814 100644 --- a/lib/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt +++ b/lib/Analysis/plugins/CheckerDependencyHandling/CMakeLists.txt @@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS ) set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/CheckerDependencyHandlingAnalyzerPlugin.exports) -add_llvm_library(CheckerDependencyHandlingAnalyzerPlugin MODULE CheckerDependencyHandling.cpp PLUGIN_TOOL clang) +add_llvm_library(CheckerDependencyHandlingAnalyzerPlugin MODULE BUILDTREE_ONLY CheckerDependencyHandling.cpp PLUGIN_TOOL clang) clang_target_link_libraries(CheckerDependencyHandlingAnalyzerPlugin PRIVATE clangAnalysis diff --git a/lib/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt b/lib/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt index 744164782d..432383efba 100644 --- a/lib/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt +++ b/lib/Analysis/plugins/CheckerOptionHandling/CMakeLists.txt @@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS ) set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/CheckerOptionHandlingAnalyzerPlugin.exports) -add_llvm_library(CheckerOptionHandlingAnalyzerPlugin MODULE CheckerOptionHandling.cpp PLUGIN_TOOL clang) +add_llvm_library(CheckerOptionHandlingAnalyzerPlugin MODULE BUILDTREE_ONLY CheckerOptionHandling.cpp PLUGIN_TOOL clang) clang_target_link_libraries(CheckerOptionHandlingAnalyzerPlugin PRIVATE clangAnalysis diff --git a/lib/Analysis/plugins/SampleAnalyzer/CMakeLists.txt b/lib/Analysis/plugins/SampleAnalyzer/CMakeLists.txt index 0db1780ca7..d9b3f05cbd 100644 --- a/lib/Analysis/plugins/SampleAnalyzer/CMakeLists.txt +++ b/lib/Analysis/plugins/SampleAnalyzer/CMakeLists.txt @@ -3,7 +3,7 @@ set(LLVM_LINK_COMPONENTS ) set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/SampleAnalyzerPlugin.exports) -add_llvm_library(SampleAnalyzerPlugin MODULE MainCallChecker.cpp PLUGIN_TOOL clang) +add_llvm_library(SampleAnalyzerPlugin MODULE BUILDTREE_ONLY MainCallChecker.cpp PLUGIN_TOOL clang) clang_target_link_libraries(SampleAnalyzerPlugin PRIVATE clangAnalysis -- 2.40.0