From: MyungJoo Ham Date: Thu, 18 Jul 2019 10:40:11 +0000 (+0900) Subject: [Dist/Tizen] Disable tensorflow (non-lite) for Tizen X-Git-Tag: accepted/tizen/unified/20190722.074756^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c30dc484ce92789169108327b6e434001cba4689;p=platform%2Fupstream%2Fnnstreamer.git [Dist/Tizen] Disable tensorflow (non-lite) for Tizen With the Tensorflow update from 1.09 to 1.13 @ Tizen, we have decided to drop tensorflow (non-lite). Signed-off-by: MyungJoo Ham --- diff --git a/packaging/nnstreamer.spec b/packaging/nnstreamer.spec index b44f178..9358f29 100644 --- a/packaging/nnstreamer.spec +++ b/packaging/nnstreamer.spec @@ -2,6 +2,7 @@ %define gstpostfix gstreamer-1.0 %define gstlibdir %{_libdir}/%{gstpostfix} %define nnstexampledir /usr/lib/nnstreamer/bin +%define tensorflow-support 0 # If it is tizen, we can export Tizen API packages. %bcond_with tizen @@ -52,7 +53,7 @@ BuildRequires: opencv-devel # For './testAll.sh' time limit. BuildRequires: procps # for tensorflow -%ifarch x86_64 aarch64 +%if 0%{?tensorflow-support} BuildRequires: protobuf-devel >= 3.4.0 BuildRequires: tensorflow BuildRequires: tensorflow-devel @@ -95,7 +96,7 @@ NNStreamer is a set of gstreamer plugins to support general neural networks and their plugins in a gstreamer stream. # for tensorflow -%ifarch x86_64 aarch64 +%if 0%{?tensorflow-support} %package tensorflow Summary: NNStreamer TensorFlow Support Requires: nnstreamer = %{version}-%{release} @@ -173,7 +174,7 @@ CFLAGS="${CFLAGS} -fprofile-arcs -ftest-coverage" mkdir -p build -%ifarch x86_64 aarch64 +%if 0%{?tensorflow-support} %define enable_tf true %else %define enable_tf false @@ -273,7 +274,7 @@ popd %{_sysconfdir}/nnstreamer.ini # for tensorflow -%ifarch x86_64 aarch64 +%if 0%{?tensorflow-support} %files tensorflow %defattr(-,root,root,-) %{_prefix}/lib/nnstreamer/filters/libnnstreamer_filter_tensorflow.so