%define edgetpu_support 0
%endif
+# tizen 6.0 (or less) backward-compatibility check
+%if ( 0%{?tizen_version_major} == 6 && 0%{?tizen_version_minor} < 5 ) || 0%{?tizen_version_major} < 6
+%define grpc_support 0
+%define tensorflow2_lite_support 0
+%endif
+
# Disable e-TPU if it's not 64bit system
%ifnarch aarch64 x86_64
%define edgetpu_support 0
# This is compatible with SSAT (https://github.com/myungjoo/SSAT)
testInit $1
+# NNStreamer and plugins path for test
PATH_TO_PLUGIN="../../build"
+
+if [[ -d $PATH_TO_PLUGIN ]]; then
+ ini_path="${PATH_TO_PLUGIN}/ext/nnstreamer"
+ if [[ -d ${ini_path} ]]; then
+ check=$(ls ${ini_path} | grep nnstreamer-grpc.so)
+ if [[ ! $check ]]; then
+ echo "Cannot find nnstreamer-grpc shared lib"
+ report
+ exit
+ fi
+ else
+ echo "Cannot find ${ini_path}"
+ fi
+fi
+
NUM_BUFFERS=10
# Dump original frames, passthrough, other/tensor