[build] Remove non-rootstrap deps
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Fri, 7 Mar 2025 07:07:36 +0000 (16:07 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 10 Mar 2025 05:28:54 +0000 (22:28 -0700)
- Remove non-rootstrap dependencies. They should be in the
  hal-rootstrap.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
CMakeLists.txt
packaging/hal-backend-ml-accelerator.spec

index 3749160b572ce93b9fcf4695a05b1d2de1ee5958..d530ded89834674728d02b4c218dc0ff2487860f 100644 (file)
@@ -32,8 +32,6 @@ ${PROJECT_SOURCE_DIR}/src/hal-backend-ml-vivante.cc
 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})
@@ -50,7 +48,6 @@ ENDIF()
 IF(ENABLE_SNPE)
 pkg_check_modules(snpe_build_dep_pkgs REQUIRED
   hal-rootstrap
-  snpe
 )
 
 FOREACH(flag ${snpe_build_dep_pkgs_CFLAGS})
index 5f5980707fa558d6791d48eca78d3c7b28e4bafc..b61ed250da668f15515dec9a1aa3a0787b93a0f8 100644 (file)
@@ -15,14 +15,11 @@ BuildRequires:  pkgconfig(hal-rootstrap)
 ## 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
@@ -44,7 +41,6 @@ Summary:  hal-backend-ml-accelerator for vivante
 %if 0%{?snpe_support}
 %package snpe
 Summary:  hal-backend-ml-accelerator for snpe
-Requires: snpe
 %description snpe
 %define enable_snpe -DENABLE_SNPE=ON
 %endif