!21 [sync] PR-20: fix Out of Memory bug on RISCV
From: @openeuler-sync-bot Reviewed-by: @DingliZhang Signed-off-by: @DingliZhang
This commit is contained in:
commit
8bb3f00b5c
@ -1,6 +1,6 @@
|
||||
Name: mxparser
|
||||
Version: 1.2.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: xpp
|
||||
Summary: MXParser is a fork of xpp3_min 1.1.7 containing only the parser with merged changes of the Plexus fork.
|
||||
URL: https://github.com/x-stream/%{name}
|
||||
@ -33,6 +33,11 @@ Help documents for mxparser.
|
||||
%pom_xpath_set 'pom:project/pom:properties/pom:version.java.test.target' 1.8
|
||||
|
||||
%build
|
||||
|
||||
%if "%_arch" == "riscv64"
|
||||
export JAVA_TOOL_OPTIONS="-Xmx4g"
|
||||
%endif
|
||||
|
||||
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8
|
||||
|
||||
%install
|
||||
@ -45,6 +50,9 @@ Help documents for mxparser.
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Mon Apr 28 2025 lizijian <zijian.oerv@isrc.iscas.ac.cn> - 1.2.2-2
|
||||
- Enlarge heap size to pass test on RISCV architecture
|
||||
|
||||
* Wed Aug 21 2024 yaoxin <yao_xin001@hoperun.com> - 1.2.2-1
|
||||
- Update to 1.2.2:
|
||||
* XML declaration must produce a START_DOCUMENT event.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user