Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
f5deaec106 Implement negative conditional requirements.
For example: <threading>!single:<library>pthread


[SVN r66697]
2010-11-23 07:16:28 +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
K. Noel Belcourt
a9c45135e5 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
Vladimir Prus
87ac2d6a08 Merge the fix for -q and configuration checks.
[SVN r66616]
2010-11-16 23:02:36 +00:00
Bryce Adelstein-Lelbach
0766ec37f9 Added comment suggested by volodya.
[SVN r66456]
2010-11-08 17:05:55 +00:00
Bryce Adelstein-Lelbach
97eeccd165 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
Bryce Adelstein-Lelbach
754bc58425 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
Daniel James
3c944bab6c Fix some issues with the fop tool.
* Import boostbook to register `FO`.
* Remove re-initialization check, now overrides previous initialization.
* Set `JAVA_HOME` and `JAVACMD` based on the appropriate parameters.

[SVN r66432]
2010-11-07 14:46:20 +00:00
Daniel James
da3daca411 Fix some issues with the fop tool.
* Import boostbook to register `FO`.
* Remove re-initialization check, now overrides previous initialization.
* Set `JAVA_HOME` and `JAVACMD` based on the appropriate parameters.

[SVN r66432]
2010-11-07 14:46:20 +00:00
Daniel James
5444f1c210 Support more quickbook options in boost build.
[SVN r66431]
2010-11-07 14:45:43 +00:00
Daniel James
a5ec6846a6 Support more quickbook options in boost build.
[SVN r66431]
2010-11-07 14:45:43 +00:00
Vladimir Prus
a04c0c6652 Fix 32/64 address model options on HPUX.
Patch from Crispin Boylan.
Fixes #4808.


[SVN r66425]
2010-11-07 08:06:19 +00:00
Vladimir Prus
59d651d72e Fix 32/64 address model options on HPUX.
Patch from Crispin Boylan.
Fixes #4808.


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


[SVN r66412]
2010-11-06 15:31:12 +00:00
Vladimir Prus
3e385dd38d Handle \t escape sequence.
Patch from Alexey Nikitin.


[SVN r66412]
2010-11-06 15:31:12 +00:00
Vladimir Prus
d219935c16 Merge r64579 | steven_watanabe | 2010-08-03 21:46:19 +0400 (Tue, 03 Aug 2010)
Make print more robust. This should fix the regression test failure.



[SVN r66406]
2010-11-05 15:25:20 +00:00
Vladimir Prus
16b9b25524 Merge r64217
Fix search for Boost.Jam in Boost.Build testing


[SVN r66405]
2010-11-05 15:14:07 +00:00
Daniel James
967535fbed Merge documentation fixes to release.
[SVN r66285]
2010-10-30 17:34:45 +00:00
Daniel James
d3fbe75433 Link fixes.
[SVN r66273]
2010-10-30 14:32:50 +00:00
Daniel James
c44506a7e3 Link fixes.
[SVN r66273]
2010-10-30 14:32:50 +00:00
Vladimir Prus
cc0d40f9ee Merge Boost.Build configure changes, to unbreak Boost.Regex.
[SVN r66172]
2010-10-25 09:17:39 +00:00
Jürgen Hunold
9d0df91eb7 Merge 66117 from ^/trunk
------------------------------------------------------------------------
r66117 | jhunold | 2010-10-20 17:56:49 +0200 (Mi, 20 Okt 2010) | 2 lines

do not clear flags already set by common.handle-options in init()

------------------------------------------------------------------------


[SVN r66148]
2010-10-22 17:19:43 +00:00
Jürgen Hunold
79ab6f1734 do not clear flags already set by common.handle-options in init()
[SVN r66117]
2010-10-20 15:56:49 +00:00
Jürgen Hunold
f25ea994ac do not clear flags already set by common.handle-options in init()
[SVN r66117]
2010-10-20 15:56:49 +00:00
Jürgen Hunold
7425196b77 Merge 65838 from ^/trunk
------------------------------------------------------------------------
r65838 | jhunold | 2010-10-08 19:48:40 +0200 (Fr, 08 Okt 2010) | 2 lines

Fix: adjust toolset-tag to changed toolset definition.

------------------------------------------------------------------------


