From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kIlpLE/ABGQbRQEAbAwnHQ (envelope-from ) for ; Sun, 05 Mar 2023 17:16:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UIaUK0/ABGRaggAAG6o9tA (envelope-from ) for ; Sun, 05 Mar 2023 17:16:15 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A521B9D0 for ; Sun, 5 Mar 2023 17:16:15 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=oQclCI0Q; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678032975; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=580/1/y21BwfjQuNb+tuERXNLbAUdvnBga2kzt1MGQ4=; b=H77hBeLZgsnDpsPVqCChqjlcn9hVtqysNaeT74+J5Zh53Sh1JDvEZOUydYoiL2W6lB3pb1 wwNLZiP6YoujT9p5cuDXhtm6+aOZPobcpKnHF1dLGcnWIZQok9Znc+oHRLNg7b744MuA2F reeMGAfZjAMOiMDhNTVemyKugUozWlnSgK79kF6UWfp+QskrrPl1SutUDXNp809oI5wHYL P4Ro+4WeyLTiR/okSGq07QUuTVIJ7BNUsoolSS/O855ryW4cRi5hSi4GpMKqQkjTGqbeHH DmXU3383BBzxYEuyJyJbX2EOanj/ZO7jV2iESb70blZr780SfH6k0fayaOKBJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b=oQclCI0Q; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678032975; a=rsa-sha256; cv=none; b=Yrz+83mWMQvp8B0BM1nUgqVe2khX06oOhC89zoLfOIuswCUk8HA4TIjlLYi6phmEta5n/a aqwv1yuW16JnBsdwKED8Bbczbtld27+LhQeNOFCujcZIQ0qpfs+OYYod/I+3SKmgXkKfqa Lt0hQfq2W6JWG+EW3uplv1ciYrGoZL9d/ajOvbr5H7DpmH/WGL22hqV9ZmGiXCUW12M05v 2M+73fl+RAiasmOA2QVIMivrQSkmm60g/whYXfazn22Q0fpCjR7DL7OIB+Vgn1ENb+0dnq eKhLau6x1adLukA/iY9Wc5oXy9Bk6FureIzvDWnTv+aaMbJy5IyurpEVERA8lQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYr1C-0006oe-Ed; Sun, 05 Mar 2023 11:15:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYr0q-0006jZ-Nu for guix-patches@gnu.org; Sun, 05 Mar 2023 11:15:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pYr0q-0004zR-Fs for guix-patches@gnu.org; Sun, 05 Mar 2023 11:15:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYr0q-00053J-BH for guix-patches@gnu.org; Sun, 05 Mar 2023 11:15:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61959] [PATCH v3 5/7] gnu: Add asahi-mesa. Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 05 Mar 2023 16:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61959 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61959@debbugs.gnu.org Cc: Roman Scherer Received: via spool by 61959-submit@debbugs.gnu.org id=B61959.167803286019298 (code B ref 61959); Sun, 05 Mar 2023 16:15:04 +0000 Received: (at 61959) by debbugs.gnu.org; 5 Mar 2023 16:14:20 +0000 Received: from localhost ([127.0.0.1]:40386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYr08-000516-1H for submit@debbugs.gnu.org; Sun, 05 Mar 2023 11:14:20 -0500 Received: from mail-ed1-f52.google.com ([209.85.208.52]:46900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYr05-0004zl-Af for 61959@debbugs.gnu.org; Sun, 05 Mar 2023 11:14:17 -0500 Received: by mail-ed1-f52.google.com with SMTP id k10so5231803edk.13 for <61959@debbugs.gnu.org>; Sun, 05 Mar 2023 08:14:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; t=1678032851; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=580/1/y21BwfjQuNb+tuERXNLbAUdvnBga2kzt1MGQ4=; b=oQclCI0QUJxuLWqIZMbJtJbOcYgDlqfeIosDy0bJ0sPFxcjVPCbc6kIrvylY+Y8piT HSK8b5oNlB3sKRx9Q1vmQ/OCvXQwOCEltHuAnQaa3j1PU458cKDRb0romMdJU3JBRGUZ qmd1HY2EWuEU2eHfzcmnZrRxk9f1eEvKib10QzZen29BkLXOOfUGJC92mzHfo2W+AUGf HeLos6BRX6GhKjolXEXLjttu5tUoHAk4V9fCSZzxUjZPBWvbazusrvSnK07280IL2/BL hWxaQxReONVNa3I3gpZfGgJwYNSKuwO4JYJrkT9pLHJ3lFKVKbiqVZG64SWDvVXBJhCP po6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678032851; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=580/1/y21BwfjQuNb+tuERXNLbAUdvnBga2kzt1MGQ4=; b=BN/wQy0CBwJOJJhyqC+gSfQepCSLaSw7AS8uVeXEC12jFFQzqXzBeMrI33G6/WJEmF AAnAew8Sspf0WeT+0Xo9jB4JMfzviMF5Oof8BVNSZCvPYUmDXP/ReNS0uuB9jMI5XA4g CmB+yafGqgTtV6Aq93jjylcWBC+fUz94NI75ZpB4pLGRXJm6/RAERBrSVCK97PqoICzW ryA6DLk5bm9bzhVhQNPGiPyoFPTsFKEQfrx6AV5SYm9NW+icxOduDZuFlGVPUfktFdb9 GO9llh8nucKxWtgtvVwgWwv2ZHfZiVQjJNn+K0NNMIPGqMDfGI0RaUXz731OAmuDYOh7 z0PQ== X-Gm-Message-State: AO0yUKXjUZIGRUGd9+tPP5yhrd5hbsos4w1pWzhyHYKABMH8aevT1EDs YGLFGbY7euZIVqimo5e2JiiV3SBwWvk3Mp0RyQs= X-Google-Smtp-Source: AK7set8dtsYuiHZg3lESiunVl+Kf5MoitfwTb3/FrO57QfcVRvFsimQtiZE3eQCHYzGfj8b6YXA23w== X-Received: by 2002:a17:906:ee2:b0:88c:780c:770e with SMTP id x2-20020a1709060ee200b0088c780c770emr8154726eji.32.1678032851553; Sun, 05 Mar 2023 08:14:11 -0800 (PST) Received: from localhost.localdomain ([2a01:598:b1a4:3a5a:a167:d158:7c33:e2c4]) by smtp.gmail.com with ESMTPSA id kv22-20020a17090778d600b008dceec0fd4csm3366381ejc.73.2023.03.05.08.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Mar 2023 08:14:11 -0800 (PST) From: Roman Scherer Date: Sun, 5 Mar 2023 17:14:01 +0100 Message-Id: <19a15a4a8d4208cf21faca7e6b6d11fb3cf59fb5.1678031751.git.roman@burningswell.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 6A521B9D0 X-Spam-Score: -2.01 X-Migadu-Spam-Score: -2.01 List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: OkcA9KGiIEZq * gnu/packages/gl.scm (asahi-mesa): New variable. --- gnu/packages/gl.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 4ae96032cd..3b3985df71 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,54 @@ (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