Add support for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
13a2a5db12
commit
bb5990b2ee
10
octave.spec
10
octave.spec
@ -37,7 +37,7 @@
|
|||||||
Name: octave
|
Name: octave
|
||||||
Epoch: 6
|
Epoch: 6
|
||||||
Version: 8.4.0
|
Version: 8.4.0
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
Summary: A high-level language for numerical computations
|
Summary: A high-level language for numerical computations
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.octave.org
|
URL: http://www.octave.org
|
||||||
@ -343,7 +343,7 @@ do
|
|||||||
ARCH=\$(uname -m)
|
ARCH=\$(uname -m)
|
||||||
|
|
||||||
case \$ARCH in
|
case \$ARCH in
|
||||||
x86_64 | ia64 | s390x | aarch64 | ppc64 | ppc64le) LIB_DIR=/usr/lib64
|
x86_64 | ia64 | s390x | aarch64 | ppc64 | ppc64le | riscv64) LIB_DIR=/usr/lib64
|
||||||
SECONDARY_LIB_DIR=/usr/lib
|
SECONDARY_LIB_DIR=/usr/lib
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
@ -389,8 +389,9 @@ $Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xorg
|
|||||||
sleep 2
|
sleep 2
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
export FLEXIBLAS=netlib
|
export FLEXIBLAS=netlib
|
||||||
%ifarch ppc64le
|
%ifarch ppc64le riscv64
|
||||||
# liboctave/array/dMatrix.cc-tst segfaults
|
# liboctave/array/dMatrix.cc-tst segfaults
|
||||||
|
# riscv: image/getframe.m ...............................................LLVM ERROR: Relocation type not implemented yet!
|
||||||
make check || :
|
make check || :
|
||||||
%else
|
%else
|
||||||
make check
|
make check
|
||||||
@ -457,6 +458,9 @@ make check
|
|||||||
%{_pkgdocdir}/refcard*.pdf
|
%{_pkgdocdir}/refcard*.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 09 2023 David Abdurachmanov <davidlt@rivosinc.com> - 6:8.4.0-1.0.riscv64
|
||||||
|
- Add support for riscv64
|
||||||
|
|
||||||
* Tue Nov 07 2023 Orion Poplawski <orion@nwra.com> - 6:8.4.0-1
|
* Tue Nov 07 2023 Orion Poplawski <orion@nwra.com> - 6:8.4.0-1
|
||||||
- Update to 8.4.0
|
- Update to 8.4.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user