1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix BUILD_SHARED_LIBS builds after r361567

Also fixed a comment I noticed while debugging this build

llvm-svn: 361591
This commit is contained in:
Daniel Sanders 2019-05-24 02:15:27 +00:00
parent 77d428497c
commit aa086c31cb
8 changed files with 13 additions and 1 deletions

View File

@ -210,7 +210,7 @@ function(llvm_map_components_to_libnames out_libs)
elseif( c STREQUAL "all" ) elseif( c STREQUAL "all" )
list(APPEND expanded_components ${LLVM_AVAILABLE_LIBS}) list(APPEND expanded_components ${LLVM_AVAILABLE_LIBS})
elseif( c STREQUAL "AllTargetsCodeGens" ) elseif( c STREQUAL "AllTargetsCodeGens" )
# Link all the asm printers from all the targets # Link all the codegens from all the targets
foreach(t ${LLVM_TARGETS_TO_BUILD}) foreach(t ${LLVM_TARGETS_TO_BUILD})
if( TARGET LLVM${t}CodeGen) if( TARGET LLVM${t}CodeGen)
list(APPEND expanded_components "LLVM${t}CodeGen") list(APPEND expanded_components "LLVM${t}CodeGen")

View File

@ -1,6 +1,8 @@
set(LLVM_LINK_COMPONENTS set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers AllTargetsAsmParsers
AllTargetsCodeGens AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos
Analysis Analysis
BitWriter BitWriter
CodeGen CodeGen

View File

@ -1,6 +1,8 @@
set(LLVM_LINK_COMPONENTS set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers AllTargetsAsmParsers
AllTargetsCodeGens AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos
Analysis Analysis
AsmPrinter AsmPrinter
CodeGen CodeGen

View File

@ -1,7 +1,9 @@
set(LLVM_LINK_COMPONENTS set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers AllTargetsAsmParsers
AllTargetsCodeGens AllTargetsCodeGens
AllTargetsDescs
AllTargetsDisassemblers AllTargetsDisassemblers
AllTargetsInfos
BitReader BitReader
Core Core
MCDisassembler MCDisassembler

View File

@ -1,6 +1,8 @@
set(LLVM_LINK_COMPONENTS set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers AllTargetsAsmParsers
AllTargetsCodeGens AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos
AsmPrinter AsmPrinter
DebugInfoDWARF DebugInfoDWARF
MC MC

View File

@ -1,6 +1,8 @@
set(LLVM_LINK_COMPONENTS set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers AllTargetsAsmParsers
AllTargetsCodeGens AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos
BitReader BitReader
BitWriter BitWriter
Core Core

View File

@ -2,6 +2,7 @@ set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers AllTargetsAsmParsers
AllTargetsCodeGens AllTargetsCodeGens
AllTargetsDescs AllTargetsDescs
AllTargetsInfos
BitReader BitReader
Core Core
Linker Linker

View File

@ -1,6 +1,7 @@
set(LLVM_LINK_COMPONENTS set(LLVM_LINK_COMPONENTS
AllTargetsAsmParsers AllTargetsAsmParsers
AllTargetsCodeGens AllTargetsCodeGens
AllTargetsDescs
AllTargetsInfos AllTargetsInfos
AggressiveInstCombine AggressiveInstCombine
Analysis Analysis