Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 912427 Details for
Bug 1113610
rpm build fails if the macro mpi_list in the spec file is emtpy
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
avoid build steps of mpi subpackages if not requested
hdf5-nompi.patch (text/plain), 1.39 KB, created by
markus hetzenecker
on 2014-06-26 13:56:09 UTC
(
hide
)
Description:
avoid build steps of mpi subpackages if not requested
Filename:
MIME Type:
Creator:
markus hetzenecker
Created:
2014-06-26 13:56:09 UTC
Size:
1.39 KB
patch
obsolete
>--- /root/rpmbuild/SPECS/hdf5.spec.bak 2014-06-26 14:21:45.647785526 +0200 >+++ /root/rpmbuild/SPECS/hdf5.spec 2014-06-26 15:51:07.960958634 +0200 >@@ -21,8 +21,8 @@ > # Needed for mpi tests > BuildRequires: openssh-clients > >-%global with_mpich 1 >-%global with_openmpi 1 >+%global with_mpich 0 >+%global with_openmpi 0 > %if 0%{?rhel} > %ifarch ppc64 > # No mpich2 on ppc64 in EL >@@ -149,7 +149,6 @@ > #This should be fixed in 1.8.7 > find \( -name '*.[ch]*' -o -name '*.f90' -o -name '*.txt' \) -exec chmod -x {} + > >- > %build > #Do out of tree builds > %global _configure ../configure >@@ -179,6 +178,7 @@ > make > popd > >+%if 0%{?mpi_list} > #MPI builds > export CC=mpicc > export CXX=mpicxx >@@ -202,11 +202,13 @@ > module purge > popd > done >+%endif > > > %install > make -C build install DESTDIR=${RPM_BUILD_ROOT} > rm $RPM_BUILD_ROOT/%{_libdir}/*.la >+%if 0%{?mpi_list} > for mpi in %{mpi_list} > do > module load mpi/$mpi-%{_arch} >@@ -214,6 +216,7 @@ > rm $RPM_BUILD_ROOT/%{_libdir}/$mpi/lib/*.la > module purge > done >+%endif > #Fortran modules > mkdir -p ${RPM_BUILD_ROOT}%{_fmoddir} > mv ${RPM_BUILD_ROOT}%{_includedir}/*.mod ${RPM_BUILD_ROOT}%{_fmoddir} >@@ -266,6 +269,7 @@ > # they are passed when run manually in mock > %ifnarch s390 s390x > export HDF5_Make_Ignore=yes >+%if 0%{?mpi_list} > for mpi in %{mpi_list} > do > module load mpi/$mpi-%{_arch} >@@ -273,6 +277,7 @@ > module purge > done > %endif >+%endif > > > %post -p /sbin/ldconfig
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1113610
: 912427