rpms/openmpi/F-11 openmpi.module.in, 1.4, 1.5 openmpi.spec, 1.33, 1.34 sources, 1.8, 1.9

Doug Ledford dledford at fedoraproject.org
Tue Jul 21 15:13:31 UTC 2009


Author: dledford

Update of /cvs/extras/rpms/openmpi/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29136

Modified Files:
	openmpi.module.in openmpi.spec sources 
Log Message:
* Tue Jul 21 2009 Doug Ledford <dledford at redhat.com> - 1.3.3-1
- Make sure all created dirs are owned (bz474677)
- Fix loading of pkgconfig file (bz476844)
- Resolve file conflict between us and libotf (bz496131)
- Resolve dangling symlinks issue (bz496909)
- Resolve unexpanded %{mode} issues (bz496911)
- Restore -devel subpackage (bz499851)
- Make getting the default openmpi devel environment easier (bz504357)
- Make the -devel package pull in the base package (bz459458)
- Make it easier to use alternative compilers to build package (bz246484)



Index: openmpi.module.in
===================================================================
RCS file: /cvs/extras/rpms/openmpi/F-11/openmpi.module.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- openmpi.module.in	22 Apr 2009 15:02:29 -0000	1.4
+++ openmpi.module.in	21 Jul 2009 15:13:00 -0000	1.5
@@ -4,5 +4,5 @@
 # 
 prepend-path 		PATH 		@LIBDIR@/@MPIDIR@/bin
 prepend-path 		LD_LIBRARY_PATH @LIBDIR@/@MPIDIR@/lib
-setenv			CFLAGS		-I at LIBDIR@/@MPIDIR@/include @MODEFLAG@
-setenv			LDFLAGS		-L at LIBDIR@/@MPIDIR@/lib -lmpi
+setenv			CFLAGS		"-I at LIBDIR@/@MPIDIR@/include @MODEFLAG@"
+setenv			LDFLAGS		"-L at LIBDIR@/@MPIDIR@/lib -lmpi"


Index: openmpi.spec
===================================================================
RCS file: /cvs/extras/rpms/openmpi/F-11/openmpi.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- openmpi.spec	22 Apr 2009 21:25:49 -0000	1.33
+++ openmpi.spec	21 Jul 2009 15:13:00 -0000	1.34
@@ -17,8 +17,8 @@
 #define cc_name_suffix -gcc
 
 Name:			openmpi%{?cc_name_suffix}
-Version:		1.3.1
-Release:		2%{?dist}
+Version:		1.3.3
+Release:		1%{?dist}
 Summary:		Open Message Passing Interface
 Group:			Development/Libraries
 License:		BSD
@@ -34,7 +34,7 @@ BuildRequires:		libibverbs-devel, opensm
 #%endif
 Provides:		mpi
 Requires:		environment-modules
-Obsoletes:		openmpi-libs, openmpi-devel
+Obsoletes:		openmpi-libs
 
 %description
 Open MPI is an open source, freely available implementation of both the 
@@ -45,6 +45,15 @@ compliant implementation, Open MPI offer
 software vendors, application developers, and computer science
 researchers. For more information, see http://www.open-mpi.org/ .
 
+%package devel
+Summary:        Development files for openmpi
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}, gcc-gfortran
+Provides:	mpi-devel
+
+%description devel
+Contains development headers and libraries for openmpi
+
 # When dealing with multilib installations, aka the ability to run either
 # i386 or x86_64 binaries on x86_64 machines, we install the native i386
 # openmpi libs/compilers and the native x86_64 libs/compilers.  Obviously,
@@ -60,7 +69,7 @@ researchers. For more information, see h
 # in default arch packages (aka, the x86_64 package).  There are, however,
 # some arches that don't support forcing *any* mode, those we just leave
 # undefined.
-%ifarch i386 ppc sparcv9
+%ifarch %{ix86} ppc sparcv9
 %define mode 32
 %define modeflag -m32
 %endif
@@ -84,7 +93,12 @@ XFLAGS="-fPIC"
 
 ./configure --prefix=%{_libdir}/%{mpidir} --with-libnuma=/usr \
 	--with-openib=/usr --enable-mpirun-prefix-by-default \
