summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Wilkins <axwalk@gmail.com>2016-01-21 01:41:03 +0000
committerAndrew Wilkins <axwalk@gmail.com>2016-01-21 01:41:03 +0000
commita7a8ab71aa2f428ba5f71776e5c9656c5cd7d1f9 (patch)
treee850135cb6506d8c6346de10177174c60820a1dd
parent25d8e2194964011456bbd8f7449e40c7ce9623ef (diff)
downloadbcm5719-llvm-a7a8ab71aa2f428ba5f71776e5c9656c5cd7d1f9.tar.gz
bcm5719-llvm-a7a8ab71aa2f428ba5f71776e5c9656c5cd7d1f9.zip
[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
-rw-r--r--llvm/lib/CodeGen/GlobalISel/LLVMBuild.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/LLVMBuild.txt b/llvm/lib/CodeGen/GlobalISel/LLVMBuild.txt
index a2daa3b222a..6d019902408 100644
--- a/llvm/lib/CodeGen/GlobalISel/LLVMBuild.txt
+++ b/llvm/lib/CodeGen/GlobalISel/LLVMBuild.txt
@@ -16,7 +16,7 @@
;===------------------------------------------------------------------------===;
[component_0]
-type = Library
+type = OptionalLibrary
name = GlobalISel
parent = CodeGen
required_libraries = Analysis CodeGen Core MC Support Target TransformUtils
OpenPOWER on IntegriCloud