<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54128>54128</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
CGPasses.h.inc: No such file or directory
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
hpcs-isaka
</td>
</tr>
</table>
<pre>
During the build process, I get interrupted with the error below.
```
[6150/7461] Building CXX object tools/flang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o
FAILED: tools/flang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o
/usr/bin/c++ -DFLANG_LITTLE_ENDIAN=1 -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/flang/lib/Frontend -I/app/setup/LLVM/13.0.1_20220301/llvm-project/flang/lib/Frontend -I/app/setup/LLVM/13.0.1_20220301/llvm-project/flang/include -Itools/flang/include -Iinclude -I/app/setup/LLVM/13.0.1_20220301/llvm-project/llvm/include -isystem /app/setup/LLVM/13.0.1_20220301/llvm-project/llvm/../mlir/include -isystem tools/mlir/include -isystem tools/clang/include -isystem /app/setup/LLVM/13.0.1_20220301/llvm-project/llvm/../clang/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -fno-strict-aliasing -fno-semantic-interposition -O3 -DNDEBUG -fno-exceptions -fno-rtti -std=c++17 -MD -MT tools/flang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o -MF tools/flang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o.d -o tools/flang/lib/Frontend/CMakeFiles/obj.flangFrontend.dir/FrontendActions.cpp.o -c /app/setup/LLVM/13.0.1_20220301/llvm-project/flang/lib/Frontend/FrontendActions.cpp
In file included from /app/setup/LLVM/13.0.1_20220301/llvm-project/flang/include/flang/Tools/CLOptions.inc:16,
from /app/setup/LLVM/13.0.1_20220301/llvm-project/flang/lib/Frontend/FrontendActions.cpp:404:
/app/setup/LLVM/13.0.1_20220301/llvm-project/flang/include/flang/Optimizer/CodeGen/CodeGen.h:51:10: fatal error: flang/Optimizer/CodeGen/CGPasses.h.inc: No such file or directory
51 | #include "flang/Optimizer/CodeGen/CGPasses.h.inc"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[6165/7461] Building CXX object tools/mlir/test/lib/Dialect/Test/CMakeFiles/MLIRTestDialect.dir/TestDialect.cpp.o
In file included from /app/setup/LLVM/13.0.1_20220301/llvm-project/mlir/include/mlir/IR/OpImplementation.h:18,
from /app/setup/LLVM/13.0.1_20220301/llvm-project/mlir/include/mlir/IR/DialectImplementation.h:17,
from /app/setup/LLVM/13.0.1_20220301/llvm-project/mlir/test/lib/Dialect/Test/TestAttributes.h:23,
from /app/setup/LLVM/13.0.1_20220301/llvm-project/mlir/test/lib/Dialect/Test/TestDialect.h:17,
from /app/setup/LLVM/13.0.1_20220301/llvm-project/mlir/test/lib/Dialect/Test/TestDialect.cpp:9:
```
Where is the 'CGPasses.h.inc' file supplied from?
I would like help from anyone who knows the solution to this problem.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzNV1tzmzgU_jX4RQMD-BY_-MHxJesZ2-kk7rZvHoGE0UYgFomk7q_fT4BjN-1me4mn68ECnXN0bjr6JEWKHcazqhT5npiUk6gSk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