[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:
Andrew Wilkins 2016-01-21 01:41:03 +00:00
parent 25d8e21949
commit a7a8ab71aa
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
;===------------------------------------------------------------------------===;
[component_0]
type = Library
type = OptionalLibrary
name = GlobalISel
parent = CodeGen
required_libraries = Analysis CodeGen Core MC Support Target TransformUtils