[pkg-boost-commits] r14362 - in boost/trunk/debian: . patches

smr at alioth.debian.org smr at alioth.debian.org
Sat Jan 10 06:54:01 UTC 2009


Author: smr
Date: 2009-01-10 06:54:00 +0000 (Sat, 10 Jan 2009)
New Revision: 14362

Added:
   boost/trunk/debian/patches/mpi-python.patch
Modified:
   boost/trunk/debian/changelog
   boost/trunk/debian/control
   boost/trunk/debian/patches/series
   boost/trunk/debian/rules
Log:
First crack at Boost.MPI; C++ library only, no Python.

Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog	2009-01-10 04:12:07 UTC (rev 14361)
+++ boost/trunk/debian/changelog	2009-01-10 06:54:00 UTC (rev 14362)
@@ -3,8 +3,15 @@
   * patches/function-template.patch: New.  Fix misplaced #ifdef (thanks to
     Caolan McNamara for the patch at
     https://bugzilla.redhat.com/show_bug.cgi?id=477131).  Closes: #511073.
+  
+  * control:
+  * rules: New packages libboost-mpi1.37.0 and libboost-mpi1.37-dev.
+    Closes: #494832, #490242.  Thanks to Tilman Koschnick and Rutger ter
+    Borg for their patches.
+  * patches/mpi-python.patch: The python bindings for Boost.MPI don't
+    build; disable until I understand what's going on.
 
- -- Steve M. Robbins <smr at debian.org>  Fri, 09 Jan 2009 22:04:37 -0600
+ -- Steve M. Robbins <smr at debian.org>  Sat, 10 Jan 2009 00:52:58 -0600
 
 boost1.37 (1.37.0-3) unstable; urgency=low
 

Modified: boost/trunk/debian/control
===================================================================
--- boost/trunk/debian/control	2009-01-10 04:12:07 UTC (rev 14361)
+++ boost/trunk/debian/control	2009-01-10 06:54:00 UTC (rev 14362)
@@ -4,7 +4,7 @@
 Priority: optional
 Maintainer: Debian Boost Team <pkg-boost-devel at lists.alioth.debian.org>
 Uploaders: Steve M. Robbins <smr at debian.org>, Domenico Andreoli <cavok at debian.org>, Christophe Prud'homme <prudhomm at debian.org>
-Build-Depends: debhelper (>= 7), quilt, bison, flex, docbook-to-man, xsltproc, doxygen, zlib1g-dev, libbz2-dev, libicu-dev, python-all-dev, python-support (>= 0.6)
+Build-Depends: debhelper (>= 7), quilt, bison, flex, docbook-to-man, xsltproc, doxygen, zlib1g-dev, libbz2-dev, libicu-dev, python-all-dev, python-support (>= 0.6), mpi-default-dev
 XS-Python-Version: 2.4, 2.5
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-boost/boost/trunk/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-boost/boost/trunk
@@ -204,6 +204,34 @@
   * Implementation Toolkit: Provides many of the tools required to implement 
     mathematical special functions.
 
+Package: libboost-mpi1.37.0
+Homepage: http://www.boost.org/doc/html/mpi.html
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: C++ interface to the Message Passing Interface (MPI) - OpenMPI version
+ Part of the Boost C++ Libraries collection.
+ .
+ The Boost.MPI library provides a C++ interface to MPI that
+ supports modern C++ development styles, including complete support for
+ user-defined data types and C++ Standard Library types, arbitrary function
+ objects for collective algorithms, and the use of modern C++ library
+ techniques to maintain maximal efficiency.
+
+Package: libboost-mpi1.37-dev
+Homepage: http://www.boost.org/doc/html/mpi.html
+Architecture: any
+Section: libdevel
+Depends: libboost1.37-dev (= ${binary:Version}), libboost-serialization1.37-dev (= ${binary:Version}), libboost-mpi1.37.0 (= ${binary:Version}), mpi-default-dev
+Description: C++ interface to the Message Passing Interface (MPI) - OpenMPI version
+ Part of the Boost C++ Libraries collection.
+ .
+ The Boost.MPI library provides a C++ interface to MPI that
+ supports modern C++ development styles, including complete support for
+ user-defined data types and C++ Standard Library types, arbitrary function
+ objects for collective algorithms, and the use of modern C++ library
+ techniques to maintain maximal efficiency.
+
 Package: libboost-program-options1.37.0
 Homepage: http://www.boost.org/libs/program_options/
 Architecture: any

