[all-commits] [llvm/llvm-project] 52d31b: [flang] Fix missing generated includes in out of t...
David Spickett via All-commits
all-commits at lists.llvm.org
Wed Oct 19 06:20:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52d31be80eea6d051b7271528e70b852c490e201
https://github.com/llvm/llvm-project/commit/52d31be80eea6d051b7271528e70b852c490e201
Author: David Spickett <david.spickett at linaro.org>
Date: 2022-10-19 (Wed, 19 Oct 2022)
Changed paths:
M flang/include/flang/Optimizer/Dialect/CMakeLists.txt
Log Message:
-----------
[flang] Fix missing generated includes in out of tree build
875fd9df76ded4a88a3a44b690f290ea98f91705 added a new dialect
with some generated files.
When flang is built out of tree (build llvm/clang/mlir first, then
build flang pointing at the first build) those files were not created
at all.
I don't 100% understand why not but juding by the comment at the top
of the file, add_mlir_interface probably expects to run in an MLIR
directory, as add_mlir_dialect does.
So in the same way, I've just inlined enough of that function to
fix the out of tree build.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D136250
More information about the All-commits
mailing list