aarch64/ppc64le don't have prelink
This commit is contained in:
parent
61aead22b4
commit
6f4ec8a0a4
@ -4,7 +4,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: 2013.11
|
Version: 2013.11
|
||||||
Release: 3.%{rel}%{?dist}
|
Release: 4.%{rel}%{?dist}
|
||||||
URL: http://elpa.rzg.mpg.de/
|
URL: http://elpa.rzg.mpg.de/
|
||||||
# http://elpa.rzg.mpg.de/elpa-tar-archive/elpa-2013-11.006/at_download/file
|
# http://elpa.rzg.mpg.de/elpa-tar-archive/elpa-2013-11.006/at_download/file
|
||||||
Source0: ELPA_%{version}.%{rel}_%{snap}.tar.gz
|
Source0: ELPA_%{version}.%{rel}_%{snap}.tar.gz
|
||||||
@ -18,7 +18,9 @@ License: LGPLv3+
|
|||||||
BuildRequires: atlas-devel
|
BuildRequires: atlas-devel
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
%ifnarch aarch64 ppc64le
|
||||||
BuildRequires: prelink
|
BuildRequires: prelink
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ELPA is a Fortran-based high-performance computational library for the
|
ELPA is a Fortran-based high-performance computational library for the
|
||||||
@ -181,7 +183,9 @@ for s in '' _mt ; do
|
|||||||
for mpi in mpich openmpi ; do
|
for mpi in mpich openmpi ; do
|
||||||
pushd ${s:-.}/${mpi}
|
pushd ${s:-.}/${mpi}
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
|
%ifnarch aarch64 ppc64le
|
||||||
execstack -c .libs/libelpa${s}.so.0.* %{buildroot}%{_libdir}/${mpi}%{?_opt_cc_suffix}/lib/libelpa${s}.so.0.*
|
execstack -c .libs/libelpa${s}.so.0.* %{buildroot}%{_libdir}/${mpi}%{?_opt_cc_suffix}/lib/libelpa${s}.so.0.*
|
||||||
|
%endif
|
||||||
mkdir -p %{buildroot}%{_fmoddir}/${mpi}%{?_opt_cc_suffix}
|
mkdir -p %{buildroot}%{_fmoddir}/${mpi}%{?_opt_cc_suffix}
|
||||||
mv %{buildroot}%{_includedir}/elpa/modules/elpa1.mod %{buildroot}%{_fmoddir}/${mpi}%{?_cc_name_suffix}/elpa1${s}.mod
|
mv %{buildroot}%{_includedir}/elpa/modules/elpa1.mod %{buildroot}%{_fmoddir}/${mpi}%{?_cc_name_suffix}/elpa1${s}.mod
|
||||||
mv %{buildroot}%{_includedir}/elpa/modules/elpa2.mod %{buildroot}%{_fmoddir}/${mpi}%{?_cc_name_suffix}/elpa2${s}.mod
|
mv %{buildroot}%{_includedir}/elpa/modules/elpa2.mod %{buildroot}%{_fmoddir}/${mpi}%{?_cc_name_suffix}/elpa2${s}.mod
|
||||||
@ -254,6 +258,9 @@ popd
|
|||||||
%exclude %{_fmoddir}/openmpi%{?_cc_name_suffix}/elpa2_mt.mod
|
%exclude %{_fmoddir}/openmpi%{?_cc_name_suffix}/elpa2_mt.mod
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2013.11-4.008
|
||||||
|
- aarch64/ppc64le don't have prelink
|
||||||
|
|
||||||
* Sun Jun 29 2014 Dominik Mierzejewski <rpm@greysector.net> 2013.11-3.008
|
* Sun Jun 29 2014 Dominik Mierzejewski <rpm@greysector.net> 2013.11-3.008
|
||||||
- fix typo in execstack -c call
|
- fix typo in execstack -c call
|
||||||
- link against atlas
|
- link against atlas
|
||||||
|
Loading…
Reference in New Issue
Block a user