From 3fce78f382cd6d028739c18e62f6a141098b2e24 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Thu, 13 Oct 2022 06:17:53 +0300 Subject: [PATCH] Adjust 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 dee7365..a51b0d5 100644 --- a/octave.spec +++ b/octave.spec @@ -37,7 +37,7 @@ Name: octave Epoch: 6 Version: 7.2.0 -Release: 1%{?dist} +Release: 1.0.riscv64%{?dist} Summary: A high-level language for numerical computations License: GPLv3+ URL: http://www.octave.org @@ -331,7 +331,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 ;; * ) @@ -377,8 +377,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 @@ -445,6 +446,9 @@ make check %{_pkgdocdir}/refcard*.pdf %changelog +* Thu Oct 13 2022 David Abdurachmanov - 6:7.2.0-1.0.risv64 +- Adjust for riscv64 + * Tue Aug 02 2022 Orion Poplawski - 6:7.2.0-1 - Update to 7.2.0