!50 [sync] PR-49: Add -Xmx4096m for riscv64

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2024-04-28 01:31:49 +00:00 committed by Gitee
commit 20a23391cf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: springframework
Version: 3.2.18
Release: 13
Release: 14
Summary: The Spring Java Application Framework
License: ASL 2.0
URL: http://projects.spring.io/spring-framework/
@ -318,6 +318,9 @@ done
%mvn_package :spring-project __noinstall
%build
%if "%{_arch}" == "riscv64"
export JAVA_TOOL_OPTIONS="-Xmx4096m"
%endif
%mvn_build -X -f -s -- -Dproject.build.sourceEncoding=ISO-8859-1 -Dmaven.test.skip=true
%install
@ -356,6 +359,9 @@ done
%files web -f .mfiles-spring-web
%changelog
* Thu Apr 11 2024 Dingli Zhang <dingli@iscas.ac.cn> - 3.2.18-14
- Add -Xmx4096m for riscv64
* Thu Jan 04 2024 xu_ping <707078654@qq.com> - 3.2.18-13
- remove unuse code