List Info

Thread: Trying to get correct bjam build procedure




Trying to get correct bjam build procedure
user name
2006-08-27 22:22:27
As per:

http://svn.cleversafe.org/moxie/trunk/t
hirdparty-builder/scripts/boost.sh

The stanza starting at line 45 is commented out such that
(from what we 
understand) the succeeding stanza will build and install all
in one step.

Which is right/preferred/better?  Why does the script
without the 
uncommented version not work?

Here's what we mean by "not working" (or so
I'm told by one of my devs):

? didn't install into INSTALL_DIR correctly
? didn't build working bin
? include header layout broken

Any comments?

-Matt

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Trying to get correct bjam build procedure
user name
2006-08-27 22:46:56
Matt England wrote:
> As per:
> 
> http://svn.cleversafe.org/moxie/trunk/t
hirdparty-builder/scripts/boost.sh
> 
> The stanza starting at line 45 is commented out such
that (from what we 
> understand) the succeeding stanza will build and
install all in one step.

Next time please include the relevant piece of code in
emails. First; 
some people may not have immediate access to the web while
reading 
email. Second; it makes it much easier to comment if we
don't have to go 
guessing where in the file you pointed to as in this case
there are no 
line numbers visible for reference. To make sure is this the
code you 
are referring to:

for LIB in $; do
   echo "Building library $..."
#  bjam -sTOOLS=gcc -sBUILD="multi"
--with-$ \
#     --layout="system" stage 2>&1 || \
#     fail "error: could not build boost library
$"
   bjam -sTOOLS=gcc -sBUILD="multi"
--with-$ --layout="system" \
       --prefix=`pwd`/../../$ install
2>&1 || \
      fail "error: could not install boost library
$"
done

??

> Which is right/preferred/better?  Why does the script
without the 
> uncommented version not work?

Neither seems correct to me. By specifying
'-sBUILD="multi"', which is 
not a legal BUILD value, you'll end up getting some
imaginary "multi" 
variant getting built which is most likely never going to
work. The 
maximal build, which is the default, uses a BUILD value of
"-sBUILD= 
debug release <runtime-link>static/dynamic
<threading>single/multi". If 
you don't want the maximal set of libs built I suggest you
remove some 
of the options to get what you want. For example
"-sBUILD=release 
<runtime-link>dynamic <threading>multi".



-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Trying to get correct bjam build procedure
user name
2006-08-28 02:08:49
At 8/27/2006 05:46 PM, Rene Rivera wrote:
>Next time please include the relevant piece of code in
emails.

Will do.

>for LIB in $; do
>   echo "Building library $..."
>#  bjam -sTOOLS=gcc -sBUILD="multi"
--with-$ \
>#     --layout="system" stage 2>&1 ||
\
>#     fail "error: could not build boost library
$"
>   bjam -sTOOLS=gcc -sBUILD="multi"
--with-$ --layout="system" \
>       --prefix=`pwd`/../../$ install
2>&1 || \
>      fail "error: could not install boost library
$"
>done
>
>??

Yep, that's it.

>If you don't want the maximal set of libs built I
suggest you remove some 
>of the options to get what you want. For example
"-sBUILD=release 
><runtime-link>dynamic
<threading>multi".

Thanks for the tip.  Are there docs for this stuff? 
(Someone else at 
Cleversafe read these before me, and I'm limping my way
around.)

-Matt 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Trying to get correct bjam build procedure
user name
2006-08-28 03:17:58
Matt England wrote:
> Thanks for the tip.  Are there docs for this stuff? 
(Someone else at 
> Cleversafe read these before me, and I'm limping my
way around.)

Yes there are docs <http:
//boost.org/more/getting_started.html>. You can 
get to the from the "Getting Started" link on
the Boost home page, and 
is included in each distribution. Even though the ones on
the website 
are for 1.33.1 the differences are only in details.

--grafik

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )