[flang-dev] Error while building LLVM

Rajesh K Singh via flang-dev flang-dev at lists.llvm.org
Tue May 12 05:24:51 PDT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/flang-dev/attachments/20200512/8e6d1984/attachment.html>


More information about the flang-dev mailing list