diff options
author | John Kehayias <john.kehayias@protonmail.com> | 2022-10-14 20:40:08 -0400 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2023-04-22 21:25:33 -0400 |
commit | 2a353a3dbc45675c8275e83d0e04908b3ba4b634 (patch) | |
tree | 8d7ca4f529330d58068ff9a381558c5b181496dc | |
parent | 40723b9e385adfb7daae82441fb73b8689d9790e (diff) |
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.
-rw-r--r-- | nongnu/packages/mesa.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nongnu/packages/mesa.scm b/nongnu/packages/mesa.scm index 3f5053c..8272715 100644 --- a/nongnu/packages/mesa.scm +++ b/nongnu/packages/mesa.scm @@ -237,6 +237,15 @@ svga,swrast,virgl"))) (("'lp_test_arit', ") "")))) (_ '((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 (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) |