Boost logo

Boost-Build :

From: Administrator (administrator_at_[hidden])
Date: 2003-08-18 18:38:08


I feel a bit sheepish...here are the patches that I have.

> -----Original Message-----
> From: Administrator [mailto:administrator_at_[hidden]]
> Sent: Monday, August 18, 2003 10:14 AM
> To: 'jamboost_at_[hidden]'
> Subject: RE: [jamboost] Common Lib Subdir
>
>
> Rene,
>
> > -----Original Message-----
> > From: Rene Rivera [mailto:grafik666_at_[hidden]]
> > Sent: Friday, August 15, 2003 4:50 PM
> > To: jamboost_at_[hidden]
> > Subject: Re: [jamboost] Common Lib Subdir
> <snip>
>
> >
> > ...So I'd say the best way you can help is by taking a look
> > at what the
> > proposed build+install procedure does and giving feedback. In
> > addition to
> > the current CVS, which you already have, check out the
> > boost-root/Jamfile on
> > the build_for_distribution branch...
> >
> > cvs co -r build_for_distribution boost/Jamfile
> >
> > It tries to mimic configure type options, which you can get
> help on by
> > doing...
> >
> > cd boost-root
> > bjam --help
> >
> > One immediate feedback question I have for you is wether it's
> > more important
> > to build+install, as autoconf/configure/make does, or just
> > build, and let
> > the user and/or package builders install?
>
> Personally, I want the libraries that I download to be able
> to handle the
> whole procedure, taking into account my personal preferences
> where things
> should be installed. If this can be done in a
> platform-independent way,
> then, yeah, I'm all for the autoconf/configure/make paradigm.
> If it can't
> be done, then I want everything down to two or three folders,
> with no nested
> heirarchy (boost/boost excluded), to be able to copy wherever
> I need them.
>
> <snip>
> > I looked at the patches you posted on the Boost.Users list,
> > but feel free to
> > post them here for those others that may be interested.
>
> I have attached them to this email for all to see and comment on.
>
> >
> > The one comment I have about your patches is that the
> > approach you took is
> > unlikely to win favor with the Boost library authors. This is
> > because they
> > would have to maintain the stage rules themselves. Most
> > authors tend to want
> > less things to worry about, rather than more ;-)
> >
> > That said.. having something like an "install" rule for
> > library authors to
> > specify what they want installed could be a workable and prefered
> > alternative.
>
> That actually sounds pretty reasonable. This actually harks
> back to what I
> was saying earlier. I like having one common directory for
> everyone to
> initial-stage binaries into (i.e. boost-root/lib). Then, it's easy to
> simply copy everything in that one dir to where we want to
> install, or,
> ideally, the user to simply copy that dir to wherever they want.
>
> <much_much_later>
>
> Okay, so I've actually tried out the install process. So
> far, everything is
> working out except for the fact that I would rather have the
> install step be
> separated out. A minor quibble in the grand scheme of
> things, I think. For
> the most part, though, it's working like I expect it to be.
>
> Dale
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
> Printer at Myinks.com. Free s/h on orders $50 or more to the
> US & Canada. http://www.c1tracking.com/l.asp?cid=5511
> http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/z3wwlB/TM
> --------------------------------------------------------------
> -------~->
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>

 ------_=_NextPart_000_01C365E1.C7B28BC0 Content-Type: text/plain;
name="boost200308141646.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="boost200308141646.txt"

Changelog:
----------

Jamfile
* Added in boost-stage-tag rule. This appends a "d" to the end of the=20
lib name if it is being compiled in debug mode, and "_pydebug", if being
compiled in debug-python mode.
=20=20=20
libs/date_time/build/Jamfile
* Changes compilation options so that shared lib is not built if we're on =
NT.
* Adds in stage rule to place libs in common subdir, and also to use commo=
n=20
naming scheme per debug builds.

libs/filesystem/build/Jamfile
* Adds in stage rule to place libs in common subdir, and also to use commo=
n=20
naming scheme per debug builds.

libs/python/build/Jamfile
* Changes stage rule to place libs in common subdir, and also to use commo=
n=20
naming scheme per debug and debug-python builds.

libs/regex/build/Jamfile
* Changes stage rule to place libs in common subdir.

libs/signals/build/Jamfile
* Changes stage rule to use common naming scheme per debug builds.

libs/test/build/Jamfile
* Changes compilation options so that shared lib is not built if we're on =
NT.
* Changes stage rule to use common naming scheme per debug builds.

libs/thread/build/Jamfile
* Changes stage rule to place libs in common subdir, and also to use commo=
n=20
naming scheme per debug builds.

Patch:
--------

Index: Jamfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/boost/boost/Jamfile,v
retrieving revision 1.7
diff -r1.7 Jamfile
2a3,21
> # Common rules for libs
> rule boost-stage-tag ( toolset variant : properties * )
> {
> local lib-debug-opt =3D "" ;
> if [ MATCH .*(debug).* : $(variant) ]
> {
> lib-debug-opt =3D d ;
> }
>=20
> local lib-pydebug-opt =3D "" ;
> if [ MATCH .*(debug-python).* : $(variant) ]
> {
> lib-pydebug-opt =3D _pydebug ;
> lib-debug-opt =3D "" ;
> }
>=20=20=20=20=20=20=20=20=20=20=20=20=20
> return $(properties) <tag><$(variant)>$(lib-debug-opt)$(lib-pydebug=
-opt) ;
> }
>=20
Index: libs/date_time/build/Jamfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/boost/boost/libs/date_time/build/Jamfile,v
retrieving revision 1.9
diff -r1.9 Jamfile
24d23
<=20
29c28,29
< dll boost_date_time : ../src/gregorian/$(CPP_SOURCES).cpp

---
>=20
> lib boost_date_time : ../src/gregorian/$(CPP_SOURCES).cpp
34c34,37
< lib boost_date_time : ../src/gregorian/$(CPP_SOURCES).cpp
---
> if ! ${NT}
> {
>=20
> dll boost_date_time : ../src/gregorian/$(CPP_SOURCES).cpp
38a42,55
> stage ../../../lib
> : <lib>boost_date_time <dll>boost_date_time
> : boost-stage-tag
> : debug release
> ;
> }
> else
> {
> stage ../../../lib
> : <lib>boost_date_time
> : boost-stage-tag
> : debug release
> ;
> }
Index: libs/filesystem/build/Jamfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/boost/boost/libs/filesystem/build/Jamfile,v
retrieving revision 1.5
diff -r1.5 Jamfile
17c17,24
< ;
\ No newline at end of file
---
> ;
>=20
> stage ../../../lib
> : <lib>boost_filesystem
> : boost-stage-tag
> : debug release
> ;
>=20
Index: libs/python/build/Jamfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/boost/boost/libs/python/build/Jamfile,v
retrieving revision 1.29
diff -r1.29 Jamfile
78,83c78,81
< stage bin-stage : <dll>boost_python <lib>boost_python
< : <tag><debug>"_debug"
< <tag><debug-python>"_pydebug"
< :
< debug release
< ;
---
> stage ../../../lib : <dll>boost_python <lib>boost_python
> : boost-stage-tag
> : debug release
> ;
Index: libs/regex/build/Jamfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/boost/boost/libs/regex/build/Jamfile,v
retrieving revision 1.17
diff -r1.17 Jamfile
131c131
< stage bin-stage : <lib>boost_regex <dll>boost_regex
---
> stage ../../../lib : <lib>boost_regex <dll>boost_regex
Index: libs/signals/build/Jamfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/boost/boost/libs/signals/build/Jamfile,v
retrieving revision 1.6
diff -r1.6 Jamfile
27,28c27,28
< : <dll>boost_signals
< : <tag><debug>"d"
---
> : <dll>boost_signals <lib>boost_signals
> : boost-stage-tag
Index: libs/test/build/Jamfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/boost/boost/libs/test/build/Jamfile,v
retrieving revision 1.8
diff -r1.8 Jamfile
67a68,92
> stage ../../../lib :=20
> <lib>boost_prg_exec_monitor=20
> <lib>boost_test_exec_monitor=20
> <lib>boost_unit_test_framework
> <dll>boost_prg_exec_monitor=20
> <dll>boost_test_exec_monitor=20
> <dll>boost_unit_test_framework
> :
> boost-stage-tag
> :
> debug release
> ;
> }
> else
> {
> stage ../../../lib :=20
> <lib>boost_prg_exec_monitor=20
> <lib>boost_test_exec_monitor=20
> <lib>boost_unit_test_framework
> :
> boost-stage-tag
> :
> debug release
> ;
>=20
Index: libs/thread/build/Jamfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/boost/boost/libs/thread/build/Jamfile,v
retrieving revision 1.20
diff -r1.20 Jamfile
47c47
< stage bin-stage
---
> stage ../../../lib
50c50
< <tag><debug>"d"
---
> boost-stage-tag
 ------_=_NextPart_000_01C365E1.C7B28BC0-- 

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