!22 [sync] PR-21: Add -Xmx4096m for riscv64

From: @openeuler-sync-bot 
Reviewed-by: @luo-haibo 
Signed-off-by: @luo-haibo
This commit is contained in:
openeuler-ci-bot 2024-05-10 17:29:20 +00:00 committed by Gitee
commit f40918a6aa
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%bcond_with bootstrap
Name: gradle
Version: 4.4.1
Release: 3
Release: 4
Summary: Build automation tool
License: ASL 2.0
URL: http://www.gradle.org/
@ -175,6 +175,9 @@ rm -r subprojects/resources-gcs
rm -r subprojects/ide-native
%build
%if "%{_arch}" == "riscv64"
export JAVA_TOOL_OPTIONS="-Xmx4096m"
%endif
export LANG=en_US.UTF8
%if %{with bootstrap}
mkdir -p subprojects/docs/src/main/resources
@ -237,6 +240,9 @@ install -p -m 644 man/gradle.1 %{buildroot}%{_mandir}/man1/gradle.1
%license LICENSE NOTICE
%changelog
* Tue Apr 16 2024 Dingli Zhang <dingli@iscas.ac.cn> - 4.4.1-4
- Add -Xmx4096m for riscv64
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.4.1-3
- DESC: delete -S git from %autosetup, and delete BuildRequires git