- Remove non-rootstrap dependencies. They should be in the
hal-rootstrap.
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
SET(VIVANTE_LIBRARY_NAME "hal-backend-ml-vivante")
pkg_check_modules(vivante_build_dep_pkgs REQUIRED
hal-rootstrap
- ovxlib
- amlogic-vsi-npu-sdk
)
FOREACH(flag ${vivante_build_dep_pkgs_CFLAGS})
IF(ENABLE_SNPE)
pkg_check_modules(snpe_build_dep_pkgs REQUIRED
hal-rootstrap
- snpe
)
FOREACH(flag ${snpe_build_dep_pkgs_CFLAGS})
## For meson board
%if 0%{?_with_meson64}
%define vivante_support 1
-BuildRequires: pkgconfig(ovxlib)
-BuildRequires: pkgconfig(amlogic-vsi-npu-sdk)
%endif
## For qrb board
%if 0%{?_with_qrb4210}
%define snpe_support 1
-BuildRequires: snpe-devel
%endif
%endif # For DA
%if 0%{?snpe_support}
%package snpe
Summary: hal-backend-ml-accelerator for snpe
-Requires: snpe
%description snpe
%define enable_snpe -DENABLE_SNPE=ON
%endif