This is an archive of the discontinued LLVM Phabricator instance.

[llvm-lib] Add a dependency to intrinsics_gen to the LLVMLibDriver build
ClosedPublic

Authored by stella.stamenova on Jul 8 2019, 11:31 AM.

Details

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]

Diff Detail

Repository
rL LLVM

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJul 8 2019, 11:31 AM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 15 2019, 11:15 AM
This revision was automatically updated to reflect the committed changes.