[llvm-bugs] [Bug 45575] New: flang lacks mlir dependency
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Apr 16 07:46:37 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45575
Bug ID: 45575
Summary: flang lacks mlir dependency
Product: Build scripts
Version: trunk
Hardware: PC
OS: Solaris
Status: NEW
Severity: normal
Priority: P
Component: cmake
Assignee: unassignedbugs at nondot.org
Reporter: ro at gcc.gnu.org
CC: llvm-bugs at lists.llvm.org
When trying to build trunk with flang included, I initially used
cmake -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;polly;flang"
...
Unfortunately, this failed rather obscurely with
CMake Error at
/vol/llvm/src/llvm-project/dist/flang/include/flang/Optimizer/Dialect/CMakeLists.txt:5
(mlir_tablegen):
Unknown CMake command "mlir_tablegen".
I'd have expected either that flang adds the required dependency on mlir
automatically
or at the very least clearly diagnoses early on that it's missing.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200416/8d73f663/attachment.html>
More information about the llvm-bugs
mailing list