Skip to content

Commit

Permalink
tizen: enable/disable nnstreamer-edge explicitly.
Browse files Browse the repository at this point in the history
For Tizen distro, do not let "auto" determine essential features.
This will prevent regression that implicitly disabling nnstreamer-edge.

Signed-off-by: MyungJoo Ham <[email protected]>
  • Loading branch information
myungjoo authored and jaeyun-jung committed Sep 15, 2023
1 parent 350ae7e commit 239dbcd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packaging/nnstreamer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,12 @@ NNStreamer's datareposrc/sink plugins for reading and writing files in MLOps Dat
%define fp16_support -Denable-float16=false
%endif

%if 0%{?nnstreamer_edge_support}
%define nnsedge -Dnnstreamer-edge-support=enabled
%else
%define nnsedge -Dnnstreamer-edge-support=disabled
%endif

%define fw_priority -Dframework-priority-nb=%{fw_priority_nb} -Dframework-priority-bin=%{fw_priority_bin}

%prep
Expand Down Expand Up @@ -863,7 +869,7 @@ meson --buildtype=plain --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --libdir
%{enable_nnfw_runtime} %{enable_mvncsdk2} %{enable_openvino} %{enable_armnn} %{enable_edgetpu} %{enable_vivante} \
%{enable_flatbuf} %{enable_trix_engine} %{enable_datarepo} \
%{enable_tizen_sensor} %{enable_mqtt} %{enable_lua} %{enable_tvm} %{enable_test} %{enable_test_coverage} %{install_test} \
%{fp16_support} \
%{fp16_support} %{nnsedge} \
%{builddir}

ninja -C %{builddir} %{?_smp_mflags}
Expand Down

0 comments on commit 239dbcd

Please sign in to comment.