From 66d2eea4940f1fd71411ae7cd28088d989a158fa Mon Sep 17 00:00:00 2001 From: gichan Date: Fri, 14 Oct 2022 13:36:28 +0900 Subject: [PATCH] [AITT] Remove AITT build dependency Remove build dependency of AITT. Check whether the AITT lib is installed or not at run-time for AITT test. Signed-off-by: gichan --- meson.build | 4 ---- meson_options.txt | 1 - packaging/nnstreamer.spec | 6 ------ 3 files changed, 11 deletions(-) diff --git a/meson.build b/meson.build index 12777e6..3c966f4 100644 --- a/meson.build +++ b/meson.build @@ -426,10 +426,6 @@ features = { 'mxnet-support': { 'extra_deps': [ mxnet_dep ], 'project_args': { 'ENABLE_MXNET' : 1 } - }, - 'aitt-support': { - 'target': 'aitt', - 'project_args': { 'ENABLE_AITT' : 1 } } } diff --git a/meson_options.txt b/meson_options.txt index c728c5a..b114ed2 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -25,7 +25,6 @@ option('tvm-support', type: 'feature', value: 'auto') option('trix-engine-support', type: 'feature', value: 'auto') option('nnstreamer-edge-support', type: 'feature', value: 'auto') option('mxnet-support', type: 'feature', value: 'auto') -option('aitt-support', type: 'feature', value: 'auto') # booleans & other options option('enable-test', type: 'boolean', value: true) diff --git a/packaging/nnstreamer.spec b/packaging/nnstreamer.spec index ec1fd25..d6f983f 100644 --- a/packaging/nnstreamer.spec +++ b/packaging/nnstreamer.spec @@ -35,7 +35,6 @@ %define tvm_support 1 %define snpe_support 1 %define trix_engine_support 1 -%define aitt_support 1 # Support AI offloading (tensor_query) using nnstreamer-edge interface %define nnstreamer_edge_support 1 @@ -109,7 +108,6 @@ %define snpe_support 0 %define trix_engine_support 0 %define nnstreamer_edge_support 0 -%define aitt_support 0 %endif # DA requested to remove unnecessary module builds @@ -123,7 +121,6 @@ %define mqtt_support 0 %define tvm_support 0 %define trix_engine_support 0 -%define aitt_support 0 %endif # Release unit test suite as a subpackage only if check_test is enabled. @@ -232,9 +229,6 @@ BuildConflicts: libarmcl-release %if 0%{?edgetpu_support} BuildRequires: pkgconfig(edgetpu) %endif -%if 0%{?aitt_support} -BuildRequires: aitt-devel -%endif %if 0%{?testcoverage} # to be compatible with gcc-9, lcov should have a higher version than 1.14.1 -- 2.7.4