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
Vladimir Prus
cceaba7bfe
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
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
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
5444f1c210
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
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
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
c123c1e1fa
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
06e2eb20a5
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
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
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
302866c325
Various configure improvements
...
[SVN r65541]
2010-09-23 11:36:26 +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
cae3bfdd68
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
d23f88930a
Unbreak project loading in python port
...
[SVN r65241]
2010-09-04 12:27:39 +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
Vladimir Prus
869d21c5ba
Prevent double initialization of Jamfile in some cases.
...
Fixes #4570 .
Thanks to Brian Freyburger for the patch.
[SVN r65165]
2010-09-01 09:02:49 +00:00
Vladimir Prus
fd8f8b0ffe
Give a location to project-config.jam.
...
Fixes #4615 .
[SVN r65163]
2010-09-01 08:40:17 +00:00
Vladimir Prus
dbafd0c39d
Pass arguments to bootstrap.bat over to jam's build.bat.
...
[SVN r64998]
2010-08-25 15:48:36 +00:00
Vladimir Prus
ac9f781224
Remove OBJ/STATIC_LIB suffix specific for the qcc toolset.
...
They duplicate the default definition, and therefore result
in a 'duplicate key' error.
[SVN r64994]
2010-08-25 14:53:50 +00:00
Vladimir Prus
262c4abba6
Allow to customize the 'mt' tool.
...
Patch from Victor Gaydov.
[SVN r64912]
2010-08-19 07:50:50 +00:00
Vladimir Prus
f1a0a85144
Handle conditional requirements in check-target-builds.
...
[SVN r64911]
2010-08-19 07:47:23 +00:00
Vladimir Prus
dce6b9b264
Fix a bug with -jN and actions that produce multiple targets.
...
[SVN r64882]
2010-08-18 07:52:48 +00:00
Vladimir Prus
256491c938
Stub port of util/indirect.jam
...
[SVN r64881]
2010-08-18 07:40:08 +00:00
Vladimir Prus
e3e0cb61ea
Fix default build and other things.
...
[SVN r64880]
2010-08-18 07:38:43 +00:00
Vladimir Prus
d8aba8b02b
Don't crash when inheriting more than one function from parent Jamfile.
...
[SVN r64879]
2010-08-18 07:35:53 +00:00
Vladimir Prus
f6917faf8a
Unbreak processing of -<feature> requirements.
...
[SVN r64878]
2010-08-18 07:27:13 +00:00
Vladimir Prus
4a99d65979
Fix typo.
...
[SVN r64877]
2010-08-18 07:19:32 +00:00
Steven Watanabe
7c71677393
Supress -q for configuration checks.
...
[SVN r64861]
2010-08-17 16:49:44 +00:00
Vladimir Prus
92f894ac15
Update URL
...
[SVN r64776]
2010-08-13 06:39:33 +00:00
Vladimir Prus
bbb80ee03d
Port tools/message.jam.
...
[SVN r64708]
2010-08-09 20:54:29 +00:00
Vladimir Prus
32eec4e9a0
Fix python/jam translation some more.
...
[SVN r64707]
2010-08-09 20:52:52 +00:00
Vladimir Prus
c49d198fd3
Improve python-to-jam-to-python tunnelling of values, and 'generate' metatarget.
...
[SVN r64691]
2010-08-09 10:30:54 +00:00
Vladimir Prus
a273e0d03e
Make 'mark-target-as-explicit' accept multiple target names.
...
[SVN r64689]
2010-08-09 08:35:02 +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
befe7552b7
Port tools/package.py. Fix various bugs.
...
[SVN r64643]
2010-08-06 15:37:13 +00:00
Vladimir Prus
9213053547
Make the 'cached' decorator work on methods.
...
[SVN r64640]
2010-08-06 13:26:53 +00:00
Vladimir Prus
f93710d362
Fix test/using.py.
...
[SVN r64639]
2010-08-06 13:04:21 +00:00
Vladimir Prus
f40b0c9002
Preserve current project across 'using' statements.
...
[SVN r64638]
2010-08-06 13:02:27 +00:00
Vladimir Prus
c2289d3735
Adjust one place after resolve_references move.
...
[SVN r64637]
2010-08-06 12:56:05 +00:00
Vladimir Prus
bcff7f4c9f
Do not make source-location attribute always absolute.
...
Also, adjust reporting and expectations for metatarget reference
recursion.
[SVN r64636]
2010-08-06 12:45:48 +00:00
Vladimir Prus
f5195fc1c3
Fix alternative selection and some error reporting and a test.
...
[SVN r64635]
2010-08-06 12:32:34 +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