Add support for RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
0c90b56512
commit
8cd7f5b383
11
elpa.spec
11
elpa.spec
@ -1,4 +1,4 @@
|
||||
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64 s390x}
|
||||
%{!?openblas_arches:%global openblas_arches x86_64 %{ix86} armv7hl %{power64} aarch64 s390x riscv64}
|
||||
%ifnarch %{openblas_arches}
|
||||
# matches openblas/scalapack ExclusiveArch
|
||||
%global with_atlas 1
|
||||
@ -15,7 +15,7 @@
|
||||
Summary: High-performance library for parallel solution of eigenvalue problems
|
||||
Name: elpa
|
||||
Version: 2017.05.003
|
||||
Release: 3%{?dist}
|
||||
Release: 3.0.riscv64%{?dist}
|
||||
URL: https://elpa.mpcdf.mpg.de/software
|
||||
Source0: https://elpa.mpcdf.mpg.de/html/Releases/%{version}/elpa-%{version}.tar.gz
|
||||
Source1: https://elpa.mpcdf.mpg.de/html/Releases/%{version}/elpa-%{version}.tar.gz.asc
|
||||
@ -35,7 +35,9 @@ BuildRequires: openblas-devel
|
||||
BuildRequires: gcc-gfortran
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: libtool
|
||||
%ifnarch riscv64
|
||||
BuildRequires: /usr/bin/execstack
|
||||
%endif
|
||||
%if %{with papi}
|
||||
BuildRequires: papi-devel
|
||||
%endif
|
||||
@ -232,7 +234,9 @@ for s in '' _openmp ; do
|
||||
libdir=%{_libdir}
|
||||
fmoddir=%{_fmoddir}
|
||||
fi
|
||||
%ifnarch riscv64
|
||||
execstack -c .libs/libelpa${s}.so.%{sover}.* %{buildroot}${libdir}/libelpa${s}.so.%{sover}.*
|
||||
%endif
|
||||
mkdir -p %{buildroot}${fmoddir}
|
||||
for f in $(ls -1 %{buildroot}%{_includedir}/elpa${s}-%{version}/modules/*.mod) ; do
|
||||
m=$(basename ${f} .mod)
|
||||
@ -348,6 +352,9 @@ done
|
||||
%{_fmoddir}/openmpi*/*.mod
|
||||
|
||||
%changelog
|
||||
* Mon Aug 27 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2017.05.003-3.0.riscv64
|
||||
- Add support for RISC-V (riscv64)
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.05.003-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user