Re: [Boost-bugs] [Boost C++ Libraries] #2013: Support for homogeneous MPI builds in BBv2

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2013: Support for homogeneous MPI builds in BBv2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-12-16 16:43:36


#2013: Support for homogeneous MPI builds in BBv2
-------------------------------+--------------------------------------------
  Reporter: dgregor | Owner: dgregor
      Type: Feature Requests | Status: new
 Milestone: Boost 1.36.0 | Component: mpi
   Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by hicham@…):

 I have attempted to build boost.mpi against openmpi 1.4.3 on win32/64

 the mpi.jam contains the following unix shell-specific code bit:

 # Determine if it is safe to execute the given shell command by trying
 # to execute it and determining whether the exit code is zero or
 # not. Returns true for an exit code of zero, false otherwise.
 local rule safe-shell-command ( cmdline )
 {
   local result = [ SHELL "$(cmdline) > /dev/null 2>/dev/null; if [ "$?"
 -eq "0" ]; then echo SSCOK; fi" ] ;
   return [ MATCH ".*(SSCOK).*" : $(result) ] ;
 }

 this doesn't work on windows and is the reason of bjam failing. I don't
 have a patch as I'm not conversant in windows cmd.exe either.

 a fix would be appreciated, rds,

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2013#comment:3>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC