Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-21 02:40:12


On Monday 20 February 2006 22:23, David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> > Dave, can you run Python tests with V2 and look into any issues that
> > surface? I expect that you'll do this much faster than Alexey and I
> > sending results and patches back and forth?
>
> OK, you failed to account for the use of the py-unit-test template,
> and I don't know what the equivalent construction would be under v2,
> so I am a little bit stuck.

You mean this part of libs/python/test/Jamfile:

  template py-unit-test
  :
  : $(PYTHON_PROPERTIES) <define>BOOST_PYTHON_SUPPRESS_REGISTRY_INITIALIZATION
    [ difference $(PYTHON_PROPERTIES) : <define>BOOST_PYTHON_DYNAMIC_LIB ]
      <define>BOOST_PYTHON_STATIC_LIB
    ;

I think that:

   1. $(PYTHON_PROPERTIES) should be usage requirements on the 'python' target
     (in python.jam). There are some already, but maybe I've missed some.
   2. <define>BOOST_PYTHON_SUPPRESS_REGISTRY_INITIALIZATION should be
     just project requirements in test/Jamfile.v2
   3. The BOOST_PYTHON_STATIC_LIB should probaly be usage requirements on
     the boost_python target.

I have did points (2) and (3). I don't know if anything should be done about
(1).

- Volodya


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