Added: boost/trunk/debian/patches/mpi-python.patch
===================================================================
--- boost/trunk/debian/patches/mpi-python.patch	                        (rev 0)
+++ boost/trunk/debian/patches/mpi-python.patch	2009-01-10 06:54:00 UTC (rev 14362)
@@ -0,0 +1,11 @@
+--- boost1.37-1.37.0.orig/libs/mpi/build/Jamfile.v2
++++ boost1.37-1.37.0/libs/mpi/build/Jamfile.v2
+@@ -55,7 +55,7 @@
+   
+ libraries += boost_mpi ;  
+ 
+-  if [ python.configured ]
++  if [ python.configured ] && false
+   {
+     lib boost_mpi_python
+       : # Sources

Modified: boost/trunk/debian/patches/series
===================================================================
--- boost/trunk/debian/patches/series	2009-01-10 04:12:07 UTC (rev 14361)
+++ boost/trunk/debian/patches/series	2009-01-10 06:54:00 UTC (rev 14362)
@@ -16,3 +16,4 @@
 date_time_date_formatting_hpp.patch
 system-error-code.patch
 add-disable-long-double.patch
+mpi-python.patch

Modified: boost/trunk/debian/rules
===================================================================
--- boost/trunk/debian/rules	2009-01-10 04:12:07 UTC (rev 14361)
+++ boost/trunk/debian/rules	2009-01-10 06:54:00 UTC (rev 14362)
@@ -22,7 +22,7 @@
 boost_version = 1_37
 
 # Boost libraries for which we want separate packages
-boost_libs := date-time filesystem graph iostreams math		       \
+boost_libs := date-time filesystem graph iostreams math mpi	       \
 	program-options python regex serialization signals system test \
 	thread wave
 
@@ -150,6 +150,7 @@
 JAM_OPT += --disable-long-double
 endif
 
+MPI_CONFIG = "using mpi ;"
 PYTHON_CONFIG1 = "using python : 2.4 : /usr ;"
 PYTHON_CONFIG2 = "using python : 2.5 : /usr ;"
 
@@ -169,6 +170,7 @@
 
 user-config.jam:
 	echo $(TOOLSET_CONFIG) > $@
+	echo $(MPI_CONFIG)     >> $@
 	echo $(PYTHON_CONFIG1) >> $@
 	echo $(PYTHON_CONFIG2) >> $@
 
@@ -317,6 +319,15 @@
 	dh_install -plibboost-math$(PKGVERSION)-dev
 	dh_link -plibboost-math$(PKGVERSION)-dev
 
+	# package libboost-mpi$(SOVERSION)
+	dh_install -plibboost-mpi$(SOVERSION)
+	# package libboost-mpi$(PKGVERSION)-dev
+	dh_installdirs -plibboost-mpi$(PKGVERSION)-dev usr/include/boost
+	mv debian/libboost$(PKGVERSION)-dev/usr/include/boost/mpi* \
+	   debian/libboost-mpi$(PKGVERSION)-dev/usr/include/boost
+	dh_install -plibboost-mpi$(PKGVERSION)-dev
+	dh_link -plibboost-mpi$(PKGVERSION)-dev
+
 	# package libboost-program-options$(SOVERSION)
 	dh_install -plibboost-program-options$(SOVERSION)
 	# package libboost-program-options$(PKGVERSION)-dev




More information about the pkg-boost-commits mailing list