Hi Eugene, It is strange, I also do a clean build with CMake+make with r301734 and it is ok. Could you provide more details? Thanks Hongbin On Mon, May 1, 2017 at 10:58 AM, Eugene Zelenko via llvm-dev < llvm-dev at lists.llvm.org> wrote:> 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. > > > > Michael > > I updated to r301808 and problem is still there. > > By the word, I do clean build. > > Eugene. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170501/769ae1cc/attachment.html>
Hi, Hongbin! On Mon, May 1, 2017 at 11:06 AM, Hongbin Zheng <etherzhhb at gmail.com> wrote:> Hi Eugene, > > It is strange, I also do a clean build with CMake+make with r301734 and it > is ok. Could you provide more details? > > Thanks > HongbinMy CMake parameters: ${CMake} \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_INSTALL_PREFIX:PATH=${InstallDir} \ -DCMAKE_C_COMPILER=${GCCDir}/bin/gcc \ -DCMAKE_C_FLAGS="-m64" \ -DCMAKE_CXX_COMPILER=${GCCDir}/bin/g++ \ -DCMAKE_CXX_FLAGS="-m64" \ -DPYTHON_EXECUTABLE=${PythonDir}/bin/python \ -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \ -DLLVM_LIBDIR_SUFFIX=64 \ -DLLVM_TARGETS_TO_BUILD="X86" \ ${LLVMSourceDir} I build LLVM, Clang, Clang extra tools, Compiler-RT and Polly together. Eugene.
2017-05-01 20:16 GMT+02:00 Eugene Zelenko via llvm-dev <llvm-dev at lists.llvm.org>:> Hi, Hongbin! > > On Mon, May 1, 2017 at 11:06 AM, Hongbin Zheng <etherzhhb at gmail.com> wrote: >> Hi Eugene, >> >> It is strange, I also do a clean build with CMake+make with r301734 and it >> is ok. Could you provide more details? >> >> Thanks >> Hongbin > > My CMake parameters: > > ${CMake} \ > -DCMAKE_BUILD_TYPE="Release" \ > -DCMAKE_INSTALL_PREFIX:PATH=${InstallDir} \ > -DCMAKE_C_COMPILER=${GCCDir}/bin/gcc \ > -DCMAKE_C_FLAGS="-m64" \ > -DCMAKE_CXX_COMPILER=${GCCDir}/bin/g++ \ > -DCMAKE_CXX_FLAGS="-m64" \ > -DPYTHON_EXECUTABLE=${PythonDir}/bin/python \ > -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON \ > -DLLVM_LIBDIR_SUFFIX=64 \ > -DLLVM_TARGETS_TO_BUILD="X86" \ > ${LLVMSourceDir} > > I build LLVM, Clang, Clang extra tools, Compiler-RT and Polly together.I tried this configuration (I have lld, lldb, libcxx etc in my source tree as well). Neither "make LLVMPolly -j8" nor "make Polly -j8" resulted in an error on a clean build. Can you try "make intrinsics_gen" before building anything else? The should generate the missing "llvm/IR/Attributes.gen". You could also try "-DLLVM_POLLY_LINK_INTO_TOOLS=OFF". Michael