!30 [sync] PR-29: 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:25:51 +00:00 committed by Gitee
commit 51d522214e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -5,7 +5,7 @@
Name: hibernate
Summary: an easy-to-use and powerful object relational persistence framework for Java applications
Version: 5.0.10
Release: 9
Release: 10
License: LGPLv2+ and ASL 2.0
URL: http://www.hibernate.org/
@ -151,6 +151,9 @@ done
%pom_disable_module hibernate-spatial
%build
%if "%{_arch}" == "riscv64"
export JAVA_TOOL_OPTIONS="-Xmx4096m"
%endif
%mvn_build -s -f -- -Dproject.build.sourceEncoding=UTF-8
%install
@ -164,6 +167,9 @@ done
%doc hibernate-osgi/README.md
%changelog
* Wed Apr 10 2024 Dingli Zhang <dingli@iscas.ac.cn> - 5.0.10-10
- Add -Xmx4096m for riscv64
* Wed Nov 9 2022 liyanan <liyanan32@h-partners.com> - 5.0.10-9
- Change source