Steven Watanabe
02e1de8b4e
Fix a few warnings
...
[SVN r75809]
2011-12-05 02:30:37 +00:00
Steven Watanabe
724d1894e2
Convert short paths to long paths on NT.
...
[SVN r75808]
2011-12-05 02:12:55 +00:00
K. Noel Belcourt
5f8f5c33e3
Reduce optimization using Sun compiler when building
...
bjam (remove -fast and replace -xO4 with -xO3). Compiler
is unable to handle Steve's recent code refactor.
[SVN r75795]
2011-12-04 00:08:10 +00:00
Steven Watanabe
d4aa36c963
Assert that the hash function works.
...
[SVN r75794]
2011-12-03 20:15:44 +00:00
Steven Watanabe
12954e5708
Remember to clean up.
...
[SVN r75793]
2011-12-03 20:00:18 +00:00
Steven Watanabe
e730100e50
More thorough asserts.
...
[SVN r75792]
2011-12-03 19:54:28 +00:00
Steven Watanabe
dbe3fdd162
Adjust search to find generated targets without regard to case, on NT.
...
[SVN r75776]
2011-12-02 18:49:07 +00:00
Steven Watanabe
1c55d06c18
Remove debugging code.
...
[SVN r75772]
2011-12-02 14:55:16 +00:00
Steven Watanabe
83428e2ffb
Clean up down casing paths and usage of short_path_to_long_path.
...
[SVN r75768]
2011-12-02 05:11:10 +00:00
Steven Watanabe
d892eade45
Fix @ file support.
...
[SVN r75767]
2011-12-02 04:49:03 +00:00
Steven Watanabe
6b8cf01ef5
Short circuit test if a file exists, when the name contains a grist.
...
[SVN r75765]
2011-12-01 19:34:06 +00:00
Steven Watanabe
1e7bc7b8cd
Remove the trailing '.' from the module name.
...
[SVN r75762]
2011-12-01 18:07:14 +00:00
Steven Watanabe
20b680bd94
Fix printf type error.
...
[SVN r75752]
2011-11-30 16:39:49 +00:00
Steven Watanabe
79f5aff9ed
Fix memory leak on Windows.
...
[SVN r75750]
2011-11-30 15:11:42 +00:00
Steven Watanabe
a0fe6ff6e0
Reimplement the interpreter.
...
[SVN r75736]
2011-11-30 00:00:35 +00:00
Vladimir Prus
12c74805f5
Make bjam.caller return module name without trailing dot.
...
This makes the behaviour consistent with Jam's builtin for the same
purpose and fixes make_rule.py test.
[SVN r75727]
2011-11-29 16:11:54 +00:00
Steven Watanabe
5c6ea579cf
Fix cleanup
...
[SVN r75719]
2011-11-29 04:28:27 +00:00
Steven Watanabe
94691ce67b
Remov MAC, VMS, and OS2 support. These were already broken with little chance of being fixed.
...
[SVN r75639]
2011-11-23 15:32:14 +00:00
Steven Watanabe
052e6249e3
Fix -Wformat warning.
...
[SVN r75638]
2011-11-23 14:50:15 +00:00
Steven Watanabe
70d5029905
Replace newstr with object. Use OBJECT * instead of char *. Fix a few bugs uncovered by the better typechecking.
...
[SVN r75609]
2011-11-22 23:04:09 +00:00
Vladimir Prus
e0e032809a
Fix a crash when using bjam.caller.
...
Patch from Juraj Ivančić
[SVN r75605]
2011-11-22 11:20:42 +00:00
Steven Watanabe
64f6c40752
Use a separate hash table implementation for the strings table.
...
[SVN r75545]
2011-11-18 17:27:28 +00:00
Steven Watanabe
090a2cc4cb
Enable profiling with gcc
...
[SVN r75512]
2011-11-16 20:11:38 +00:00
Steven Watanabe
926e12a499
Fix regression
...
[SVN r75510]
2011-11-16 15:37:15 +00:00
Vladimir Prus
572f63697a
Pass libraries at the end of command line.
...
Ubuntu 11.10 has --as-needed on by default, which means
that libraries must be specified after the sources/objects
that use those libraries, even for shared libraries.
See http://www.gentoo.org/proj/en/qa/asneeded.xml
[SVN r75503]
2011-11-16 07:54:07 +00:00
Steven Watanabe
e1f9c906cd
Fix memory leaks. Make sure that newstr and copystr are always used as needed.
...
[SVN r75502]
2011-11-16 03:00:54 +00:00
Vladimir Prus
66569da42e
Autodetect Python 2.7 when building Boost.Build engine.
...
[SVN r74660]
2011-10-02 21:02:25 +00:00
Steven Watanabe
4008677ab8
Avoid problems when the user has an environment variable called VMS.
...
[SVN r71262]
2011-04-15 03:15:28 +00:00
Vladimir Prus
fa23f3a5c1
Make "b2" binary operate in Boost.Build mode, not classic mode.
...
[SVN r70623]
2011-03-27 11:25:24 +00:00
Vladimir Prus
824a74645c
Build (but don't install yet), binary named 'b2'.
...
[SVN r70621]
2011-03-27 10:53:29 +00:00
Vladimir Prus
e585f3a6b6
Set version to 2010.04-svn, and eliminate separate engine version.
...
[SVN r70616]
2011-03-27 10:30:33 +00:00
Vladimir Prus
af27fd2f70
Doh.
...
[SVN r70472]
2011-03-23 09:58:34 +00:00
Vladimir Prus
adabffd0df
Fix path.makedirs on Windows.
...
[SVN r70471]
2011-03-23 09:55:29 +00:00
Vladimir Prus
241361971c
Make sure the directory for config.log exists.
...
This fixes a problem whereby when building the first time
in a fresh source tree, output of configuration checks goes
to stdout, because we tried to create config.log in as-yet
nonexistent building directory.
[SVN r70179]
2011-03-19 12:30:49 +00:00
K. Noel Belcourt
62d1e7cc11
Another try at this commit.
...
With gcc-4.5.2, the stuct option defined in option.h
conflicts with an identically named struct in the gcc
headers. Renamed the bjam struct to bjam_option in all
places where referenced.
[SVN r68730]
2011-02-08 18:46:03 +00:00
K. Noel Belcourt
e144c5ed0a
Reverting previous commit and going back to 68727
...
[SVN r68729]
2011-02-08 18:39:13 +00:00
K. Noel Belcourt
4d6b6865e9
With gcc-4.5.2, the stuct option conflicts with
...
an identically named struct in the gcc headers.
Renamed the bjam struct to bjam_option in all
places where referenced.
[SVN r68728]
2011-02-08 18:34:53 +00:00
Vladimir Prus
c5c0853519
Kill 'engine/src', moving all content to 'engine'.
...
[SVN r68592]
2011-02-01 08:16:47 +00:00
Vladimir Prus
b8f0b181a0
Move engine tests. Remove some releng bits that were useful only for
...
standardlone engine.
[SVN r68591]
2011-02-01 08:08:56 +00:00
Vladimir Prus
3cc51bf067
Remove mistakenly added usage of Unix headers everywhere
...
[SVN r68475]
2011-01-27 16:25:26 +00:00
Vladimir Prus
dce520889a
Commit the "don't stop when configure test fail" fix.
...
It appears to be only comitted to the release branch.
[SVN r68442]
2011-01-25 19:51:05 +00:00
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