guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: mesa: Disable faulty test on i686 also when cross-compiling.


From: guix-commits
Subject: 01/01: gnu: mesa: Disable faulty test on i686 also when cross-compiling.
Date: Thu, 3 Oct 2019 06:03:24 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit ccbc1c5eb2f3cc1979902b6bfd3e7b31aa66e661
Author: Pierre Neidhardt <address@hidden>
Date:   Thu Oct 3 12:01:27 2019 +0200

    gnu: mesa: Disable faulty test on i686 also when cross-compiling.
    
    * gnu/packages/gl.scm (mesa)[arguments]: Fix 'patch-create_test_cases phase
      for cross-compilation.
---
 gnu/packages/gl.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index bfa80b1..ec3a5d8 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -342,7 +342,8 @@ also known as DXTn or DXTC) for Mesa.")
              (substitute* "src/intel/genxml/gen_pack_header.py"
                (("/usr/bin/env python2") (which "python")))
              #t))
-         ,@(if (string-prefix? "i686" (%current-system))
+         ,@(if (string-prefix? "i686" (or (%current-target-system)
+                                          (%current-system)))
                ;; Disable new test from Mesa 19 that fails on i686.  Upstream
                ;; report: 
<https://bugs.freedesktop.org/show_bug.cgi?id=110612>.
                `((add-after 'unpack 'disable-failing-test



reply via email to

[Prev in Thread] Current Thread [Next in Thread]