mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: mesa-opencl: Use the new rusticl OpenCL backend.
The previously used Clover backend has been removed. * gnu/packages/gl.scm (mesa-opencl) [#:configure-flags]: Remove gallium-opencl flag. Add gallium-rusticl and gallium-rusticl-enable-drivers. * gnu/packages/rust-apps.scm (rust-bindgen-cli) [inputs]: Replace clang with clang-18. Change-Id: I4e3557816c9a5bb5c652295f1351c3bd8eac608d
This commit is contained in:
parent
8dc37e181c
commit
e2f6d4f961
2 changed files with 8 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
||||||
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||||
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
|
||||||
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
||||||
;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim@guixotic.coop>
|
;;; Copyright © 2020, 2021, 2022, 2023, 2025 Maxim Cournoyer <maxim@guixotic.coop>
|
||||||
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
|
;;; Copyright © 2020 Kei Kebreau <kkebreau@posteo.net>
|
||||||
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
|
||||||
;;; Copyright © 2021-2025 John Kehayias <john.kehayias@protonmail.com>
|
;;; Copyright © 2021-2025 John Kehayias <john.kehayias@protonmail.com>
|
||||||
|
@ -351,7 +351,7 @@ also known as DXTn or DXTC) for Mesa.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(append
|
(append
|
||||||
(list bison
|
(list bison
|
||||||
clang-18
|
clang-18 ;ensure rust-bindgen-cli uses the same
|
||||||
flex
|
flex
|
||||||
gettext-minimal
|
gettext-minimal
|
||||||
glslang
|
glslang
|
||||||
|
@ -656,7 +656,11 @@ from software emulation to complete hardware acceleration for modern GPUs.")
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments mesa)
|
(substitute-keyword-arguments (package-arguments mesa)
|
||||||
((#:configure-flags flags)
|
((#:configure-flags flags)
|
||||||
#~(cons "-Dgallium-opencl=standalone" #$flags))))))
|
#~(cons* "-Dgallium-rusticl=true"
|
||||||
|
;; Enable all drivers by default.
|
||||||
|
(string-append "-Dgallium-rusticl-enable-drivers="
|
||||||
|
"iris,llvmpipe,nouveau,panfrost,radeonsi,r600")
|
||||||
|
#$flags))))))
|
||||||
|
|
||||||
(define-public mesa-opencl-icd
|
(define-public mesa-opencl-icd
|
||||||
(package/inherit mesa-opencl
|
(package/inherit mesa-opencl
|
||||||
|
|
|
@ -2559,7 +2559,7 @@ support, watch support (like @command{top}) and a tree view.")
|
||||||
(string-append share "/elvish/lib/bindgen")
|
(string-append share "/elvish/lib/bindgen")
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke bindgen "--generate-shell-completions" "elvish")))))))))
|
(invoke bindgen "--generate-shell-completions" "elvish")))))))))
|
||||||
(inputs (cons* bash-minimal clang (cargo-inputs 'rust-bindgen-cli)))
|
(inputs (cons* bash-minimal clang-18 (cargo-inputs 'rust-bindgen-cli)))
|
||||||
(home-page "https://rust-lang.github.io/rust-bindgen/")
|
(home-page "https://rust-lang.github.io/rust-bindgen/")
|
||||||
(synopsis "Generate Rust FFI bindings to C and C++ libraries")
|
(synopsis "Generate Rust FFI bindings to C and C++ libraries")
|
||||||
(description "This package can be used to automatically generate Rust FFI
|
(description "This package can be used to automatically generate Rust FFI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue