[llvm] r366097 - [llvm-lib] Add a dependency to intrinsics_gen to the LLVMLibDriver build
Stella Stamenova via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 11:15:13 PDT 2019
Author: stella.stamenova
Date: Mon Jul 15 11:15:12 2019
New Revision: 366097
URL: http://llvm.org/viewvc/llvm-project?rev=366097&view=rev
Log:
[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
Modified:
llvm/trunk/lib/ToolDrivers/llvm-lib/CMakeLists.txt
Modified: llvm/trunk/lib/ToolDrivers/llvm-lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ToolDrivers/llvm-lib/CMakeLists.txt?rev=366097&r1=366096&r2=366097&view=diff
==============================================================================
--- llvm/trunk/lib/ToolDrivers/llvm-lib/CMakeLists.txt (original)
+++ llvm/trunk/lib/ToolDrivers/llvm-lib/CMakeLists.txt Mon Jul 15 11:15:12 2019
@@ -12,5 +12,8 @@ add_public_tablegen_target(LibOptionsTab
add_llvm_library(LLVMLibDriver
LibDriver.cpp
+
+ DEPENDS
+ intrinsics_gen
)
add_dependencies(LLVMLibDriver LibOptionsTableGen)
More information about the llvm-commits
mailing list