-	--mandir=%{_libdir}/%{mpidir}/man \
+	--mandir=%{_libdir}/%{mpidir}/man --enable-mpi-threads \
+	--with-ft=cr --with-valgrind \
+	--with-wrapper-cflags="%{?opt_cflags} %{?modeflag}" \
+	--with-wrapper-cxxflags="%{?opt_cxxflags} %{?modeflag}" \
+	--with-wrapper-fflags="%{?opt_fflags} %{?modeflag}" \
+	--with-wrapper-fcflags="%{?opt_fcflags} %{?modeflag}" \
 	CC=%{opt_cc} CXX=%{opt_cxx} \
 	LDFLAGS='-Wl,-z,noexecstack' \
 	CFLAGS="%{?opt_cflags} $RPM_OPT_FLAGS $XFLAGS" \
@@ -106,38 +120,86 @@ rm -f %{buildroot}%{_libdir}/%{mpidir}/s
 
 # Make the pkgconfig file
 mkdir -p %{buildroot}%{_libdir}/pkgconfig
-sed 's#@NAME@#'%{name}'#g;s#@VERSION@#'%{version}'#g;s#@LIBDIR@#'%{_libdir}'#g;s#@CC@#'%{opt_cc}'#g;s#@MPIDIR@#'%{mpidir}'#g;s#@MODEFLAG@#'%{?modeflag}'#g' < %SOURCE1 > %{buildroot}/%{_libdir}/pkgconfig/%{name}-%{version}-%{opt_cc}.pc
+sed 's#@NAME@#'%{name}'#g;s#@VERSION@#'%{version}'#g;s#@LIBDIR@#'%{_libdir}'#g;s#@CC@#'%{opt_cc}'#g;s#@MPIDIR@#'%{mpidir}'#g;s#@MODEFLAG@#'%{?modeflag}'#g' < %SOURCE1 > %{buildroot}/%{_libdir}/pkgconfig/%{name}%{?cc_name_suffix}.pc
 # Make the environment-modules file
 mkdir -p %{buildroot}%{_datadir}/Modules/modulefiles