[SVN r65856]
2010-10-09 11:37:15 +00:00
Jürgen Hunold
c123c1e1fa Fix: adjust toolset-tag to changed toolset definition.
[SVN r65838]
2010-10-08 17:48:40 +00:00
Jürgen Hunold
094b5fe194 Fix: adjust toolset-tag to changed toolset definition.
[SVN r65838]
2010-10-08 17:48:40 +00:00
Vladimir Prus
12d79bffdf Kill some sections in jam docs. Expand list of options in Boost.Build docs.
[SVN r65790]
2010-10-06 20:18:09 +00:00
Vladimir Prus
ea7d514fd6 Kill some sections in jam docs. Expand list of options in Boost.Build docs.
[SVN r65790]
2010-10-06 20:18:09 +00:00
Vladimir Prus
06e2eb20a5 Remove "V2 vs. V1" section, since it's likely irrelevant now.
[SVN r65786]
2010-10-06 18:34:31 +00:00
Vladimir Prus
965a213258 Remove "V2 vs. V1" section, since it's likely irrelevant now.
[SVN r65786]
2010-10-06 18:34:31 +00:00
Vladimir Prus
1295ff8286 Fix references to 'testing' section
[SVN r65785]
2010-10-06 18:30:15 +00:00
Vladimir Prus
4385067f7b Fix references to 'testing' section
[SVN r65785]
2010-10-06 18:30:15 +00:00
Vladimir Prus
336ee7936a Relax the check between user-specified version and the one from 'g++'.
Fixes #4667.


[SVN r65640]
2010-09-27 16:39:37 +00:00
Vladimir Prus
a411403a40 Relax the check between user-specified version and the one from 'g++'.
Fixes #4667.


[SVN r65640]
2010-09-27 16:39:37 +00:00
Vladimir Prus
78aa937ecc Add verification on gcc version and command.
Most importantly, if version is specified and command is not, check for
g++-$version and failing that, check if g++ -dumpversion returns the
version we've asked about.

Patch from Moritz Hassert.
Addresses #4667.


[SVN r65633]
2010-09-27 16:05:45 +00:00
Vladimir Prus
8c13b1011b Add verification on gcc version and command.
Most importantly, if version is specified and command is not, check for
g++-$version and failing that, check if g++ -dumpversion returns the
version we've asked about.

Patch from Moritz Hassert.
Addresses #4667.


[SVN r65633]
2010-09-27 16:05:45 +00:00
Vladimir Prus
302866c325 Various configure improvements
[SVN r65541]
2010-09-23 11:36:26 +00:00
Vladimir Prus
539cb32800 Various configure improvements
[SVN r65541]
2010-09-23 11:36:26 +00:00
Jürgen Hunold
5a2240003b Merge 65318,65319 from ^/trunk
------------------------------------------------------------------------
r65318 | jhunold | 2010-09-06 10:43:06 +0200 (Mo, 06 Sep 2010) | 3 lines

Suppress msvc warning 4251 about templates as base classes not having a dll-interface.
Suppress msvc warning 4275 about base class std::logic_error not having a dll-interface.

------------------------------------------------------------------------
r65319 | jhunold | 2010-09-06 16:14:09 +0200 (Mo, 06 Sep 2010) | 2 lines

Fix: windows does not have wait(), use own macros instead.

------------------------------------------------------------------------


[SVN r65326]
2010-09-07 05:52:45 +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
Jürgen Hunold
331e379999 Fix: windows does not have wait(), use own macros instead.
[SVN r65319]
2010-09-06 14:14:09 +00:00
Vladimir Prus
cae3bfdd68 Fix double-initializion of config files in Boost.Build/Python.
[SVN r65243]
2010-09-04 12:39:20 +00:00
Vladimir Prus
1db1b5aa58 Fix double-initializion of config files in Boost.Build/Python.
[SVN r65243]
2010-09-04 12:39:20 +00:00
Vladimir Prus
b417a942cd Make toolset version relevant for configure checks.
[SVN r65242]
2010-09-04 12:29:10 +00:00
Vladimir Prus
bf4c66ccc5 Make toolset version relevant for configure checks.
[SVN r65242]
2010-09-04 12:29:10 +00:00
Vladimir Prus
d23f88930a Unbreak project loading in python port
[SVN r65241]
2010-09-04 12:27:39 +00:00
Vladimir Prus
a7ee66052b Unbreak project loading in python port
[SVN r65241]
2010-09-04 12:27:39 +00:00
Vladimir Prus
04072c6fbd Remove tools/jam, for 'svn merge' failed to do that.
[SVN r65235]
2010-09-04 11:42:36 +00:00