Boost logo

Boost-Build :

Subject: Re: [Boost-build] Is it possible to suppress warnings from a Jamfile
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2008-09-10 18:00:59


Mat Marcus wrote:
> I maintain a library that uses boost. I would like my clients to be
> able to build my library with boost build without seeing the python
> and mpi warnings. It would be best if they could simply type
>
> bjam
>
> instead of
>
> bjam --without-mpi
>
> Is there a way that I can put something in my top level Jamfile to
> avoid the warnings?

At worse...

import modules ;
modules.poke : ARGV : [ modules.peek : ARGV ] --without-mpi ;

Might work. But only if it's before whatever it is that causes the
reference to MPI.

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org (msn) - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk