Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AITT] Remove AITT #203

Merged
merged 1 commit into from
Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading