[PATCH] D64357: [llvm-lib] Add a dependency to intrinsics_gen to the LLVMLibDriver build
Stella Stamenova via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 11:34:17 PDT 2019
stella.stamenova created this revision.
stella.stamenova added a reviewer: asmith.
Herald added subscribers: llvm-commits, hiraditya, mgorny.
Herald added a project: LLVM.
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]
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D64357
Files:
llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt
Index: llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt
===================================================================
--- llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt
+++ llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt
@@ -12,5 +12,8 @@
add_llvm_library(LLVMLibDriver
LibDriver.cpp
+
+ DEPENDS
+ intrinsics_gen
)
add_dependencies(LLVMLibDriver LibOptionsTableGen)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64357.208468.patch
Type: text/x-patch
Size: 375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190708/f9b4b0e3/attachment.bin>
More information about the llvm-commits
mailing list