Mesa (master): freedreno/ir3: Add missing ld_args_build_id to the ir3_delay unit test.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 20 22:29:10 UTC 2020


Module: Mesa
Branch: master
Commit: d973e50f699b08e0c2e1788af79bcff38d670e86
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d973e50f699b08e0c2e1788af79bcff38d670e86

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jul 20 10:06:02 2020 -0700

freedreno/ir3: Add missing ld_args_build_id to the ir3_delay unit test.

It triggers the disk cache for me, and asserts abount not getting the
build id right.

Fixes: f97acb4bb4b1 ("freedreno/ir3: disk-cache support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5989>

---

 src/freedreno/ir3/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/freedreno/ir3/meson.build b/src/freedreno/ir3/meson.build
index 06f004322ca..833543d9fda 100644
--- a/src/freedreno/ir3/meson.build
+++ b/src/freedreno/ir3/meson.build
@@ -131,6 +131,7 @@ test('ir3_delay_test',
     'ir3_delay_test',
     'tests/delay.c',
     link_with: libfreedreno_ir3,
+    link_args: ld_args_build_id,
     dependencies: [idep_mesautil, idep_nir],
     include_directories: [inc_freedreno, inc_include, inc_src, inc_mesa, inc_gallium],
   ),



More information about the mesa-commit mailing list