Bug#1061219: Please upgrade to llvm-toolchain-17
On Sat, Feb 17, 2024 at 09:25:29AM +0100, Petter Reinholdtsen wrote:
> I tried switching to a newer llvm package, but it seem to me the
> libmlir-14-dev and mlir-14-tools content changed in a way that break the
> build with newer llvm versions. Not sure how to work around this, not
> skilled enough with cmake to figure out a solution so far.
My suggestion: upgrade to the new upstream version. Triton 2.1.0 has
support for newer LLVM. I just tried it and the cmake configuration
succeeded with LLVM 17 (though I needed to patch
lib/Dialect/TritonGPU/IR/CMakeLists.txt and
lib/Conversion/TritonGPUToLLVM/CMakeLists.txt with
s/MLIRGPUOps/MLIRGPUDialect/).
I still got some compile errors after that that I don't unfortunately
have time to look further into right now. I guess 2.1.0 would work
out of the box with LLVM 16, but I'd wager it's still much closer to
working with LLVM 17 than Triton 2.0.0 would be.
Reply to: