Do not set CFLAGS in %_openmpi_load

This commit is contained in:
Orion Poplawski 2015-10-06 17:48:42 -06:00
parent f141dd6456
commit 5d4850d84c
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,6 @@
%_openmpi_load \
. /etc/profile.d/modules.sh; \
module load mpi/openmpi-%{_arch}; \
export CFLAGS="$CFLAGS %{optflags}";
module load mpi/openmpi-%{_arch};
%_openmpi_unload \
. /etc/profile.d/modules.sh; \
module unload mpi/openmpi-%{_arch};

View File

@ -22,7 +22,7 @@
Name: openmpi%{?_cc_name_suffix}
Version: 1.10.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Open Message Passing Interface
Group: Development/Libraries
License: BSD, MIT and Romio
@ -270,6 +270,9 @@ make check
%changelog
* Tue Oct 6 2015 Orion Poplawski <orion@cora.nwra.com> - 1.10.0-3
- Do not set CFLAGS in %%_openmpi_load
* Wed Sep 16 2015 Orion Poplawski <orion@cora.nwra.com> - 1.10.0-2
- Add patch to add needed opal/util/argv.h includes