2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Beman Dawes
021ca287a6 tell boost inspect to ignore this directory
[SVN r67681]
2011-01-05 14:07:10 +00:00
Vladimir Prus
b1427e4090 Validate the parameter to -j.
Thanks to Michael Caisse for the bug report.


[SVN r67277]
2010-12-16 17:26:01 +00:00
K. Noel Belcourt
8810a80455 Revert previous commit that changed how -l timeout is handled.
Decided that wasn't the best approach and am reverting the code
to the original source.



[SVN r66921]
2010-11-30 21:25:06 +00:00
K. Noel Belcourt
ac9f2c68b6 Set bjam timeout to maximum of -l options on command line.
Patch to ensure that maximum value is selected when there's
multiple -l timeout options.



[SVN r66705]
2010-11-23 22:01:27 +00:00
K. Noel Belcourt
5022f01a92 Fix poor parallel throughput on larger SMP systems.
When select() returns with data on one or more file descriptors, 
we use fread() to read data from the live descriptors.  The problem 
is that these are blocking file descriptors so most of the time 
bjam is waiting, it's actually waiting in fread(), rather than 
waiting in select().

There are two possible patches: one is to just call fread() a single  
time (not inside a loop) or we can make the file descriptors non- 
blocking.  It's more efficient to make the descriptors non-blocking  
as this allows us to read all data on a descriptor each time select()  
returns.  The first approach would not permit us to read all the data  
on a descriptor (only as much as fits into our buffer).

I tested this patch on Suse, Redhat, and Darwin.



[SVN r66650]
2010-11-20 00:15:41 +00:00
Bryce Adelstein-Lelbach
0766ec37f9 Added comment suggested by volodya.
[SVN r66456]
2010-11-08 17:05:55 +00:00
Bryce Adelstein-Lelbach
bd623592dd Spoke to volodya about this; these changes add support for bootstrapping the
Boost.Build system with clang. I also fixed a few things in the clang-linux
toolchain;

  - Clang doesn't support -pg.
  - Adding -O0 to turn optimization off is silly, because it is set to zero by
    default if omitted on the command line. The compiler will whine about
    unused options if you later add another -O flag. The Boost.Build UTF
    interface adds a second -O0, so you end up with two redundant command line
    options and a warning from bjam/clang for every invocation of the compiler
    when using the test framework.



[SVN r66441]
2010-11-07 19:51:05 +00:00
Vladimir Prus
dde481ec52 Handle \t escape sequence.
Patch from Alexey Nikitin.


[SVN r66412]
2010-11-06 15:31:12 +00:00
Daniel James
d3fbe75433 Link fixes.
[SVN r66273]
2010-10-30 14:32:50 +00:00
Jürgen Hunold
87d4885c24 Fix: windows does not have wait(), use own macros instead.
[SVN r65319]
2010-09-06 14:14:09 +00:00
Vladimir Prus
48e08672f5 Add 'strip-eol' option to SHELL. Also, return actual exit status.
Previously, with the 'exit-code' option SHELL would return raw
value from waitXXX, with exit status shifted 8 bits to the left.

Fixes #4470.


[SVN r65232]
2010-09-04 10:10:34 +00:00
Steven Watanabe
7c71677393 Supress -q for configuration checks.
[SVN r64861]
2010-08-17 16:49:44 +00:00
K. Noel Belcourt
8ae8c29375 Add bjam build for intel-darwin (Intel on Darwin).
[SVN r64647]
2010-08-06 18:44:15 +00:00
Vladimir Prus
26cf969459 Handle list of instances with __jam_repr__ method returned from Python.
This re-fixes test/inline.py broken by 'lib' changes.


[SVN r64634]
2010-08-06 11:22:42 +00:00
Vladimir Prus
add5bdf7e0 Port build/configure.jam.
Also allow to expose Python class to Jam, which fixes
tag.py and inline.py testcases.


[SVN r64610]
2010-08-05 06:22:58 +00:00
Vladimir Prus
38f35e9695 Redo naming of actions again. Return values from Python to Jamfiles.
[SVN r64432]
2010-07-29 11:37:07 +00:00
Vladimir Prus
cd716b1e98 Various fixes
[SVN r64426]
2010-07-29 05:35:32 +00:00
Vladimir Prus
bbbf07e169 Fix calling Python function taking zero parameters.
[SVN r64297]
2010-07-23 12:20:22 +00:00
Vladimir Prus
318020a079 Compile on cygwin.
[SVN r64207]
2010-07-20 19:18:06 +00:00
K. Noel Belcourt
a24d91c8d5 Replace C++ (//) comments with C block comments (/* ... */).
This is one problem killing Itanium builds. One more to go.



[SVN r64204]
2010-07-20 17:13:19 +00:00
K. Noel Belcourt
62e4971d9a Fix typo stdrup with strdup.
This typo was in code section conditional on Sun
and the Sun nightly builds broke making this easy
to track down.



[SVN r64203]
2010-07-20 16:26:40 +00:00
Vladimir Prus
107bff7d8f Remove now-empty Boost.Jam docs directory.
[SVN r64190]
2010-07-20 08:23:53 +00:00
Vladimir Prus
c630b3c207 Move Boost.Jam docs to where Boost.Build docs are.
[SVN r64189]
2010-07-20 08:22:18 +00:00
Vladimir Prus
bd52f96103 Perform bjam-relative search for Boost.Build proper.
This allows to make installed Boost.Build work without
setting any environment variables or config files.


[SVN r64165]
2010-07-19 19:32:32 +00:00
Vladimir Prus
97aa32c375 New builtin SELF_PATH
[SVN r64159]
2010-07-19 14:50:16 +00:00
Vladimir Prus
1dcece565f Implemented a mechanism for parameter translation from bjam to python
signatures.

This allows to expose the same interface to Jamfiles as before, e.g.

     rule toolset.flags ( rule variable condition * : values * )

and use natural interface in the Python side, where, 'rule', 'variable',
'condition' and 'values' are parameters, and the first two of them
will get string, not list of strings.


[SVN r64158]
2010-07-19 13:20:51 +00:00
Vladimir Prus
e02ecc2e25 Fix memory leak.
Apparently, PyList_Append does not steal reference, after all.


[SVN r64151]
2010-07-19 08:58:05 +00:00
Vladimir Prus
498519f311 Move tools/jam into tools/build/v2/engine
[SVN r64010]
2010-07-14 10:37:12 +00:00