mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-29 11:44:10 +01:00
nongnu: mesa-next: Fix failing test for i686-linux.
* nongnu/packages/mesa.scm (mesa-next)[phases]{fix-instrfromstring-test}: New phase. Fix the instrfromstring test which fails on i686 using the upstream change.
This commit is contained in:
parent
40723b9e38
commit
2a353a3dbc
1 changed files with 9 additions and 0 deletions
|
@ -237,6 +237,15 @@ svga,swrast,virgl")))
|
||||||
(("'lp_test_arit', ") ""))))
|
(("'lp_test_arit', ") ""))))
|
||||||
(_
|
(_
|
||||||
'((display "No tests to disable on this architecture.\n"))))))
|
'((display "No tests to disable on this architecture.\n"))))))
|
||||||
|
,@(if (string=? (%current-system) "i686-linux")
|
||||||
|
'((add-after 'disable-failing-test 'fix-instrfromstring-test
|
||||||
|
(lambda _
|
||||||
|
;; The instrfromstring test fails on i686, which has been already
|
||||||
|
;; fixed upstream but not in 22.2.1.
|
||||||
|
;; TODO: remove on update
|
||||||
|
(substitute* "src/gallium/drivers/r600/sfn/sfn_instr_export.cpp"
|
||||||
|
(("buf\\[6\\]") "buf[6] = {0}")))))
|
||||||
|
'())
|
||||||
(add-before 'configure 'fix-dlopen-libnames
|
(add-before 'configure 'fix-dlopen-libnames
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
|
Loading…
Reference in a new issue