mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: mesa: Enable zstd compression for shader cache.
* gnu/packages/gl.scm (mesa)[inputs]: Add zstd:lib. [arguments]: Add '-Dzstd=enabled' to configure-flags. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
9d4cd681da
commit
090c254fe7
1 changed files with 5 additions and 1 deletions
|
@ -298,7 +298,8 @@ (define-public mesa
|
|||
libxvmc
|
||||
llvm-for-mesa
|
||||
wayland
|
||||
wayland-protocols))
|
||||
wayland-protocols
|
||||
`(,zstd "lib")))
|
||||
(native-inputs
|
||||
(list bison
|
||||
flex
|
||||
|
@ -362,6 +363,9 @@ (define-public mesa
|
|||
;; 21.3.x releases to avoid functionality regressions.
|
||||
"-Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc"
|
||||
|
||||
;; Enable ZSTD compression for shader cache.
|
||||
"-Dzstd=enabled"
|
||||
|
||||
;; Also enable the tests.
|
||||
"-Dbuild-tests=true"
|
||||
|
||||
|
|
Loading…
Reference in a new issue