2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00
Commit Graph

377 Commits

Author SHA1 Message Date
Rene Rivera
a34669c462 Add "-lx" option which limits the amount of time actions can run (in seconds). Currently only implemented for Windows NT and above.
[SVN r31266]
2005-10-10 20:33:22 +00:00
Rene Rivera
9317a593d5 Text and fix building with python on Linux.
[SVN r31226]
2005-10-07 19:38:50 +00:00
Douglas Gregor
0660a9870f Add --guess-toolset option
[SVN r31217]
2005-10-07 12:48:17 +00:00
Rene Rivera
3e9e78fe46 Add "--with-python=?" option to build Python enabled bjam. Apply some patches to build with SunC compiler.
[SVN r31211]
2005-10-06 19:14:10 +00:00
Rene Rivera
eed0cf6cc3 Variety of performance improvements.
* bjam; bump to version 3.1.12
* bjam; make it possible to build in MinGW/MSYS shell
* bjam; move profile code to debug.h/c to make it available for use everywhere
* bjam; cache all filesystem query operations, Unix and Windows only, include PWD and scanning
* bjam; add memory profile info, and sprinkle throught code
* bbv2; rewrite some while() loops into for() loops to reduce time and memory
* bbv2; keep a single instance counter instead of one per type to reduce memory use
* bjam+bbv2; change NORMALIZE_PATH builtin to join path parts to reduce memory use


[SVN r31177]
2005-10-03 00:47:36 +00:00
Vladimir Prus
1fa3a7afab Enable native version of regex.transform.
[SVN r31141]
2005-09-28 14:28:46 +00:00
Vladimir Prus
991fbd2399 Implement versioning for native rules. This allows to change interface of
a native rule and have Boost.Build detect that and produce nice error, as
opposed to obscure one.


[SVN r31140]
2005-09-28 14:09:58 +00:00
Vladimir Prus
35c8e67749 Robustify the var_defined function -- don't crash if variable value is a
single quote.

Patch from Lewis Hyatt.


[SVN r31119]
2005-09-26 05:26:14 +00:00
Vladimir Prus
a95a91eb87 Make W32_GETREG work on cygwin.
Patch from Alexey Pakhunov.


[SVN r31079]
2005-09-22 14:52:05 +00:00
Douglas Gregor
6287adc232 Merged from 1.33.0 release
[SVN r30540]
2005-08-12 13:02:37 +00:00
Vladimir Prus
650f2a657c Fix off-by-one error in builtin_shell. The result contained one random
character at the end.


[SVN r30452]
2005-08-04 06:38:41 +00:00
Rene Rivera
8f432a1d9c Remove non-platform sources from bootstrap build.
[SVN r30361]
2005-08-01 14:14:43 +00:00
Rene Rivera
3d6effd607 Don't compile extra non-platform files during bootstrap.
[SVN r30358]
2005-08-01 13:39:46 +00:00
Vladimir Prus
a02448da4a Include <unistd.h> to get definition of _exit.
Patch from Craig Rodrigues.


[SVN r30308]
2005-07-29 09:30:12 +00:00
Vladimir Prus
5b78d3d117 Remove mention of "jam.exe", that's no longer is built.
Patch from Craig Rodrigues.


[SVN r30214]
2005-07-22 12:42:20 +00:00
Rene Rivera
473777ae70 Fix uninitialized in/out param for getting the registry value. Thanks to Alexey Pakhunov for the patch.
[SVN r30142]
2005-07-17 16:09:33 +00:00
Vladimir Prus
e3265fe6db Docs for the SHELL builtin.
Patch from Craig Rodrigues.


