Add -Xmx4096m for riscv64

(cherry picked from commit 340d664f40c7ae2d1740c66b5f260afac0ce3dfd)
This commit is contained in:
Dingli Zhang 2024-04-15 13:39:08 +08:00 committed by openeuler-sync-bot
parent 07d967c921
commit 9241cccf0a

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