3 ms·
this is quickly getting better >Much of MLIR requires compiling from source, from what I can tell you can get apt packages from https://apt.llvm.org/ https://
by mathisfun123 3y ago
this is quickly getting better
>Much of MLIR requires compiling from source, from what I can tell
you can get apt packages from https://apt.llvm.org/ https://apt.llvm.org/ and build projects out of tree. you can also get packages from conda (https://github.com/conda-forge/mlir-feedstock https://github.com/conda-forge/mlir-feedstock). finally, if you look around on github you'll find tarred up releases too maintained by downstream users (e.g.https://github.com/ptillet/triton-llvm-releases https://github.com/ptillet/triton-llvm-releases).
you can also (as of very recently) build mlir-opt plugins just like for clang:
https://github.com/llvm/llvm-project/tree/main/mlir/examples/standalone/standalone-plugin https://github.com/llvm/llvm-project/tree/main/mlir/examples...
- comfypotato 3y agoIt definitely seems like an active and vibrant community. Saw the notes about putting distributions together while I was putzing around. Part of the issue is that I couldn’t find MLIR-specific packages on Ubuntu jammy. Built-from-source was a different version than the packaged LLVM and clang. I couldn’t find a way to get mlir-translate, for example, without compiling from source. I’m sure I could have figured it out with enough time, but I was short on time. Hopefully graduate with my master’s on Thursday actually.