!4 [sync] PR-3: 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:22:45 +00:00 committed by Gitee
commit b28ca03f12
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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