[elpa] aarch64/ppc64le don't have prelink
Peter Robinson
pbrobinson at fedoraproject.org
Thu Jul 3 12:45:50 UTC 2014
commit 6f4ec8a0a48750f76c7ca09763a46c18b7b41881
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Thu Jul 3 13:45:55 2014 +0100
aarch64/ppc64le don't have prelink
elpa.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
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 <pbrobinson at fedoraproject.org> 2013.11-4.008
+- aarch64/ppc64le don't have prelink
+
* Sun Jun 29 2014 Dominik Mierzejewski <rpm at greysector.net> 2013.11-3.008
- fix typo in execstack -c call
- link against atlas
More information about the scm-commits
mailing list