unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 25953@debbugs.gnu.org
Subject: bug#25953: [PATCH] gnu: mesa: Build LLVM Gallium drivers.
Date: Mon,  6 Mar 2017 15:35:26 +0100	[thread overview]
Message-ID: <20170306143526.30361-1-rekado@elephly.net> (raw)
In-Reply-To: <878tom6xc6.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me>

Fixes <https://bugs.gnu.org/25953>.

* gnu/packages/gl.scm (mesa)[inputs]: Add llvm.
[arguments]: Build LLVM Gallium drivers.
---
 gnu/packages/gl.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index a3862f1ec..fff0e9ab3 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -4,7 +4,7 @@
 ;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
 ;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
-;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2016 David Thompson <davet@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -33,6 +33,7 @@
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages llvm)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages video)
@@ -230,14 +231,15 @@ also known as DXTn or DXTC) for Mesa.")
         ("makedepend" ,makedepend)
         ("presentproto" ,presentproto)
         ("s2tc" ,s2tc)
+        ("llvm" ,llvm)
         ("wayland" ,wayland)))
     (native-inputs
       `(("pkg-config" ,pkg-config)
         ("python" ,python-2)))
     (arguments
      `(#:configure-flags
-       '(;; drop r300 from default gallium drivers, as it requires llvm
-         "--with-gallium-drivers=r600,svga,swrast,nouveau,virgl"
+       '("--with-gallium-drivers=i915,r300,r600,svga,swrast,nouveau,virgl"
+         "--enable-gallium-llvm"
          ;; Enable various optional features.  TODO: opencl requires libclc,
          ;; omx requires libomxil-bellagio
          "--with-egl-platforms=x11,drm,wayland"
-- 
2.12.0

  parent reply	other threads:[~2017-03-06 14:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-03  8:04 bug#25953: [Mesa] Very low Gallium performance compared to Trisquel Matthew Brooks
2017-03-03 17:53 ` Leo Famulari
2017-03-03 18:15   ` Marius Bakke
     [not found]     ` <CAPi-ftoekP+QWmy=BRyKJr5YWpkwK0eFu0KmCHfxwZC78sJTjA@mail.gmail.com>
2017-03-03 22:22       ` bug#25953: Fwd: " Matthew Brooks
2017-03-06 14:35     ` Ricardo Wurmus [this message]
2017-03-06 14:58       ` bug#25953: [PATCH] gnu: mesa: Build LLVM Gallium drivers Thompson, David
2017-03-06 16:46         ` Danny Milosavljevic
2017-03-06 18:55         ` Leo Famulari
2017-03-06 21:37           ` Ricardo Wurmus
2017-03-07  7:04       ` Mark H Weaver
2017-03-07 13:29         ` Ricardo Wurmus
2017-03-11  1:45           ` Mark H Weaver
2017-03-11 10:58             ` Ludovic Courtès
     [not found]             ` <CAPi-ftq3D390s1vV1Oqagf5ut=XGeAEdrU6a_T5Q973wzMniPA@mail.gmail.com>
2017-03-15  8:58               ` Matthew Brooks
2017-03-15 11:58                 ` Ricardo Wurmus

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=20170306143526.30361-1-rekado@elephly.net \
    --to=rekado@elephly.net \
    --cc=25953@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).