Patch D78215 changes various dependencies in the CMakeLists.txt. This
results in error while compiling.
[ 3%] Building CXX object tools/flang/lib/Parser/CMakeFiles/obj.FortranParser.dir/char-buffer.cpp.o In file included from /home/4vn/versioning/llp/mlir/include/mlir/IR/Function.h:20:0, from /home/4vn/versioning/llp/mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h:18, from /home/4vn/versioning/llp/flang/lib/Optimizer/Support/KindMapping.cpp:10: /home/4vn/versioning/llp/mlir/include/mlir/Interfaces/CallInterfaces.h:27:10: fatal error: mlir/Interfaces/CallInterfaces.h.inc: No such file or directory #include "mlir/Interfaces/CallInterfaces.h.inc" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [tools/flang/lib/Optimizer/Support/CMakeFiles/obj.FIRSupport.dir/KindMapping.cpp.o] Error 1 make[1]: *** [tools/flang/lib/Optimizer/Support/CMakeFiles/obj.FIRSupport.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
You are reintroducing a cycle-dependency between FortranEvaluate and FortranSemantics, and in addition FortranEvaluate doesn't call any function from FortranSemantics.