Skip to content

Commit

Permalink
[AITT] Remove AITT
Browse files Browse the repository at this point in the history
Remove AITT connection from nnstreamer-edge because AITT is removed from Tizen platform.
* Remove nnstreamer-edge-aitt.c later.

Signed-off-by: gichan2-jang <[email protected]>
  • Loading branch information
gichan-jang authored and jaeyun-jung committed Mar 13, 2024
1 parent 21313d5 commit 89acea4
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions packaging/nnstreamer-edge.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

# Default features for Tizen releases
%define mqtt_support 1
%define aitt_support 1

# Define features for TV releases
%if "%{?profile}" == "tv"
%define mqtt_support 0
%define aitt_support 0
%endif

%bcond_with tizen
Expand Down Expand Up @@ -37,10 +35,6 @@ BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(libmosquitto)
%endif

%if 0%{?aitt_support}
BuildRequires: aitt-devel
%endif

%if 0%{?unit_test}
BuildRequires: gtest-devel
BuildRequires: procps
Expand Down Expand Up @@ -93,12 +87,6 @@ HTML pages of lcov results of nnstreamer-edge generated during rpm build
%define enable_mqtt -DMQTT_SUPPORT=OFF
%endif

%if 0%{?aitt_support}
%define enable_aitt -DAITT_SUPPORT=ON
%else
%define enable_aitt -DAITT_SUPPORT=OFF
%endif

%prep
%setup -q
cp %{SOURCE1001} .
Expand All @@ -125,7 +113,7 @@ pushd build
%cmake .. \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DVERSION=%{version} \
%{enable_tizen} %{enable_unittest} %{enable_mqtt} %{enable_aitt}
%{enable_tizen} %{enable_unittest} %{enable_mqtt}

make %{?jobs:-j%jobs}
popd
Expand All @@ -139,10 +127,6 @@ popd
%if 0%{?unit_test}
LD_LIBRARY_PATH=./src bash %{test_script} ./tests/unittest_nnstreamer-edge

%if 0%{?aitt_support}
LD_LIBRARY_PATH=./src bash %{test_script} ./tests/unittest_nnstreamer-edge-aitt
%endif

%if 0%{?mqtt_support}
LD_LIBRARY_PATH=./src bash %{test_script} ./tests/unittest_nnstreamer-edge-mqtt
%endif
Expand Down Expand Up @@ -192,10 +176,6 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%{_bindir}/unittest_nnstreamer-edge

%if 0%{?aitt_support}
%{_bindir}/unittest_nnstreamer-edge-aitt
%endif

%if 0%{?mqtt_support}
%{_bindir}/unittest_nnstreamer-edge-mqtt
%endif
Expand Down

0 comments on commit 89acea4

Please sign in to comment.