Add parameter to avoid oom exceptions for riscv64

This commit is contained in:
Dingli Zhang 2024-05-07 10:56:59 +08:00
parent 8690a280e9
commit 0b7d7c78be

View File

@ -6,7 +6,7 @@
Name: accumulo
Version: 2.0.1
Release: 2
Release: 3
Summary: A software platform for processing vast amounts of data
License: Apache-2.0 and BSD
Group: Development/Libraries
@ -65,6 +65,9 @@ find -name "*.cmd" -delete
# especially in the start jar. These should be enabled when possible.
# ITs are skipped, because they time out frequently and take too many resources
# to run reliably. Failures do not reliably indicate meaningful issues.
%ifarch riscv64
export JAVA_TOOL_OPTIONS="-Xmx4096m"
%endif
mvn package -DforkCount=1C -DskipTests -DskipITs -Dtaro
%install
@ -236,6 +239,9 @@ if [ -z ${hadoop_info} ];then
fi
%changelog
* Tue May 07 2024 Dingli Zhang <dingli@iscas.ac.cn> - 2.0.1-3
- Add parameter to avoid oom exceptions for riscv64
* Fri Oct 08 2021 lingsheng <lingsheng@huawei.com> - 2.0.1-2
- Remove useless accumulo-jar and fix accumulo-classpath output