me
/
guix
Archived
1
0
Fork 0

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>
master
Sigve Sudland 2023-07-19 23:02:34 +02:00 committed by John Kehayias
parent 9d4cd681da
commit 090c254fe7
No known key found for this signature in database
GPG Key ID: 499097AE5EA815D9
1 changed files with 5 additions and 1 deletions

View File

@ -298,7 +298,8 @@ also known as DXTn or DXTC) for Mesa.")
libxvmc
llvm-for-mesa
wayland
wayland-protocols))
wayland-protocols
`(,zstd "lib")))
(native-inputs
(list bison
flex
@ -362,6 +363,9 @@ svga,swrast,virgl")))
;; 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"