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

Author: Eric Engestrom <eric.engest...@intel.com>
Date:   Thu Oct 11 15:19:04 2018 +0100

radv: add exported symbols check

Signed-off-by: Eric Engestrom <eric.engest...@intel.com>
Reviewed-by: Dylan Baker <dy...@pnwbakers.com>
Reviewed-by: Emil Velikov <emil.veli...@collabora.com>
Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>

---

 src/amd/vulkan/meson.build | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build
index 4243f66055f..93523b0e88e 100644
--- a/src/amd/vulkan/meson.build
+++ b/src/amd/vulkan/meson.build
@@ -166,6 +166,19 @@ libvulkan_radeon = shared_library(
   install : true,
 )
 
+if with_tests and prog_nm.found()
+  test(
+    'radv symbols check',
+    symbols_check,
+    args : [
+      '--lib', libvulkan_radeon,
+      '--symbols-file', vulkan_icd_symbols,
+      '--nm', prog_nm.path(),
+    ],
+    suite : ['amd'],
+  )
+endif
+
 radeon_icd = custom_target(
   'radeon_icd',
   input : 'radv_icd.py',

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to