[flang-dev] [FLANG] Cannot build FLANG with latest LLVM

Inderjeet Singh Kalra - ERS, HCL Tech via flang-dev flang-dev at lists.llvm.org
Thu Aug 20 00:40:08 PDT 2020


Compilation error is coming while building LLVM, FLANG. Configured with -DLLVM_ENABLE_PROJECTS="mlir;clang;openmp;flang".

In file included from /root/LLVM/llvm-project/mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp:21:
/root/LLVM/llvm-project/mlir/include/mlir/Dialect/Linalg/Passes.h:67:10: fatal error: mlir/Dialect/Linalg/Passes.h.inc: No such file or directory
  67 | #include "mlir/Dialect/Linalg/Passes.h.inc"
     |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

 # git log --oneline --decorate
a11ab6e (HEAD, origin/master, origin/HEAD, master) Fix test hip-target-id.hip
9896546 [gn build] Port 7546b29e761
7546b29 [HIP] Support target id by --offload-arch
cacfb02 [AMDGPU] Support disassembly for AMDGPU kernel descriptors
451dcfa [mlir] [VectorOps] Cleanup mask 1-d test on constants
40ae296 [TSan][libdispatch] Guard test execution on old platforms

Regards,
Inderjeet
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/flang-dev/attachments/20200820/3608cc3d/attachment.html>


More information about the flang-dev mailing list