Avoid java.lang.OutOfMemoryError on RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
3b02d97280
commit
361df498b2
7
vtk.spec
7
vtk.spec
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue