Add -Xmx4096m for riscv64

(cherry picked from commit 84d5b73b796c9411324b3c1898e918cb35f3393c)
This commit is contained in:
Dingli Zhang 2024-04-15 13:55:26 +08:00 committed by openeuler-sync-bot
parent 5556a2406d
commit 8e4eefc5e7

View File

@ -3,7 +3,7 @@
%global pom_url http://repo1.maven.org/maven2/org/hibernate
Name: hibernate4
Version: 4.3.11
Release: 3
Release: 4
Summary: Relational persistence and query service
License: LGPLv2+ and ASL 2.0
URL: http://www.hibernate.org/
@ -342,6 +342,9 @@ sed -i.jandex1.2.2 "s|classDotName, superName, access_flag, interfaces, map|clas
%mvn_compat_version : %{namedversion} %{version} 4
%build
%if "%{_arch}" == "riscv64"
export JAVA_TOOL_OPTIONS="-Xmx4096m"
%endif
%mvn_build -s -f -- -Dproject.build.sourceEncoding=UTF-8
%install
@ -376,6 +379,9 @@ sed -i.jandex1.2.2 "s|classDotName, superName, access_flag, interfaces, map|clas
%license lgpl.txt LICENSE-2.0.txt
%changelog
* Wed Apr 10 2024 Dingli Zhang <dingli@iscas.ac.cn> - 4.3.11-4
- Add -Xmx4096m for riscv64
* Thu Mar 18 2021 wangxiao <wangxiao65@huawei.com> - 4.3.11-3
- Fix CVE-2019-14900