Skip to content

Commit

Permalink
Dist/Tizen: Add an option to control MLAgent support
Browse files Browse the repository at this point in the history
This patch adds an option for MLAgent support control to the Tizen RPM
spec file.

Signed-off-by: Wook Song <[email protected]>
  • Loading branch information
wooksong committed Jan 2, 2024
1 parent 7be044d commit 14a778c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packaging/nnstreamer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,17 @@ BuildRequires: pkgconfig(orc-0.4)
BuildRequires: flex
BuildRequires: bison

# For datarepo
%if 0%{?datarepo_support}
# For datarepo or ml-agent
#TODO: the dependency on ml-agent should be changed from mandatory to optional
%if 0%{?datarepo_support} || 0%{?ml_agent_support}
BuildRequires: pkgconfig(json-glib-1.0)
%endif

# For ml-agent
%if 0%{?ml_agent_support}
BuildRequires: pkgconfig(ml-agent)
%endif

# Note that debug packages generate an additional build and storage cost.
# If you do not need debug packages, run '$ gbs -c .TAOS-CI/.gbs.conf build ... --define "_skip_debug_rpm 1"'.

Expand Down

0 comments on commit 14a778c

Please sign in to comment.