diff --git a/elpa.spec b/elpa.spec index e3be2a8..1f7ad29 100644 --- a/elpa.spec +++ b/elpa.spec @@ -4,7 +4,7 @@ Summary: High-performance library for parallel solution of eigenvalue problems Name: elpa Version: 2013.11 -Release: 3.%{rel}%{?dist} +Release: 4.%{rel}%{?dist} URL: http://elpa.rzg.mpg.de/ # http://elpa.rzg.mpg.de/elpa-tar-archive/elpa-2013-11.006/at_download/file Source0: ELPA_%{version}.%{rel}_%{snap}.tar.gz @@ -18,7 +18,9 @@ License: LGPLv3+ BuildRequires: atlas-devel BuildRequires: gcc-gfortran BuildRequires: libtool +%ifnarch aarch64 ppc64le BuildRequires: prelink +%endif %description 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 pushd ${s:-.}/${mpi} 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.* + %endif 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/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 %changelog +* Thu Jul 3 2014 Peter Robinson 2013.11-4.008 +- aarch64/ppc64le don't have prelink + * Sun Jun 29 2014 Dominik Mierzejewski 2013.11-3.008 - fix typo in execstack -c call - link against atlas