all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: aurtzy <aurtzy@gmail.com>
Cc: john.kehayias@protonmail.com, 69637@debbugs.gnu.org
Subject: [bug#69637] [PATCH mesa-updates 0/6] gnu: mesa: Update to 24.0.2.
Date: Tue, 12 Mar 2024 10:11:45 +0200	[thread overview]
Message-ID: <ZfAOQX6ZYguWEx9d@3900XT> (raw)
In-Reply-To: <cover.1709899566.git.aurtzy@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2504 bytes --]

On Fri, Mar 08, 2024 at 07:32:39AM -0500, aurtzy wrote:
> Hello!
> 
> This series of patches updates Mesa to the latest stable version with the NVK
> Vulkan driver for NVIDIA GPUs enabled for x86_64 systems.
> 
> Mesa 24.0.2 depends on a newer version of libdrm (>= 2.4.119), which is
> pending in another issue (https://issues.guix.gnu.org/68845).
> 
> Some packages (rust-syn-2.0.39, rust-proc-macro2-1.0.70, rust-quote-1.0.33)
> were added specifically to be used as sources that satisfy explicit versions
> of dependencies required by Mesa (for NVK).  Would it be better to inline
> origins in the change-subproject-sources phase?  The same question also
> applies for the rust-unicode-ident-1 source.

Are there other architectures which have rust based drivers? x86_64
isn't the only architecture which has rust building on it.

> Currently, the Rust dependencies are found in the build by substituting the
> fallback https://* URLs in the relevant ./subprojects/*.wrap files with
> file://*, then relying on the fallback to "download" from the store.  It
> seemed a bit hacky doing it this way, but I'm not aware of a better solution.

The crates are also available in
%output/share/cargo/registry/name-version.crate, although I can't think
of a good way to address them by name without using find-files.

I would personally replace the versions requested by mesa with whatever
version we happen to have in guix so that we don't have to add special
versions just for mesa.

> A newer Meson version is also required for NVK (>= 1.3.0), which this patch
> series adds a new variable for.
> 
> x86_64-linux and i686-linux have been tested to successfully build.
> 
> Cheers,
> 
> aurtzy
> 
> aurtzy (6):
>   gnu: Add meson-1.3.
>   gnu: Add rust-syn-2.0.39.
>   gnu: Add rust-proc-macro2-1.0.70.
>   gnu: Add rust-quote-1.0.33.
>   gnu: Add rust-bindgen-cli-0.69.
>   gnu: mesa: Update to 24.0.2.
> 
>  gnu/packages/build-tools.scm | 14 ++++++
>  gnu/packages/crates-io.scm   | 95 ++++++++++++++++++++++++++++++++++++
>  gnu/packages/gl.scm          | 68 +++++++++++++++++++-------
>  3 files changed, 160 insertions(+), 17 deletions(-)
> 
> 
> base-commit: 0b5cbca689b2f91949e191ca256ffc9bb48c1141
> -- 
> 2.41.0
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2024-03-12  8:13 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08 12:32 [bug#69637] [PATCH mesa-updates 0/6] gnu: mesa: Update to 24.0.2 aurtzy
2024-03-08 20:27 ` [bug#69637] [PATCH mesa-updates 1/6] gnu: Add meson-1.3 aurtzy
2024-03-08 20:27 ` [bug#69637] [PATCH mesa-updates 2/6] gnu: Add rust-syn-2.0.39 aurtzy
2024-03-08 20:27 ` [bug#69637] [PATCH mesa-updates 3/6] gnu: Add rust-proc-macro2-1.0.70 aurtzy
2024-03-08 20:27 ` [bug#69637] [PATCH mesa-updates 4/6] gnu: Add rust-quote-1.0.33 aurtzy
2024-03-08 20:27 ` [bug#69637] [PATCH mesa-updates 5/6] gnu: Add rust-bindgen-cli-0.69 aurtzy
2024-03-12 11:54   ` Efraim Flashner
2024-03-08 20:27 ` [bug#69637] [PATCH mesa-updates 6/6] gnu: mesa: Update to 24.0.2 aurtzy
2024-03-12  8:11 ` Efraim Flashner [this message]
2024-03-21  1:52   ` [bug#69637] [PATCH mesa-updates 0/6] " aurtzy
2024-03-21  4:39     ` John Kehayias via Guix-patches via
2024-03-21 10:58       ` Efraim Flashner
2024-03-22  7:24 ` [bug#69637] [PATCH mesa-updates v2 0/5] gnu: mesa: Update to 24.0.3 aurtzy
2024-03-22  7:33   ` [bug#69637] [PATCH mesa-updates v2 1/5] gnu: Add meson-1.3 aurtzy
2024-03-22  7:33   ` [bug#69637] [PATCH mesa-updates v2 2/5] gnu: Add rust-syn-2.0.39 aurtzy
2024-03-22  7:33   ` [bug#69637] [PATCH mesa-updates v2 3/5] gnu: Add rust-proc-macro2-1.0.70 aurtzy
2024-03-22  7:33   ` [bug#69637] [PATCH mesa-updates v2 4/5] gnu: Add rust-quote-1.0.33 aurtzy
2024-03-22  7:33   ` [bug#69637] [PATCH mesa-updates v2 5/5] gnu: mesa: Update to 24.0.3 aurtzy
2024-03-25  1:29   ` [bug#69637] [PATCH mesa-updates v2 0/5] " John Kehayias via Guix-patches via
2024-03-27  2:14     ` aurtzy
2024-03-27  5:22       ` John Kehayias via Guix-patches via
2024-04-18  4:39         ` bug#69637: " 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

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

  git send-email \
    --in-reply-to=ZfAOQX6ZYguWEx9d@3900XT \
    --to=efraim@flashner.co.il \
    --cc=69637@debbugs.gnu.org \
    --cc=aurtzy@gmail.com \
    --cc=john.kehayias@protonmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.