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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to