!14 [sync] PR-11: Add -Xmx4096m for riscv64
From: @openeuler-sync-bot Reviewed-by: @luo-haibo Signed-off-by: @luo-haibo
This commit is contained in:
commit
1adb33946b
@ -3,7 +3,7 @@
|
|||||||
%global pom_url http://repo1.maven.org/maven2/org/hibernate
|
%global pom_url http://repo1.maven.org/maven2/org/hibernate
|
||||||
Name: hibernate4
|
Name: hibernate4
|
||||||
Version: 4.3.11
|
Version: 4.3.11
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Relational persistence and query service
|
Summary: Relational persistence and query service
|
||||||
License: LGPLv2+ and ASL 2.0
|
License: LGPLv2+ and ASL 2.0
|
||||||
URL: http://www.hibernate.org/
|
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
|
%mvn_compat_version : %{namedversion} %{version} 4
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if "%{_arch}" == "riscv64"
|
||||||
|
export JAVA_TOOL_OPTIONS="-Xmx4096m"
|
||||||
|
%endif
|
||||||
%mvn_build -s -f -- -Dproject.build.sourceEncoding=UTF-8
|
%mvn_build -s -f -- -Dproject.build.sourceEncoding=UTF-8
|
||||||
|
|
||||||
%install
|
%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
|
%license lgpl.txt LICENSE-2.0.txt
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 18 2021 wangxiao <wangxiao65@huawei.com> - 4.3.11-3
|
||||||
- Fix CVE-2019-14900
|
- Fix CVE-2019-14900
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user