Bootstrap on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-12-01 18:23:13 +02:00
parent 327d656fb4
commit 7b17945dd2
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 8 additions and 1 deletions

View File

@ -39,7 +39,11 @@
%global with_sercheck 1
## PETSc ##
%ifnarch riscv64
%global with_petsc 1
%else
%global with_petsc 0
%endif
###########
## SuperLUMT ##
@ -96,7 +100,7 @@
Summary: Suite of nonlinear solvers
Name: sundials
Version: 6.6.2
Release: %autorelease
Release: %autorelease -e 0.riscv64
# SUNDIALS is licensed under BSD with some additional (but unrestrictive) clauses.
# Check the file 'LICENSE' for details.
License: BSD
@ -675,6 +679,7 @@ rm -f %{buildroot}%{_includedir}/sundials/LICENSE
rm -f %{buildroot}%{_includedir}/sundials/NOTICE
%check
%ifnarch riscv64
%if 0%{?with_openmpi}
%if 0%{?with_openmpicheck}
%{_openmpi_load}
@ -722,6 +727,8 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:%{_libdir}
%endif
%endif
## if with_sercheck
%endif
## ifnarch riscv64
%files
%license sundials-%{version}/LICENSE