Skip to content

Commit

Permalink
Limit GWT resources to pass the build on CBS
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Perina <mperina@redhat.com>
  • Loading branch information
mwperina committed Sep 30, 2022
1 parent 9fdad8b commit 7631fc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ovirt-engine.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
%global ovirt_build_all_user_agents 1
%endif

# Limit GWT resources to pass the build in CBS
%global ovirt_build_extra_flags_rpm -D gwt.compiler.localWorkers=1

# Set "rhv_build 1" to perform RHV Manager build
%global rhv_build 0

Expand All @@ -68,7 +71,7 @@
# nor modify of variables
#
%if %{?_ovirt_build_extra_flags:1}%{?ovirt_build_extra_flags:1}0
%global EXTRA_BUILD_FLAGS %{?_ovirt_build_extra_flags:%{_ovirt_build_extra_flags}}%{?ovirt_build_extra_flags: %{ovirt_build_extra_flags}}
%global EXTRA_BUILD_FLAGS %{ovirt_build_extra_flags_rpm} %{?_ovirt_build_extra_flags:%{_ovirt_build_extra_flags}}%{?ovirt_build_extra_flags: %{ovirt_build_extra_flags}}
%endif

#
Expand Down

0 comments on commit 7631fc1

Please sign in to comment.