[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error cross-compiling Mesa: failing test
From: |
Pierre Neidhardt |
Subject: |
Re: Error cross-compiling Mesa: failing test |
Date: |
Thu, 19 Sep 2019 12:44:46 +0200 |
Sorry for the delay :p
> In any case you can change (%current-system) to:
>
> (or (%current-target-system) (%current-system))
>
> ...and it should work. Feel free to push this change to 'master' :-)
OK, I could do that.
Now I'm trying to build a i686-linux mesa on a x86_64, but the following
--8<---------------cut here---------------start------------->8---
(define-public (to32 package64)
"Build package for i686-linux.
Only x86_64-linux and i686-linux are supported.
- If i686-linux, return the package unchanged.
- If x86_64-linux, return the 32-bit version of the package."
(match (%current-system)
("x86_64-linux"
(package
(inherit package64)
(name (string-append (package-name package64) "32"))
(arguments `(#:system "i686-linux"
,@(package-arguments package64)))))
(_ package64)))
(define mesa32
(package
(inherit (to32 mesa))
(arguments
(substitute-keyword-arguments (package-arguments mesa)
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'cross-disable-failing-test
(lambda _
(substitute* "src/gallium/tests/unit/meson.build"
(("'u_format_test',") ""))
#t))))))))
--8<---------------cut here---------------end--------------->8---
still produces a x86_64 build of mesa. Any clue what I'm missing?
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
- Error cross-compiling Mesa: failing test, Pierre Neidhardt, 2019/09/06
- Re: Error cross-compiling Mesa: failing test, Marius Bakke, 2019/09/07
- Re: Error cross-compiling Mesa: failing test,
Pierre Neidhardt <=
- Re: Error cross-compiling Mesa: failing test, Jelle Licht, 2019/09/19
- Re: Error cross-compiling Mesa: failing test, Pierre Neidhardt, 2019/09/19
- Re: Error cross-compiling Mesa: failing test, Jelle Licht, 2019/09/19
- Re: Error cross-compiling Mesa: failing test, Pierre Neidhardt, 2019/09/19
- Re: Error cross-compiling Mesa: failing test, Pierre Neidhardt, 2019/09/27
- Re: Error cross-compiling Mesa: failing test, Marius Bakke, 2019/09/27