From 11a5a2de5b3ca5db97bd314e7f9658edb4917dab Mon Sep 17 00:00:00 2001 From: Dingli Zhang Date: Wed, 10 Apr 2024 01:34:42 +0000 Subject: [PATCH] Add -Xmx4096m for riscv64 (cherry picked from commit 1a38dec95221f61716f129b903a85641df95e178) --- eclipselink.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/eclipselink.spec b/eclipselink.spec index ad036e6..f831a99 100644 --- a/eclipselink.spec +++ b/eclipselink.spec @@ -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 - 2.6.3-2 +- Add -Xmx4096m for riscv64 + * Tue Aug 4 2020 chengzihan - 2.6.3-1 - Package init