summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO
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 /llvm/lib/LTO
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 'llvm/lib/LTO')
-rw-r--r--llvm/lib/LTO/CMakeLists.txt1
-rw-r--r--llvm/lib/LTO/LLVMBuild.txt1
2 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/CMakeLists.txt b/llvm/lib/LTO/CMakeLists.txt
index ecafb96856f..55f1a5a85fa 100644
--- a/llvm/lib/LTO/CMakeLists.txt
+++ b/llvm/lib/LTO/CMakeLists.txt
@@ -10,7 +10,6 @@ add_llvm_component_library(LLVMLTO
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/LTO
-
DEPENDS
intrinsics_gen
llvm_vcsrevision_h
diff --git a/llvm/lib/LTO/LLVMBuild.txt b/llvm/lib/LTO/LLVMBuild.txt
index 1afbe1ff2d8..68bbeb6957d 100644
--- a/llvm/lib/LTO/LLVMBuild.txt
+++ b/llvm/lib/LTO/LLVMBuild.txt
@@ -25,6 +25,7 @@ required_libraries =
BitWriter
CodeGen
Core
+ Extensions
IPO
InstCombine
Linker
OpenPOWER on IntegriCloud