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

379 Commits

Author SHA1 Message Date
Rene Rivera
39d07df796 Merge outstanding 1.33 changes to trunk:
* QNX/qcc support.
* STLport5 support.
* STLport support docs cleanup.
* kFreeBSD support.
* MinGW/MSYS support.


[SVN r31345]
2005-10-16 15:34:27 +00:00
Rene Rivera
7957c76a0a Move the python init lower so that it's not getting done unless there is something to actually do. Add a profile item for that python init.
[SVN r31313]
2005-10-13 22:12:34 +00:00
Rene Rivera
37a763d716 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
db2b4578a5 Text and fix building with python on Linux.
[SVN r31226]
2005-10-07 19:38:50 +00:00
Douglas Gregor
b367475d62 Add --guess-toolset option
[SVN r31217]
2005-10-07 12:48:17 +00:00
Rene Rivera
a307f2164c 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
135cc00ef8 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
07d836e177 Enable native version of regex.transform.
[SVN r31141]
2005-09-28 14:28:46 +00:00
Vladimir Prus
0581a15270 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
12a8ce081c 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
465951075a Make W32_GETREG work on cygwin.
Patch from Alexey Pakhunov.


[SVN r31079]
2005-09-22 14:52:05 +00:00
Douglas Gregor
ea84e350dc Merged from 1.33.0 release
[SVN r30540]
2005-08-12 13:02:37 +00:00
Vladimir Prus
45be175435 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
2856b43ee6 Remove non-platform sources from bootstrap build.
[SVN r30361]
2005-08-01 14:14:43 +00:00
Rene Rivera
334d9aba95 Don't compile extra non-platform files during bootstrap.
[SVN r30358]
2005-08-01 13:39:46 +00:00
Vladimir Prus
d4f3ef3066 Include <unistd.h> to get definition of _exit.
Patch from Craig Rodrigues.


[SVN r30308]
2005-07-29 09:30:12 +00:00
Vladimir Prus
24c5f2114d 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
7442359c21 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
b6e5510d5f Docs for the SHELL builtin.
Patch from Craig Rodrigues.


[SVN r30066]
2005-07-14 08:59:24 +00:00
Rene Rivera
42ebfffce8 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
c675d1d332 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
79a2641feb 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
1a97191fe7 Fixed 'command -v' usage and added test for OSF1.
[SVN r29924]
2005-07-07 08:36:39 +00:00
Rene Rivera
93833a71d6 Handle the case when 'command' doesn't support the -v option.
[SVN r29756]
2005-06-23 18:02:55 +00:00
Rene Rivera
4b64a5cbc7 Replace "whence" with "command" as that is more widely available.
[SVN r29733]
2005-06-22 13:59:39 +00:00
Rene Rivera
db8403c38a Fix so that compiling with CW/metrowerks works again.
[SVN r29688]
2005-06-19 19:39:53 +00:00
Vladimir Prus
6a074a1c81 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
ba77b030fe 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
b5f1e43038 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
5a4d0dafb7 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
3892b06d72 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
9b516221b5 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
adcf936d3d 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
08a9ef1d0a 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
9099c2955e Workaround for vc6 preprocessor bug.
[SVN r29252]
2005-05-27 18:32:23 +00:00
Dave Abrahams
bea9c85585 Finally, a real fix for the spawn problem, I hope.
[SVN r29250]
2005-05-27 17:06:30 +00:00
Rene Rivera
a97e4369a4 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
f97111f4cb Eliminate undefined behavior and fix a spelling error.
[SVN r29238]
2005-05-27 03:18:08 +00:00
Rene Rivera
40a630e54b 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
a9144a5ec3 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
9fc5e08b57 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
7b4b0d6b8f * 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
332ac9b372 Updated inadvertently.
[SVN r27567]
2005-03-07 20:27:00 +00:00
Pedro Ferreira
1d67ca0735 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
e98ac4ece6 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
419b0ea085 _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
5539d6e2b9 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
600978f0a3 build.bat - Change --incremental to --update.
build.sh - implement --update option.


[SVN r26591]
2004-12-28 06:09:25 +00:00
Rene Rivera
a84a98b7a3 Add --incremental option to skip bootstrap and clean if not needed.
[SVN r26588]
2004-12-27 22:33:07 +00:00
Rene Rivera
c71df7d542 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