[SVN r30066]
2005-07-14 08:59:24 +00:00
Rene Rivera
328a8bba20 Add SHELL, execute command an capture output, builtin. Original work from Craig Rodrigues, implemented slightly modified.
[SVN r30027]
2005-07-13 04:26:01 +00:00
Markus Schöpflin
eb2c12a430 Added define for unix, which is defined on Tru64 4.0F but not on Tru64 5.1.
[SVN r29926]
2005-07-07 09:27:19 +00:00
Markus Schöpflin
f1a9faf2a7 Removed quotes around the command to run in echo_run(), because this was causing
the build to fail in the second stage on Tru64 4.0F. It seems like bjam tried to
build the target " " or something like that.


[SVN r29925]
2005-07-07 09:23:34 +00:00
Markus Schöpflin
a57c6910ab Fixed 'command -v' usage and added test for OSF1.
[SVN r29924]
2005-07-07 08:36:39 +00:00
Rene Rivera
25b48d95e0 Handle the case when 'command' doesn't support the -v option.
[SVN r29756]
2005-06-23 18:02:55 +00:00
Rene Rivera
ea46f36d69 Replace "whence" with "command" as that is more widely available.
[SVN r29733]
2005-06-22 13:59:39 +00:00
Rene Rivera
934212a32e Fix so that compiling with CW/metrowerks works again.
[SVN r29688]
2005-06-19 19:39:53 +00:00
Vladimir Prus
03dc36c02e Kill the "using independent target" warning.
It never helped to catch a real problem, but consistently annoys users.


[SVN r29612]
2005-06-16 10:19:09 +00:00
Vladimir Prus
81d11bddd4 Do not hardcode binary name for output, use argv[0].
Patch from Craig Rodrigues.


[SVN r29445]
2005-06-06 12:16:26 +00:00
Vladimir Prus
98d0cf2b28 Don't produce incomprehensible message with --debug-configuration when
boost-build.jam could not be loaded.


[SVN r29440]
2005-06-06 07:51:18 +00:00
Vladimir Prus
73e3efa2d8 rules.c (bindrule): When rule is not found, enter into the specified module,
not the global one.


[SVN r29439]
2005-06-06 06:29:52 +00:00
Vladimir Prus
39ca9ea59b When manipulating BOOST_BUILD_PATH, update the value in the .ENVRION module.
Otherwise, the added path elements won't be seen when loading user-config.jam
and site-config.jam and we'll get error when those files are present only
in V2 directories.


[SVN r29360]
2005-06-02 06:22:06 +00:00
Dave Abrahams
4d9c1ec841 const-correctness for strings.[ch]
Removed flotsam from modules.h

Bind all environment variables, without any preprocessing for quotes,
spaces, or path separators, into the .ENVIRON module.


[SVN r29277]
2005-05-30 03:42:38 +00:00
Rene Rivera
251f3b62a0 Fix use of C++ declaration semantics/syntax, in C file. Well Aleksey fixed it already.. So just cleanup the indentation, etc.
[SVN r29257]
2005-05-28 16:02:54 +00:00
Aleksey Gurtovoy
e0dea56553 move definition to the top of the block to make code ANSI C compliant
[SVN r29256]
2005-05-28 15:56:31 +00:00
Dave Abrahams
54e1155fa1 Workaround for vc6 preprocessor bug.
[SVN r29252]
2005-05-27 18:32:23 +00:00
Dave Abrahams
a9c901d25d Finally, a real fix for the spawn problem, I hope.
[SVN r29250]
2005-05-27 17:06:30 +00:00
Rene Rivera
30692a4049 Fix building of bjam itself after floating options change. Needed to make sure that we eat up the multi arg options if they exist.
[SVN r29239]
2005-05-27 03:48:04 +00:00
Dave Abrahams
0b205d30d3 Eliminate undefined behavior and fix a spelling error.
[SVN r29238]
2005-05-27 03:18:08 +00:00
Rene Rivera
a9e2ffa6a1 Remove restriction that option arguments need to be before target arguments. Options can now be intermixed with targets.
[SVN r29232]
2005-05-26 17:20:32 +00:00
Vladimir Prus
4e9af774ce Revamp path.glob.
The problem with the previous implementation is that it would iterate
over all elements in a dir even if 'pattern' had no metacharacters. First,
that was slow -- if you handed

  /cygdrive/w/My Documents/boost/test/a.cpp

