Avoid java.lang.OutOfMemoryError on RISC-V (riscv64)

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-10-20 09:30:48 +02:00
parent 3b02d97280
commit 361df498b2
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
1 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@
Summary: The Visualization Toolkit - A high level 3D visualization library
Name: vtk
Version: 7.1.1
Release: 12.0.riscv64%{?dist}
Release: 12.1.riscv64%{?dist}
# This is a variant BSD license, a cross between BSD and ZLIB.
# For all intents, it has the same rights and restrictions as BSD.
# http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant
@ -493,7 +493,7 @@ export CFLAGS="%{optflags} -D_UNICODE -DHAVE_UINTPTR_T"
export CXXFLAGS="%{optflags} -D_UNICODE -DHAVE_UINTPTR_T"
%if %{with java}
export JAVA_HOME=/usr/lib/jvm/java
%ifarch %{arm} s390x
%ifarch %{arm} s390x riscv64
# getting "java.lang.OutOfMemoryError: Java heap space" during the build
export JAVA_TOOL_OPTIONS=-Xmx2048m
%endif
@ -954,6 +954,9 @@ cat xorg.log
%changelog
* Mon Oct 08 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 7.1.1-12.1.riscv64
- Avoid java.lang.OutOfMemoryError on RISC-V (riscv64)
* Mon Oct 08 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 7.1.1-12.0.riscv64
- Add support for RISC-V (riscv64)