!29 [sync] PR-28: riscv64: 修复无效的补丁
From: @openeuler-sync-bot Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
1a3493898a
@ -1,7 +1,7 @@
|
|||||||
%global reldate 20170915
|
%global reldate 20170915
|
||||||
Name: apache-poi
|
Name: apache-poi
|
||||||
Version: 3.17
|
Version: 3.17
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: The Java API for Microsoft Documents
|
Summary: The Java API for Microsoft Documents
|
||||||
License: Apache-2.0 and GPL-3.0-only
|
License: Apache-2.0 and GPL-3.0-only
|
||||||
URL: http://poi.apache.org/
|
URL: http://poi.apache.org/
|
||||||
@ -100,7 +100,7 @@ sed -i '$d' src/ooxml/testcases/org/apache/poi/TestPOIXMLDocument.java
|
|||||||
%build
|
%build
|
||||||
%if "%{_arch}" == "riscv64"
|
%if "%{_arch}" == "riscv64"
|
||||||
sed -i -E 's/timeout=60000/timeout=500000/' src/ooxml/testcases/org/apache/poi/xssf/extractor/TestXSSFImportFromXML.java
|
sed -i -E 's/timeout=60000/timeout=500000/' src/ooxml/testcases/org/apache/poi/xssf/extractor/TestXSSFImportFromXML.java
|
||||||
export JAVA_TOOL_OPTIONS="-Xmx4096m"
|
sed -i -e s/-Xmx512m/-Xmx1024m/ build.xml
|
||||||
%endif
|
%endif
|
||||||
cat > build.properties <<'EOF'
|
cat > build.properties <<'EOF'
|
||||||
main.ant.jar=lib/ant.jar
|
main.ant.jar=lib/ant.jar
|
||||||
@ -140,6 +140,9 @@ done
|
|||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 3 2024 laokz <zhangkai@iscas.ac.cn> - 3.17-6
|
||||||
|
- riscv64: fix OOM build failure
|
||||||
|
|
||||||
* Wed Mar 6 2024 zke_012020 <keer.oerv@isrc.iscas.ac.cn> - 3.17-5
|
* Wed Mar 6 2024 zke_012020 <keer.oerv@isrc.iscas.ac.cn> - 3.17-5
|
||||||
- Update spec for RISCV64
|
- Update spec for RISCV64
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user