[flang-dev] Error while building LLVM

Mehdi AMINI via flang-dev flang-dev at lists.llvm.org
Tue May 12 09:16:58 PDT 2020


This is a missing dependency issue in MLiR CmakeLists (+Stephen)

We’re looking into it but in the meantime please try to restart the build
it should get through at some point.

On Tue, May 12, 2020 at 5:25 AM Rajesh K Singh via flang-dev <
flang-dev at lists.llvm.org> wrote:

>
> Hello,
>
>
>
> I downloaded the LLVM-project today (12-May-2020) and tried again. The
> same error occurred again.
>
> Please see below:
>
> Scanning dependencies of target MLIRSupport
>
> [ 74%] Linking CXX static library ../../../../lib/libMLIRSupport.a
>
> [ 74%] Built target MLIRSupport
>
> Scanning dependencies of target obj.MLIRLoopAnalysis
>
> [ 74%] Building CXX object
> tools/mlir/lib/Analysis/CMakeFiles/obj.MLIRLoopAnalysis.dir/AffineAnalysis.cpp.o
>
> In file included from
> /home/llvm-project/mlir/lib/Analysis/AffineAnalysis.cpp:16:0:
>
> /home/llvm-project/mlir/include/mlir/Dialect/Affine/IR/AffineOps.h:366:10:
> fatal error: mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc: No such file or
> directory
>
> #include "mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc"
>
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> compilation terminated.
>
> make[2]: ***
> [tools/mlir/lib/Analysis/CMakeFiles/obj.MLIRLoopAnalysis.dir/AffineAnalysis.cpp.o]
> Error 1
>
> make[1]: ***
> [tools/mlir/lib/Analysis/CMakeFiles/obj.MLIRLoopAnalysis.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
>
> [root at localhost llvm-project]# ls
> "mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc"
>
> ls: cannot access mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc: No such
> file or directory
>
> [root at localhost llvm-project]# locate AffineOpsDialect.h.inc
>
> [root at localhost llvm-project]#
>
>
>
> Please suggest.
>
>
>
> Regards,
>
> Rajesh
> _______________________________________________
> flang-dev mailing list
> flang-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/flang-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/flang-dev/attachments/20200512/91bb2730/attachment-0001.html>


More information about the flang-dev mailing list