From: Roman Scherer <roman@burningswell.com>
To: 61959@debbugs.gnu.org
Cc: Roman Scherer <roman@burningswell.com>
Subject: [bug#61959] [PATCH v2 5/7] gnu: Add asahi-mesa.
Date: Sun, 5 Mar 2023 11:53:13 +0100 [thread overview]
Message-ID: <55eb55b6d17592dedeffcb642837aa042a1a8bd2.1678013595.git.roman@burningswell.com> (raw)
In-Reply-To: <d88b8f1882baebc161da49a299b86c9a74936125.1678013595.git.roman@burningswell.com>
* gnu/packages/gl.scm (asahi-mesa): New variable.
---
gnu/packages/gl.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 4ae96032cd..a2f55a2865 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -52,6 +52,7 @@ (define-module (gnu packages gl)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages valgrind)
#:use-module (gnu packages video)
#:use-module (gnu packages vulkan)
#:use-module (gnu packages xdisorg)
@@ -612,6 +613,55 @@ (define-public mesa-utils
;; glxdemo is public domain; others expat.
(license (list license:expat license:public-domain))))
+(define-public asahi-mesa
+ (let ((commit "0a12b60a6b4363315ca3789e7e289240704a26da"))
+ (package
+ (inherit mesa)
+ (name "asahi-mesa")
+ (version (git-version "20221229" "0" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.freedesktop.org/asahi/mesa")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0yjn55qy4890gi1s3dhzdhqqxrms4fzcibqr84a3vcc53ggiywmb"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments mesa)
+ ((#:configure-flags flags)
+ `(list "-Db_ndebug=true"
+ "-Db_lto=false"
+ "-Ddri3=enabled"
+ "-Degl=enabled"
+ "-Dgallium-drivers=swrast,virgl,kmsro,asahi"
+ "-Dgallium-extra-hud=true"
+ "-Dgallium-opencl=disabled"
+ "-Dgallium-rusticl=false"
+ "-Dgallium-va=disabled"
+ "-Dgallium-vdpau=disabled"
+ "-Dgallium-xa=disabled"
+ "-Dgbm=enabled"
+ "-Dgles1=disabled"
+ "-Dgles2=enabled"
+ "-Dglx=dri"
+ "-Dlibunwind=disabled"
+ "-Dllvm=enabled"
+ "-Dlmsensors=enabled"
+ "-Dmicrosoft-clc=disabled"
+ "-Dosmesa=true"
+ "-Dplatforms=x11,wayland"
+ "-Dshared-glapi=enabled"
+ "-Dvalgrind=enabled"
+ "-Dvulkan-drivers=swrast"
+ "-Dvulkan-layers="))))
+ (inputs
+ (modify-inputs (package-inputs mesa)
+ (prepend `(,lm-sensors "lib") libglvnd libressl valgrind)
+ (replace "llvm" llvm-15)
+ (replace "wayland-protocols" wayland-protocols-next))))))
+
(define-public glew
(package
(name "glew")
--
2.39.1
next prev parent reply other threads:[~2023-03-05 10:54 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-04 14:44 [bug#61959] [PATCH 0/7] Add some Asahi Linux packages Roman Scherer
2023-03-04 14:46 ` [bug#61959] [PATCH 1/7] gnu: Add m1n1 Roman Scherer
2023-03-04 14:46 ` [bug#61959] [PATCH 2/7] gnu: Add u-boot-apple-m1 Roman Scherer
2023-03-04 14:46 ` [bug#61959] [PATCH 3/7] gnu: Add asahi-fwextract Roman Scherer
2023-03-04 14:46 ` [bug#61959] [PATCH 4/7] gnu: libdrm: Update to 2.4.114 Roman Scherer
2023-03-04 14:46 ` [bug#61959] [PATCH 5/7] gnu: Add asahi-mesa Roman Scherer
2023-03-04 14:46 ` [bug#61959] [PATCH 6/7] gnu: Add asahi-mesa-headers Roman Scherer
2023-03-04 14:46 ` [bug#61959] [PATCH 7/7] gnu: Add asahi-mesa-utils Roman Scherer
2023-03-04 17:38 ` [bug#61959] [PATCH 0/7] Add some Asahi Linux packages Ricardo Wurmus
2023-03-05 10:53 ` Roman Scherer
2023-03-05 11:15 ` Roman Scherer
2023-03-04 19:42 ` Winter via Guix-patches via
2023-03-05 10:53 ` [bug#61959] [PATCH v2 1/7] gnu: Add m1n1 Roman Scherer
2023-03-05 10:53 ` [bug#61959] [PATCH v2 2/7] gnu: Add u-boot-apple-m1 Roman Scherer
2023-03-05 10:53 ` [bug#61959] [PATCH v2 3/7] gnu: libdrm: Update to 2.4.114 Roman Scherer
2023-03-05 10:53 ` [bug#61959] [PATCH v2 4/7] gnu: Add asahi-fwextract Roman Scherer
2023-03-05 10:53 ` Roman Scherer [this message]
2023-03-05 10:53 ` [bug#61959] [PATCH v2 6/7] gnu: Add asahi-mesa-headers Roman Scherer
2023-03-05 10:53 ` [bug#61959] [PATCH v2 7/7] gnu: Add asahi-mesa-utils Roman Scherer
2023-03-05 16:13 ` [bug#61959] [PATCH v3 0/7] Add some Asahi Linux packages Roman Scherer
2023-03-05 16:13 ` [bug#61959] [PATCH v3 1/7] gnu: Add m1n1 Roman Scherer
2023-03-05 16:13 ` [bug#61959] [PATCH v3 2/7] gnu: Add u-boot-apple-m1 Roman Scherer
2023-03-05 16:13 ` [bug#61959] [PATCH v3 3/7] gnu: libdrm: Update to 2.4.114 and adjust renamed options Roman Scherer
2023-03-05 16:14 ` [bug#61959] [PATCH v3 4/7] gnu: Add asahi-fwextract Roman Scherer
2023-03-05 16:14 ` [bug#61959] [PATCH v3 5/7] gnu: Add asahi-mesa Roman Scherer
2023-03-05 16:14 ` [bug#61959] [PATCH v3 6/7] gnu: Add asahi-mesa-headers Roman Scherer
2023-03-05 16:14 ` [bug#61959] [PATCH v3 7/7] gnu: Add asahi-mesa-utils Roman Scherer
2023-03-05 23:43 ` [bug#61959] [PATCH 0/7] Add some Asahi Linux packages Denis 'GNUtoo' Carikli
2023-03-07 4:14 ` Winter via Guix-patches via
2023-03-08 12:14 ` Roman Scherer
2023-03-08 12:13 ` [bug#61959] [PATCH v4 0/7] Change patch order Roman Scherer
2023-03-08 12:13 ` [bug#61959] [PATCH v4 1/7] gnu: Add m1n1 Roman Scherer
2023-03-08 12:13 ` [bug#61959] [PATCH v4 2/7] gnu: Add u-boot-apple-m1 Roman Scherer
2023-03-08 12:13 ` [bug#61959] [PATCH v4 3/7] gnu: libdrm: Update to 2.4.114 and adjust renamed options Roman Scherer
2023-03-08 12:13 ` [bug#61959] [PATCH v4 4/7] gnu: Add asahi-mesa Roman Scherer
2023-03-08 12:13 ` [bug#61959] [PATCH v4 5/7] gnu: Add asahi-mesa-headers Roman Scherer
2023-03-08 12:13 ` [bug#61959] [PATCH v4 6/7] gnu: Add asahi-mesa-utils Roman Scherer
2023-03-08 12:13 ` [bug#61959] [PATCH v4 7/7] gnu: Add asahi-fwextract Roman Scherer
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=55eb55b6d17592dedeffcb642837aa042a1a8bd2.1678013595.git.roman@burningswell.com \
--to=roman@burningswell.com \
--cc=61959@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 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.