[llvm] 0c8fa6d - [llvm][build] Fix shared lib builds. [NFC]

Francesco Petrogalli via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 20 11:43:15 PST 2020


Author: Francesco Petrogalli
Date: 2020-02-20T19:42:53Z
New Revision: 0c8fa6db90ae856b844d7d2925672cbaef3e0668

URL: https://github.com/llvm/llvm-project/commit/0c8fa6db90ae856b844d7d2925672cbaef3e0668
DIFF: https://github.com/llvm/llvm-project/commit/0c8fa6db90ae856b844d7d2925672cbaef3e0668.diff

LOG: [llvm][build] Fix shared lib builds. [NFC]

The code at https://reviews.llvm.org/D74808 has broken builds that are
configured with -DBUILD_SHARED_LIBS=On.

This patch adds the correct library dependencies.

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt
    llvm/lib/Target/ARM/MCTargetDesc/LLVMBuild.txt
    llvm/lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt b/llvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt
index 9fe6ec5479b0..a5cd16b18260 100644
--- a/llvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt
+++ b/llvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt
@@ -18,6 +18,6 @@
 type = Library
 name = AArch64Desc
 parent = AArch64
-required_libraries = AArch64Info AArch64Utils MC Support
+required_libraries = AArch64Info AArch64Utils MC Support Object
 add_to_library_groups = AArch64
 

diff  --git a/llvm/lib/Target/ARM/MCTargetDesc/LLVMBuild.txt b/llvm/lib/Target/ARM/MCTargetDesc/LLVMBuild.txt
index 7bb296c1d3cb..8a72ea5e5f59 100644
--- a/llvm/lib/Target/ARM/MCTargetDesc/LLVMBuild.txt
+++ b/llvm/lib/Target/ARM/MCTargetDesc/LLVMBuild.txt
@@ -18,5 +18,5 @@
 type = Library
 name = ARMDesc
 parent = ARM
-required_libraries = ARMInfo ARMUtils MC MCDisassembler Support
+required_libraries = ARMInfo ARMUtils MC MCDisassembler Support Object
 add_to_library_groups = ARM

diff  --git a/llvm/lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt b/llvm/lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt
index 2dcd3de2ad18..3956a7bebe75 100644
--- a/llvm/lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt
+++ b/llvm/lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt
@@ -18,5 +18,5 @@
 type = Library
 name = PowerPCDesc
 parent = PowerPC
-required_libraries = MC PowerPCInfo Support
+required_libraries = MC PowerPCInfo Support Object
 add_to_library_groups = PowerPC


        


More information about the llvm-commits mailing list