gnu: mesa: Fix architecture matching when disabling tests.

* gnu/packages/gl.scm (mesa)[arguments]: Adjust architecture names in
custom 'disable-failing-test phase.
This commit is contained in:
Efraim Flashner 2021-08-09 14:11:09 +03:00
parent 36cb285d61
commit 57e59eddfb
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -365,11 +365,11 @@ (define-public mesa
(add-after 'unpack 'disable-failing-test (add-after 'unpack 'disable-failing-test
(lambda _ (lambda _
,@(match (%current-system) ,@(match (%current-system)
("powerpc64le" ("powerpc64le-linux"
;; Disable some of the llvmpipe tests. ;; Disable some of the llvmpipe tests.
`((substitute* "src/gallium/drivers/llvmpipe/lp_test_arit.c" `((substitute* "src/gallium/drivers/llvmpipe/lp_test_arit.c"
(("0\\.5, ") "")))) (("0\\.5, ") ""))))
("powerpc" ("powerpc-linux"
;; There are some tests which fail specifically on powerpc. ;; There are some tests which fail specifically on powerpc.
`((substitute* '(;; LLVM ERROR: Relocation type not implemented yet! `((substitute* '(;; LLVM ERROR: Relocation type not implemented yet!
"src/gallium/drivers/llvmpipe/meson.build" "src/gallium/drivers/llvmpipe/meson.build"