Update rpm macros to use the new module location
This commit is contained in:
parent
325b7b6e36
commit
bf0167cddb
@ -1,7 +1,7 @@
|
|||||||
%_openmpi_load \
|
%_openmpi_load \
|
||||||
. /etc/profile.d/modules.sh; \
|
. /etc/profile.d/modules.sh; \
|
||||||
module load openmpi-%{_arch}; \
|
module load mpi/openmpi-%{_arch}; \
|
||||||
export CFLAGS="$CFLAGS %{optflags}";
|
export CFLAGS="$CFLAGS %{optflags}";
|
||||||
%_openmpi_unload \
|
%_openmpi_unload \
|
||||||
. /etc/profile.d/modules.sh; \
|
. /etc/profile.d/modules.sh; \
|
||||||
module unload openmpi-%{_arch};
|
module unload mpi/openmpi-%{_arch};
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
Name: openmpi%{?_cc_name_suffix}
|
Name: openmpi%{?_cc_name_suffix}
|
||||||
Version: 1.6.3
|
Version: 1.6.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Open Message Passing Interface
|
Summary: Open Message Passing Interface
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: BSD, MIT and Romio
|
License: BSD, MIT and Romio
|
||||||
@ -225,6 +225,9 @@ sed -i -e s/-ldl// -e s/-lhwloc// \
|
|||||||
%{_sysconfdir}/rpm/macros.%{namearch}
|
%{_sysconfdir}/rpm/macros.%{namearch}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 1 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.3-2
|
||||||
|
- Update rpm macros to use the new module location
|
||||||
|
|
||||||
* Wed Oct 31 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.3-1
|
* Wed Oct 31 2012 Orion Poplawski <orion@cora.nwra.com> 1.6.3-1
|
||||||
- Update to 1.6.3
|
- Update to 1.6.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user