Hi! I encounter problem with Polly build (in-tree, libraries are linked statically). It appeared ~ 2 days agor for first time. include/llvm/IR/Attributes.h:73:14: fatal error: 'llvm/IR/Attributes.gen' file not found #include "llvm/IR/Attributes.gen" It seems that dependencies on IR are not set properly. Eugene.
Krzysztof Parzyszek via llvm-dev
2017-Apr-28 23:04 UTC
[llvm-dev] Problem with Polly build
More often than not, it's a problem with ninja. If you can force a clean build, it should take care of the problem. Otherwise, a typical fix would be to change some whitespace in CMakeLists.txt or in some major .td file to force TableGen to regenerate everything. -Krzysztof On 4/28/2017 5:49 PM, Eugene Zelenko via llvm-dev wrote:> Hi! > > I encounter problem with Polly build (in-tree, libraries are linked > statically). It appeared ~ 2 days agor for first time. > > include/llvm/IR/Attributes.h:73:14: fatal error: > 'llvm/IR/Attributes.gen' file not found > #include "llvm/IR/Attributes.gen" > > It seems that dependencies on IR are not set properly. > > Eugene. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
2017-04-29 0:49 GMT+02:00 Eugene Zelenko via llvm-dev <llvm-dev at lists.llvm.org>:> Hi! > > I encounter problem with Polly build (in-tree, libraries are linked > statically). It appeared ~ 2 days agor for first time. > > include/llvm/IR/Attributes.h:73:14: fatal error: > 'llvm/IR/Attributes.gen' file not found > #include "llvm/IR/Attributes.gen" > > It seems that dependencies on IR are not set properly.It might have been a result of intrinsics_gen being a dependency of Polly (the library), but not LLVMPolly (the loadable module) due to the introduction of the PollyCore intermediate library. It has been corrected in r301734. Michael
Hi, Michael! On Sun, Apr 30, 2017 at 2:06 PM, Michael Kruse <llvmdev at meinersbur.de> wrote:> 2017-04-29 0:49 GMT+02:00 Eugene Zelenko via llvm-dev <llvm-dev at lists.llvm.org>: >> Hi! >> >> I encounter problem with Polly build (in-tree, libraries are linked >> statically). It appeared ~ 2 days agor for first time. >> >> include/llvm/IR/Attributes.h:73:14: fatal error: >> 'llvm/IR/Attributes.gen' file not found >> #include "llvm/IR/Attributes.gen" >> >> It seems that dependencies on IR are not set properly. > > It might have been a result of intrinsics_gen being a dependency of > Polly (the library), but not LLVMPolly (the loadable module) due to > the introduction of the PollyCore intermediate library. It has been > corrected in r301734. > > MichaelI updated to r301808 and problem is still there. By the word, I do clean build. Eugene.