to it, it would crawl all the way to the top, listing each directory and
checking each file. Second, it would fail, because Cygwin is broken and
does not show 'cygdrive' is the list of directory elements of '/'.

Now we check if a pattern has metacharacters, and if not, just do
a simple 'timestamp' call.

The new glob is implemented as new 'GLOB-RECURSIVELY' builtin. I've decided
to use builtin since otherwise, we'd need 'does this name exist' builtin,
and if we need new builtin, why don't implement all globbing in core.


[SVN r29163]
2005-05-24 07:57:56 +00:00
Rene Rivera
f6815f3145 Patch from snaury@narod.ru to fix "a bug in file filent.c' in function file_archscan', which causes long .o files in archives invisible to jam, and thus jam always recompiles such .o files, when using, for instance, mingw".
[SVN r28703]
2005-05-06 23:46:50 +00:00
Rene Rivera
eefe778ebc * Increase version, long overdue.
* Build bjam only by default, instead of all the other misc binaries.
* Implement disabling of splitting of imported variables. Not enable yet.
* Fix 7zip archiver search to work with newest 7z version.


[SVN r28541]
2005-04-30 06:28:38 +00:00
Pedro Ferreira
bbb4a0449f Updated inadvertently.
[SVN r27567]
2005-03-07 20:27:00 +00:00
Pedro Ferreira
ac8323f2b6 Changed generators so that they now receive only an id of a rule, not the rule itself.
Added basic support for darwin.


[SVN r27566]
2005-03-07 20:22:39 +00:00
Vladimir Prus
17fbf80396 Initial Python integration support. Disabled by default, find and
change the setting of HAVE_PYTHON in build.jam to enable it.


[SVN r27559]
2005-03-05 07:59:14 +00:00
Rene Rivera
8e50f69670 _S_IFREG is not a standard stat() flag. The standard flag is "S_IFREG". This fixes compilation on CW8, probably others.
[SVN r27368]
2005-02-14 04:02:52 +00:00
Dave Abrahams
72a5e80e64 jam_src/
builtins.{c,h}
        Support for the REBUILDS rule
        remove unused variable

    rules.h
    make.c
        Support for the REBUILDS rule

    make1.c
        Support for the REBUILDS rule

        Support for recording timing information

        Restructured a case statement because it was masking a bug I
        introduced.

    execcmd.h
    execnt.c
    execunix.c
        Support for recording timing information
        Also removed NT-specific stuff from execunix

    expand.c
        Removed tabs from critical comment
        Added tab-width variable setting comment for emacs.

v2/test
    rebuilds.py, timedata.py, test_all.py
        Tests for REBUILDS and timing.


[SVN r27334]
2005-02-12 02:30:18 +00:00
Rene Rivera
0663b6f0b6 build.bat - Change --incremental to --update.
build.sh - implement --update option.


[SVN r26591]
2004-12-28 06:09:25 +00:00
Rene Rivera
345bcc3348 Add --incremental option to skip bootstrap and clean if not needed.
[SVN r26588]
2004-12-27 22:33:07 +00:00
Rene Rivera
109366398f Bootstrap to a single directory instead of a per toolset directory. This helps in automated rebuilding per Dave A. suggestion.
[SVN r26587]
2004-12-27 20:54:13 +00:00
Rene Rivera
17889c132c Catch file open errors when creating batch command files. Thanks to Reece Dunn for catching the errors.
[SVN r26586]
2004-12-27 20:29:25 +00:00
Vladimir Prus
fb4d8c2e35 Fix compilation error on some msvc versions.
[SVN r26580]
2004-12-23 11:50:43 +00:00