|
Boost-Build : |
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-02-16 15:22:05
Victor A. Wagner, Jr. wrote:
> given that we have a build system, it would be nice if things that needed
> being rebuild got rebuilt automatically, like the rest of boost.
It would be nice. But it's a bootstrap problem. You need something to start
the whole process ;-)
> I have a scheduled task that runs daily at 0300 my time which does (among
> other things)
> cd to my boost source location then:
>
> cvs -z9 update -A -P -d >> update.log
> bjam -sTOOLS=vc7.1 install >bjaminstall.log
> cd status
> bjam -sTOOLS=vc7.1 >status.log
>
> I try to check the output of the logs daily.
> if this does NOT build the new jam, shouldn't it?
>
> ...
> I also try
> bjam --v2
> in both directories
>
>
> if this is insufficient to rebuild bjam, what commands DO I need to add to
> my daily testing?
This is what I use in my run_builds.bat/run_tests.bat...
REM ~ #
REM ~ # rebuild bjam if required:
REM ~ #
echo building bjam:
cd %boost_root%\tools\build\jam_src
set LOCATE_TARGET=bin
set PATH=C:\MinGW\bin;%PATH%
setlocal & endlocal
call .\build.bat mingw
@ECHO OFF
if errorlevel 1 goto :eof
I'm sure you can modify it for your needs.. Like changing to use vc7 instead
of mingw for building it.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
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