1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add MLIR 15.

* gnu/packages/llvm.scm (mlir-15): New variable.

Change-Id: Idf0d2e406b7705a8d7de0dbda66d358c64c00d66
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Modified-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Philippe Virouleau
2025-11-28 10:22:45 +01:00
committed by Ludovic Courtès
parent 329b2dca07
commit fb55dd4304

View File

@@ -1616,14 +1616,16 @@ requirements according to version 1.1 of the OpenCL specification.")
;; Apache license 2.0 with LLVM exception
(license license:asl2.0)))
(define-public mlir-19
(define (mlir-from-llvm llvm)
"Produce MLIR with dependencies on LLVM."
(package
(name "mlir")
(version (package-version llvm-19))
(version (package-version llvm))
(source (llvm-monorepo version))
(build-system cmake-build-system)
(native-inputs (package-native-inputs llvm))
(inputs
(list llvm-19))
(list llvm))
(arguments
(list #:build-type "Release"
#:configure-flags
@@ -1644,6 +1646,12 @@ reduce the cost of building domain specific compilers, and aid in connecting
existing compilers together.")
(license license:asl2.0))) ; With LLVM exception
(define-public mlir-19
(mlir-from-llvm llvm-19))
(define-public mlir-15
(mlir-from-llvm llvm-15))
(define-public python-llvmlite
(package
(name "python-llvmlite")