summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2019-07-15 18:15:12 +0000
committerStella Stamenova <stilis@microsoft.com>2019-07-15 18:15:12 +0000
commit032e3c468fab3ffc033db219314c2151c6bda917 (patch)
treec3d0f09715816ec93751800fbebdc2e30e0fd392 /llvm/lib
parent81971b2b79c4ac7b01f4997176dae86befc55f37 (diff)
downloadbcm5719-llvm-032e3c468fab3ffc033db219314c2151c6bda917.tar.gz
bcm5719-llvm-032e3c468fab3ffc033db219314c2151c6bda917.zip
[llvm-lib] Add a dependency to intrinsics_gen to the LLVMLibDriver build
Summary: Occasionally the build of LLVMLibDriver will fail because Attributes.inc has not been generated yet. Add an explicit dependency, so that we can guarantee that the file has been generated before LLVMLibDriver is build. ##[error]llvm\include\llvm\IR\Attributes.h(73,0): Error C1083: Cannot open include file: 'llvm/IR/Attributes.inc': No such file or directory llvm\include\llvm/IR/Attributes.h(73): fatal error C1083: Cannot open include file: 'llvm/IR/Attributes.inc': No such file or directory [LLVMLibDriver.vcxproj] Reviewers: asmith Subscribers: mgorny, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D64357 llvm-svn: 366097
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt b/llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt
index cbcffb64e7d..3d948aab8e3 100644
--- a/llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt
+++ b/llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt
@@ -12,5 +12,8 @@ add_public_tablegen_target(LibOptionsTableGen)
add_llvm_library(LLVMLibDriver
LibDriver.cpp
+
+ DEPENDS
+ intrinsics_gen
)
add_dependencies(LLVMLibDriver LibOptionsTableGen)
OpenPOWER on IntegriCloud