!10 Add parameter to avoid oom exceptions for riscv64
From: @DingliZhang Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
215f94e142
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user