From cf33281c8c677750599aeab9deb6bcc4d09711b5 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 20 Mar 2023 12:24:41 +0200 Subject: [PATCH] Add support for riscv64 Signed-off-by: David Abdurachmanov --- octave.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/octave.spec b/octave.spec index 0119d9d..452cb6d 100644 --- a/octave.spec +++ b/octave.spec @@ -43,7 +43,7 @@ Name: octave Epoch: 6 Version: 7.3.0 -Release: 3%{?dist} +Release: 3.0.riscv64%{?dist} Summary: A high-level language for numerical computations License: GPLv3+ URL: http://www.octave.org @@ -350,7 +350,7 @@ do ARCH=\$(uname -m) 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 ;; * ) @@ -396,8 +396,9 @@ $Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xorg sleep 2 export DISPLAY=:99 export FLEXIBLAS=netlib -%ifarch ppc64le +%ifarch ppc64le riscv64 # liboctave/array/dMatrix.cc-tst segfaults +# riscv: image/getframe.m ...............................................LLVM ERROR: Relocation type not implemented yet! make check || : %else make check @@ -464,6 +465,9 @@ make check %{_pkgdocdir}/refcard*.pdf %changelog +* Mon Mar 20 2023 David Abdurachmanov - 6:7.3.0-3.0.riscv64 +- Add support for riscv64 + * Sun Feb 26 2023 Orion Poplawski - 6:7.3.0-3 - Disable building docs due to texinfo 7 incompatibility