Bootstrap on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
327d656fb4
commit
7b17945dd2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue