From: Vincent Jamart (vincent.jamart_at_[hidden])
Date: 2004-07-30 09:55:06
The CVS version I use is the snapshot from
http://cvs.sourceforge.net/cvstarballs/boost-cvsroot.tar, not a cvs
update command because we want to have boost in our local CVS as a
project for the filesystem lib.
So I read again the doc and I found the topic concerning the
user-config. jam but I expected to find this information at the
beginning of the document (within the hello world paragraph)...
I set up my own project "pingpong" which uses MPI libs. I want bins to
be created under ~/cvstop/DO/
I must be as generic as possible on pathes, so I have a .profile with
these lines, for every project to build:
I also decided to put all the variables depending on the OS libs within
~/cvstop/config.jam as follows:
FFT_MPI_INC_PATH ?= /opt/mpich-126.96.36.199/include/ ;
FFT_MPI_LIB_PATH ?= /opt/mpich-188.8.131.52/lib/ ;
FFT_MPI_LIBS ?= mpich pmpich ;
Then under the ~/cvstop/pingpong/ folder I created a boost-build.jam
with this line:
boost-build $(BOOST_TOP)/tools/build/v2 ;
and an empty project-root.jam file. I created the Jamfile from v1 to
: include $(PROJECT_ROOT)/../config.jam ;
: build-dir ?= $(PROJECT_ROOT)/../DO
This will not work 'cause of the "include $(PROJECT_ROOT)/../config.jam
;" line but again, I didn't find in v2 doc. how to tell bjam to read a
file containing my variables (config.jam) before compiling.
Le ven 30/07/2004 à 01:22, Victor A. Wagner Jr. a écrit :
> At Thursday 2004-07-29 11:47, you wrote:
> >Victor A. Wagner Jr. wrote:
> > >At Thursday 2004-07-29 06:20, you wrote:
> > > >Hello,
> > > >
> > > >I'm in charge of the migration of a bjam build system from v1 to v2.I
> > > >adapted a Jamfile and as we use many different compilers AND use the
> > > >latest CVS version of boost (from sourceforce nighly backup), I cannot
> > > >use a modified user-config.jam file within boostjam tree (as it willwe
> > > >overwritten by the CVS version all the time).
> > >
> > >not unless you're deleting it before you update.
> >Running "cvs update" will cause the modified version to be renamed
> >#user-config.jam.1.1 and make it unusable. You need to either set up onein
> >$HOME or copy/patch it back after the update.
> you should complain to your cvs vendor...you SHOULD be getting:
> C:\Projects\boost\tools\build\v2>cvs update -l
> cvs update: Updating .
> M user-config.jam
> the M means it's locally modified
> perhaps you're referring to some other tree, this is clearly the boost
> build stuff
> >Stay in touch with absent friends - get MSN Messenger
> >Yahoo! Groups Links
> Victor A. Wagner Jr. http://rudbek.com
> The five most dangerous words in the English language:
> "There oughta be a law"
> Yahoo! Groups Links
-- ---------------------------------------------------- Vincent Jamart - Free Field Technologies Quality & Systems manager 16 place de l'Universite B-1348 Louvain-la-Neuve - BELGIUM Tel: +32 10 45 12 26 Fax: +32 10 45 46 26 Mobile: +32 495 21 22 58 mailto:vincent.jamart_at_[hidden] http://www.fft.be ----------------------------------------------------
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