Boost logo

Boost-Build :

From: Noel Belcourt (kbelco_at_[hidden])
Date: 2006-05-31 23:59:34


I want to configure our site.jam so that we can pass multiple python
install roots to the init rule.

using python : 2.3 : /usr/local /usr/netpub/python-2.3.5
/usr/engsci/python /usr ;

In our case, the location of the correct python depends on which
machine we log in to on our Lan. I'd like to search the install roots
in the order passed to init until a valid version is found.
Fortunately for us, our Pythons are all the same version, not sure what
we'd do if the versions changed based on the system we logged into.
The python init rule

rule init ( version ? : root ? : includes ? : libraries ? :
cygwin-condition * )

currently permits only a single root. Is this a reasonable approach or
are there better solutions?

Thanks.

-- Noel Belcourt


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