From e00c579090ce715110259e3746b53aa3e1e04e6d Mon Sep 17 00:00:00 2001 From: Itai Masuari Date: Sun, 21 Jul 2024 13:58:40 +0300 Subject: [PATCH 1/2] [v1.22.x] fabtests/benchmarks: Fix synapseai fabtests build Signed-off-by: Itai Masuari (cherry picked from commit 3d1d5db042134895b798050b17ec2eef88c94098) --- fabtests/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabtests/configure.ac b/fabtests/configure.ac index f42b4bc83ee..b8d2e8167d1 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], From 48d3beb5f07f8daf80f835a8fa03714356b2ec83 Mon Sep 17 00:00:00 2001 From: Jianxin Xiong Date: Tue, 23 Jul 2024 16:31:42 -0700 Subject: [PATCH 2/2] [v1.22.x] prov/opx: Add missing file needed for fabric direct build to release package Signed-off-by: Jianxin Xiong --- prov/opx/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prov/opx/Makefile.include b/prov/opx/Makefile.include index 6ddf9ab81b8..b53ee9ccda3 100644 --- a/prov/opx/Makefile.include +++ b/prov/opx/Makefile.include @@ -168,6 +168,8 @@ noinst_HEADERS = \ $(top_srcdir)/prov/opx/include/linux-i386/sysdep.h \ $(top_srcdir)/prov/opx/include/opx_shm.h +prov_extra_dist += $(top_srcdir)/prov/opx/provider_FABRIC_1.0.map + prov_install_man_pages += man/man7/fi_opx.7 endif #HAVE_OPX