unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sigve Sudland <sigve_sudland@hotmail.com>
To: 64738@debbugs.gnu.org
Cc: Sigve Sudland <sigve_sudland@hotmail.com>
Subject: [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib.
Date: Wed, 19 Jul 2023 23:02:34 +0200	[thread overview]
Message-ID: <AS8P250MB07186E45F45ABAC876FE11629B39A@AS8P250MB0718.EURP250.PROD.OUTLOOK.COM> (raw)

* gnu/packages/gl.scm (mesa): Enable zstd compression.
---
 gnu/packages/gl.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 1691086e1a..2f54d8553d 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -299,7 +299,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
          ;; Enable the codecs that were built by default as part of the
          ;; 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"

base-commit: ebb54e6a5fba36a571ed239398ee3e0307a91c26
--
2.41.0




             reply	other threads:[~2023-07-20 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19 21:02 Sigve Sudland [this message]
2023-07-20 10:22 ` [bug#64738] [PATCH] gnu: Make Mesa use zstd compression for shader cache instead of zlib 宋文武 via Guix-patches via
2023-07-20 10:58   ` 宋文武 via Guix-patches via
2023-07-20 19:35 ` John Kehayias via Guix-patches via
2023-07-21 10:15   ` 宋文武 via Guix-patches via
2023-07-25 21:27     ` John Kehayias via Guix-patches via
2023-07-31 15:27       ` bug#64738: " John Kehayias via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AS8P250MB07186E45F45ABAC876FE11629B39A@AS8P250MB0718.EURP250.PROD.OUTLOOK.COM \
    --to=sigve_sudland@hotmail.com \
    --cc=64738@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).