mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add mlir-19.
* gnu/packages/llvm.scm (mlir-19): New variable. Change-Id: I9808f173aa437ea98e61b37a22406a3679db60ff
This commit is contained in:
parent
987ad77492
commit
b1fe9aa142
1 changed files with 28 additions and 0 deletions
|
@ -1561,6 +1561,34 @@ requirements according to version 1.1 of the OpenCL specification.")
|
||||||
;; Apache license 2.0 with LLVM exception
|
;; Apache license 2.0 with LLVM exception
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public mlir-19
|
||||||
|
(package
|
||||||
|
(name "mlir")
|
||||||
|
(version (package-version llvm-19))
|
||||||
|
(source (llvm-monorepo version))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(inputs
|
||||||
|
(list llvm-19))
|
||||||
|
(arguments
|
||||||
|
(list #:build-type "Release"
|
||||||
|
#:configure-flags
|
||||||
|
#~(list "-DMLIR_BUILD_MLIR_C_DYLIB=ON"
|
||||||
|
"-DLLVM_BUILD_LLVM_DYLIB=ON"
|
||||||
|
"-DLLVM_LINK_LLVM_DYLIB=ON")
|
||||||
|
#:tests? #f ; Tests require gtest
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'change-directory
|
||||||
|
(lambda _
|
||||||
|
(chdir "mlir"))))))
|
||||||
|
(home-page "https://mlir.llvm.org/")
|
||||||
|
(synopsis "Multi-Level Intermediate Representation")
|
||||||
|
(description "This package is a novel approach to building reusable
|
||||||
|
and extensible compiler infrastructure. MLIR aims to address software
|
||||||
|
fragmentation, improve compilation for heterogeneous hardware, significantly
|
||||||
|
reduce the cost of building domain specific compilers, and aid in connecting
|
||||||
|
existing compilers together.")
|
||||||
|
(license license:asl2.0))) ; With LLVM exception
|
||||||
|
|
||||||
(define-public python-llvmlite
|
(define-public python-llvmlite
|
||||||
(package
|
(package
|
||||||
(name "python-llvmlite")
|
(name "python-llvmlite")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue