summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorserge-sans-paille <sguelton@redhat.com>2020-04-20 12:39:32 +0200
committerTom Stellard <tstellar@redhat.com>2020-06-17 16:57:30 -0700
commit5f510e51dd4e6de5987a162f232c514a4dc8b0e3 (patch)
treef038eb3fcfc75e0c00b01ecfe021307d601b7e6f /clang/lib/CodeGen
parent0c05269e0232d5eebfd835aa1401913b181031a3 (diff)
downloadbcm5719-llvm-5f510e51dd4e6de5987a162f232c514a4dc8b0e3.tar.gz
bcm5719-llvm-5f510e51dd4e6de5987a162f232c514a4dc8b0e3.zip
Update compiler extension integration into the build system
The approach here is to create a new (empty) component, `Extensions', where all statically compiled extensions dynamically register their dependencies. That way we're more natively compatible with LLVMBuild and llvm-config. Fixes: https://bugs.llvm.org/show_bug.cgi?id=44870 Differential Revision: https://reviews.llvm.org/D78192 (cherry picked from commit 8f766e382b77eef3102798b49e087d1e4804b984)
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt
index d8b3c234a1e..c300c1b021f 100644
--- a/clang/lib/CodeGen/CMakeLists.txt
+++ b/clang/lib/CodeGen/CMakeLists.txt
@@ -5,6 +5,7 @@ set(LLVM_LINK_COMPONENTS
Core
Coroutines
Coverage
+ Extensions
FrontendOpenMP
IPO
IRReader
@@ -96,8 +97,6 @@ add_clang_library(clangCodeGen
TargetInfo.cpp
VarBypassDetector.cpp
- ENABLE_PLUGINS
-
DEPENDS
${codegen_deps}
OpenPOWER on IntegriCloud