forked from OSchip/llvm-project
[GlobalISel] make library an optional component
Summary: Mark the LLVMGlobalISel library as optional in LLVMBuild.txt, since the library is only built if LLVM_BUILD_GLOBAL_ISEL is set. Without doing this, llvm-config includes the library in the list of components regardless of whether it's built, and then will error out when asked for the library names/paths. Reviewers: qcolombet Subscribers: joker.eph, llvm-commits, vkalintiris Differential Revision: http://reviews.llvm.org/D16386 llvm-svn: 258379
This commit is contained in:
parent
25d8e21949
commit
a7a8ab71aa
|
@ -16,7 +16,7 @@
|
|||
;===------------------------------------------------------------------------===;
|
||||
|
||||
[component_0]
|
||||
type = Library
|
||||
type = OptionalLibrary
|
||||
name = GlobalISel
|
||||
parent = CodeGen
|
||||
required_libraries = Analysis CodeGen Core MC Support Target TransformUtils
|
||||
|
|
Loading…
Reference in New Issue