Add -Xmx4096m for riscv64

(cherry picked from commit 1a38dec95221f61716f129b903a85641df95e178)
This commit is contained in:
Dingli Zhang 2024-04-10 01:34:42 +00:00 committed by openeuler-sync-bot
parent f2a46b9e3e
commit 11a5a2de5b

View File

@ -10,7 +10,7 @@
%global sdo org.eclipse.persistence.sdo
Name: eclipselink
Version: 2.6.3
Release: 1
Release: 2
Summary: Eclipse Persistence Services Project
License: EPL and BSD
Url: http://www.eclipse.org/eclipselink/
@ -89,6 +89,9 @@ for s in org/eclipse/persistence/internal/jpa/transaction/JTATransactionWrapper.
done
%build
%if "%{_arch}" == "riscv64"
export JAVA_TOOL_OPTIONS="-Xmx4096m"
%endif
(
cd org/eclipse/persistence/internal/oxm/record/json/
antlr3 JSON.g
@ -120,5 +123,8 @@ ant
%license license.html
%changelog
* Wed Apr 10 2024 Dingli Zhang <dingli@iscas.ac.cn> - 2.6.3-2
- Add -Xmx4096m for riscv64
* Tue Aug 4 2020 chengzihan <chengzihan2@huawei.com> - 2.6.3-1
- Package init