[llvm] r258379 - [GlobalISel] make library an optional component
Andrew Wilkins via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 20 17:41:03 PST 2016
Author: axw
Date: Wed Jan 20 19:41:03 2016
New Revision: 258379
URL: http://llvm.org/viewvc/llvm-project?rev=258379&view=rev
Log:
[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
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt
Modified: llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt?rev=258379&r1=258378&r2=258379&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/LLVMBuild.txt Wed Jan 20 19:41:03 2016
@@ -16,7 +16,7 @@
;===------------------------------------------------------------------------===;
[component_0]
-type = Library
+type = OptionalLibrary
name = GlobalISel
parent = CodeGen
required_libraries = Analysis CodeGen Core MC Support Target TransformUtils
More information about the llvm-commits
mailing list