-sed 's#@LIBDIR@#'%{_libdir}'#g;s#@MPIDIR@#'%{mpidir}'#g;s#@MODEFLAG@#'%{?modeflag}'#g' < %SOURCE2 > %{buildroot}/%{_datadir}/Modules/modulefiles/%{name}-%{version}-%{opt_cc}-%{_arch}.module
-
-# we need to force the compile mode via the wrapper-data.txt files
-# (except on ia64 where the -m64 flag is not allowed by gcc)
-%ifnarch ia64
-for i in %{buildroot}%{_libdir}/%{mpidir}/share/openmpi/*wrapper-data.txt
-do
-  sed -e 's#compiler_flags=#compiler_flags='%{?modeflag}' #' < $i > $i.out
-  mv $i.out $i
-done
-%endif
+sed 's#@LIBDIR@#'%{_libdir}'#g;s#@MPIDIR@#'%{mpidir}'#g;s#@MODEFLAG@#'%{?modeflag}'#g' < %SOURCE2 > %{buildroot}/%{_datadir}/Modules/modulefiles/%{name}-%{_arch}%{?cc_name_suffix}
 
 %clean
 rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
+%dir %{_libdir}/%{name}
 %dir %{_libdir}/%{mpidir}
 %dir %{_libdir}/%{mpidir}/etc
+%dir %{_libdir}/%{mpidir}/bin
+%dir %{_libdir}/%{mpidir}/lib
+%dir %{_libdir}/%{mpidir}/lib/openmpi
+%dir %{_libdir}/%{mpidir}/man
+%dir %{_libdir}/%{mpidir}/man/man1
+%dir %{_libdir}/%{mpidir}/man/man7
+%dir %{_libdir}/%{mpidir}/share
+%dir %{_libdir}/%{mpidir}/share/openmpi
 %config(noreplace) %{_libdir}/%{mpidir}/etc/*
-%{_libdir}/%{mpidir}/bin
-%{_libdir}/%{mpidir}/include
-%{_libdir}/%{mpidir}/lib
-%{_libdir}/%{mpidir}/man
-%{_libdir}/%{mpidir}/share
-%{_libdir}/pkgconfig/%{name}-%{version}-%{opt_cc}.pc
+%{_libdir}/%{mpidir}/bin/mpi[er]*
+%{_libdir}/%{mpidir}/bin/ompi*
+%{_libdir}/%{mpidir}/bin/opal-*
+%{_libdir}/%{mpidir}/bin/opari
+%{_libdir}/%{mpidir}/bin/orte*
+%{_libdir}/%{mpidir}/bin/otf*
+%{_libdir}/%{mpidir}/lib/openmpi/*
+%{_libdir}/%{mpidir}/lib/*.so.*
+%{_libdir}/%{mpidir}/man/man1/mpi[er]*
+%{_libdir}/%{mpidir}/man/man1/ompi*
+%{_libdir}/%{mpidir}/man/man1/opal-*
+%{_libdir}/%{mpidir}/man/man1/orte*
+%{_libdir}/%{mpidir}/man/man7/ompi*
+%{_libdir}/%{mpidir}/man/man7/orte*
+%{_libdir}/%{mpidir}/share/openmpi/doc
+%{_libdir}/%{mpidir}/share/openmpi/amca-param-sets
+%{_libdir}/%{mpidir}/share/openmpi/help*
+%{_libdir}/%{mpidir}/share/openmpi/mca*
 %{_datadir}/Modules/modulefiles/*
 
+%files devel
+%defattr(-,root,root,-)
+%dir %{_libdir}/%{mpidir}/include
+%dir %{_libdir}/%{mpidir}/man/man3
+%dir %{_libdir}/%{mpidir}/share/vampirtrace
+%{_libdir}/pkgconfig/%{name}%{?cc_name_suffix}.pc
+%{_libdir}/%{mpidir}/bin/mpi[cCf]*
+%{_libdir}/%{mpidir}/bin/vt*
+%{_libdir}/%{mpidir}/bin/opal_*
+%{_libdir}/%{mpidir}/include/*
+%{_libdir}/%{mpidir}/lib/*.so
+%{_libdir}/%{mpidir}/lib/lib*.a
+%{_libdir}/%{mpidir}/lib/mpi.mod
+%{_libdir}/%{mpidir}/man/man1/mpi[cCf]*
+%{_libdir}/%{mpidir}/man/man1/opal_*
+%{_libdir}/%{mpidir}/man/man3/*
+%{_libdir}/%{mpidir}/man/man7/opal*
+%{_libdir}/%{mpidir}/share/openmpi/mpi*
+%{_libdir}/%{mpidir}/share/vampirtrace/*
+
 %changelog
+* Tue Jul 21 2009 Doug Ledford <dledford at redhat.com> - 1.3.3-1
+- Make sure all created dirs are owned (bz474677)
+- Fix loading of pkgconfig file (bz476844)
+- Resolve file conflict between us and libotf (bz496131)
+- Resolve dangling symlinks issue (bz496909)
+- Resolve unexpanded %%{mode} issues (bz496911)
+- Restore -devel subpackage (bz499851)
+- Make getting the default openmpi devel environment easier (bz504357)
+- Make the -devel package pull in the base package (bz459458)
+- Make it easier to use alternative compilers to build package (bz246484)
+
+* Sat Jul 18 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.3.1-4
+- Add Provides: openmpi-devel to fix other package builds in rawhide.
+
+* Fri May 08 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.3.1-3
+- Treat i586 the same way as i386
+
 * Wed Apr 22 2009 Doug Ledford <dledford at redhat.com> - 1.3.1-2
 - fixed broken update
 - Resolves: bz496909, bz496131, bz496911


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/openmpi/F-11/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- sources	14 Apr 2009 20:55:48 -0000	1.8
+++ sources	21 Jul 2009 15:13:00 -0000	1.9
@@ -1 +1 @@
-d759523b0752139872c534714d641d64  openmpi-1.3.1.tar.bz2
+f6cdc9c195daa8571b2e509e952d6755  openmpi-1.3.3.tar.bz2




More information about the fedora-extras-commits mailing list