From 3d1d5db042134895b798050b17ec2eef88c94098 Mon Sep 17 00:00:00 2001 From: Itai Masuari Date: Sun, 21 Jul 2024 13:58:40 +0300 Subject: [PATCH] fabtests/benchmarks: Fix synapseai fabtests build Signed-off-by: Itai Masuari --- fabtests/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabtests/configure.ac b/fabtests/configure.ac index d57df11c8f2..eaaf225b52d 100644 --- a/fabtests/configure.ac +++ b/fabtests/configure.ac @@ -200,7 +200,7 @@ AC_ARG_WITH([synapseai], [AS_IF([test "$freebsd" == "0"], [AC_CHECK_LIB(dl, dlopen, [], [AC_MSG_ERROR([dlopen not found.])])], []) - CPPFLAGS="-I$withval/include $CPPFLAGS" + CPPFLAGS="-I$withval/include -I/usr/include/drm -I/usr/include/libdrm $CPPFLAGS" AC_CHECK_HEADER([habanalabs/synapse_api.h], [AC_CHECK_HEADER([habanalabs/hlthunk.h], [AC_CHECK_HEADER([habanalabs/scal.h],