[63530] trunk/dports/devel/boost

nox at macports.org nox at macports.org
Sun Feb 7 07:57:09 PST 2010


Revision: 63530
          http://trac.macports.org/changeset/63530
Author:   nox at macports.org
Date:     2010-02-07 07:57:05 -0800 (Sun, 07 Feb 2010)
Log Message:
-----------
Fix boost parallel building and its MPI/Python patch (#23531, #23577)

Modified Paths:
--------------
    trunk/dports/devel/boost/Portfile
    trunk/dports/devel/boost/files/patch-libs-mpi-build-Jamfile.v2.diff

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2010-02-07 08:54:48 UTC (rev 63529)
+++ trunk/dports/devel/boost/Portfile	2010-02-07 15:57:05 UTC (rev 63530)
@@ -64,17 +64,6 @@
 
 use_parallel_build  no
 
-pre-build {
-    set jobs ${build.jobs}
-    # if set to '0', use the number of cores for the number of jobs
-    if {${jobs} == 0} {
-        set jobs [exec /usr/sbin/sysctl -n hw.availcpu]
-    }
-    if {[string is integer -strict ${jobs}] && ${jobs} > 1} {
-        build.pre_args-append   -j${jobs}
-    }
-}
-
 destroot.cmd        bjam
 destroot.destdir    --prefix=${destroot}${prefix}
 

Modified: trunk/dports/devel/boost/files/patch-libs-mpi-build-Jamfile.v2.diff
===================================================================
--- trunk/dports/devel/boost/files/patch-libs-mpi-build-Jamfile.v2.diff	2010-02-07 08:54:48 UTC (rev 63529)
+++ trunk/dports/devel/boost/files/patch-libs-mpi-build-Jamfile.v2.diff	2010-02-07 15:57:05 UTC (rev 63530)
@@ -1,9 +1,9 @@
 --- libs/mpi/build/Jamfile.v2.orig	2009-06-11 01:57:28.000000000 +0200
 +++ libs/mpi/build/Jamfile.v2	2009-06-11 01:57:28.000000000 +0200
 @@ -99,6 +99,7 @@
+         <link>shared:<define>BOOST_MPI_PYTHON_DYN_LINK=1        
          <link>shared:<define>BOOST_PYTHON_DYN_LINK=1    
          <link>shared 
-         <variant>release   
 +	<threading>multi
        ;
    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100207/95bd70eb/attachment.html>


More information about the macports-changes mailing list