Compare commits
1 Commits
master
...
master-ris
Author | SHA1 | Date | |
---|---|---|---|
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}
|
%ifnarch %{openblas_arches}
|
||||||
# matches openblas/scalapack ExclusiveArch
|
# matches openblas/scalapack ExclusiveArch
|
||||||
%global with_atlas 1
|
%global with_atlas 1
|
||||||
@ -15,7 +15,7 @@
|
|||||||
Summary: High-performance library for parallel solution of eigenvalue problems
|
Summary: High-performance library for parallel solution of eigenvalue problems
|
||||||
Name: elpa
|
Name: elpa
|
||||||
Version: 2017.05.003
|
Version: 2017.05.003
|
||||||
Release: 3%{?dist}
|
Release: 3.0.riscv64%{?dist}
|
||||||
URL: https://elpa.mpcdf.mpg.de/software
|
URL: https://elpa.mpcdf.mpg.de/software
|
||||||
Source0: https://elpa.mpcdf.mpg.de/html/Releases/%{version}/elpa-%{version}.tar.gz
|
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
|
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: gcc-gfortran
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
%ifnarch riscv64
|
||||||
BuildRequires: /usr/bin/execstack
|
BuildRequires: /usr/bin/execstack
|
||||||
|
%endif
|
||||||
%if %{with papi}
|
%if %{with papi}
|
||||||
BuildRequires: papi-devel
|
BuildRequires: papi-devel
|
||||||
%endif
|
%endif
|
||||||
@ -232,7 +234,9 @@ for s in '' _openmp ; do
|
|||||||
libdir=%{_libdir}
|
libdir=%{_libdir}
|
||||||
fmoddir=%{_fmoddir}
|
fmoddir=%{_fmoddir}
|
||||||
fi
|
fi
|
||||||
|
%ifnarch riscv64
|
||||||
execstack -c .libs/libelpa${s}.so.%{sover}.* %{buildroot}${libdir}/libelpa${s}.so.%{sover}.*
|
execstack -c .libs/libelpa${s}.so.%{sover}.* %{buildroot}${libdir}/libelpa${s}.so.%{sover}.*
|
||||||
|
%endif
|
||||||
mkdir -p %{buildroot}${fmoddir}
|
mkdir -p %{buildroot}${fmoddir}
|
||||||
for f in $(ls -1 %{buildroot}%{_includedir}/elpa${s}-%{version}/modules/*.mod) ; do
|
for f in $(ls -1 %{buildroot}%{_includedir}/elpa${s}-%{version}/modules/*.mod) ; do
|
||||||
m=$(basename ${f} .mod)
|
m=$(basename ${f} .mod)
|
||||||
@ -348,6 +352,9 @@ done
|
|||||||
%{_fmoddir}/openmpi*/*.mod
|
%{_fmoddir}/openmpi*/*.mod
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.05.003-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user