[llvm-dev] Attempt to build MLIR.
Johan Engelen via llvm-dev
llvm-dev at lists.llvm.org
Sun Mar 22 15:52:56 PDT 2020
FWIW, I am still hitting this [*] build error on release branch 10.x
(llvmorg-10.0.0-rc5) when building with:
`cmake -G Ninja -DLLVM_ENABLE_PROJECTS="clang;compiler-rt;lld;polly;mlir"
-DLLVM_APPEND_VC_REV=ON -DLLVM_INSTALL_UTILS=ON ../../llvm` .
Note that I am building with Ninja, perhaps that's the reason?
fatal error: 'mlir/Transforms/LoopLikeInterface.h.inc' file not found
On Mon, Jan 13, 2020 at 10:56 AM Sourabh Singh Tomar via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Not sure, tried couple of times. Seems like while building with
> "-DBUILD_SHARED_LIBS=ON" causes all these problems.
> However, building MLIR with this FLAG disabled -- building fine.
> On Mon, Jan 13, 2020 at 11:47 AM Stephen Neuendorffer <
> stephen.neuendorffer at gmail.com> wrote:
>> These errors seem pretty pervasive for me on a clean build. It appears
>> that it arises because when tablegen'd headers are included in a .h file,
>> every place where that .h file is used needs a dependency on the
>> corresponding IncGen targets. This seems broken in the short term and
>> unmaintainable in the long term. There really needs to be a way of
>> automatically generating the right dependencies.
>> On Tue, Dec 24, 2019 at 9:13 AM Mehdi Amini via llvm-dev <
>> llvm-dev at lists.llvm.org> wrote:
>>> Hi Sourabh,
>>> This usually indicates a missing dependency in our CMakeLists.txt, if
>>> you restart the build a couple of times it will likely succeed.
>>> I will try to fix this missing dependency today.
>>> On Tue, Dec 24, 2019 at 1:37 AM Sourabh Singh Tomar <
>>> sourav0311 at gmail.com> wrote:
>>>> Hello everyone,
>>>> Since MLIR landed today. I'm trying to build it using
>>>> cmake ../llvm/ -DCMAKE_BUILD_TYPE=RELEASE -DLLVM_TARGETS_TO_BUILD=X86
>>>> -DLLVM_ALL_PROJECTS="clang;lld;lldb;mlir" -DBUILD_SHARED_LIBS=ON
>>>> and also by adding -DLLVM_ALL_PROJECTS.
>>>> It's giving this compilation error --
>>>> Building CXX object
>>>> In file included from
>>>> fatal error: mlir/Transforms/LoopLikeInterface.h.inc: No such file or
>>>> #include "mlir/Transforms/LoopLikeInterface.h.inc"
>>>> Am I missing something? -- some pre-requisites ?
>>>> Thanks in anticipation!
>>>> compilation terminated.
>>> LLVM Developers mailing list
>>> llvm-dev at lists.llvm.org
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev