Skip to contentSkip to conversation

tests: bypass amdgpu test build without lib-jsonc

PATCH New Guchun Chen 1 participant 1 message Aug 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: bypass amdgpu test build without lib-jsonc

Without lib-jsonc, one build error happens. So this patch is to fix this.

ras_tests.c:33:10: fatal error: json.h: No such file or directory

 #include "json.h"
          ^~~~~~~~

compilation terminated.
Makefile:636: recipe for target 'amdgpu_test-ras_tests.o' failed

Change-Id I2ca5f813a6d3e118a5793ce80776ee2b27490239
---
 tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)
tests/Makefile.am +2 -0
index d274a3e9..afcfd489 100644
@@ -10,9 +10,11 @@ endif
 
 if HAVE_AMDGPU
 if HAVE_CUNIT
+if HAVE_JSONC
 SUBDIRS += amdgpu
 endif
 endif
+endif
 
 if HAVE_EXYNOS
 SUBDIRS += exynos
Signature · 6 lines
2.17.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx