Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
6f67ab7540 Fix generators with several targets of the same time. Previously, if generator
were declared as:

  type.register LEMON : lemon ;
  generators.register-standard lemon.lemon
  :  LEMON
  :  C H C(%_opcodes) H(%_opcodes) ;

V2 would consider LEMON->C and LEMON->C(%_opcodes) two separate transformation
and report an ambiguity. Now the generator is run only once.


[SVN r31405]
2005-10-20 07:35:25 +00:00
Dave Abrahams
39c5b20c05 Fix Cygwin GCC Python testing from DOS prompt
[SVN r31400]
2005-10-19 22:33:31 +00:00
Rene Rivera
472e096e39 Fix QNX/qcc detection so that it doesn't false fire when there is some other qcc command on other OSs.
[SVN r31358]
2005-10-17 02:33:02 +00:00
Rene Rivera
3f2d1739d4 Fix QNX/qcc detection so that it doesn't false fire when there is some other qcc command on other OSs.
[SVN r31358]
2005-10-17 02:33:02 +00:00
Rene Rivera
2c8c83fb20 Add support for building with Python on MacOSX, i.e. with the Python framework.
[SVN r31357]
2005-10-17 02:23:05 +00:00
Rene Rivera
ce923d9c67 Add support for building with Python on MacOSX, i.e. with the Python framework.
[SVN r31357]
2005-10-17 02:23:05 +00:00
Rene Rivera
9e3471a5ef 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
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
Dave Abrahams
a736430389 Build with Python 2.4 by default; also deduce the default PYTHON_ROOT properly on Windows.
[SVN r31325]
2005-10-14 16:19:14 +00:00
Rene Rivera
504377c6f3 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
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
Vladimir Prus
4ca868c930 For borland.link.dll, join implib action with main compile action with
&&. Otherwise, Boost.Build won't notice failures in linking. Looks like
implib always returns 0 as status, or something like that.


[SVN r31299]
2005-10-12 09:52:59 +00:00
Vladimir Prus
99c74c89f4 For borland.link.dll, join implib action with main compile action with
&&. Otherwise, Boost.Build won't notice failures in linking. Looks like
implib always returns 0 as status, or something like that.


[SVN r31299]
2005-10-12 09:52:59 +00:00
Dave Abrahams
f7a4bae651 Turn off inlining unconditionally to avoid codegen bugs
[SVN r31281]
2005-10-11 13:32:32 +00:00
Dave Abrahams
1eb4b28be1 Turn off inlining unconditionally to avoid codegen bugs
[SVN r31281]
2005-10-11 13:32:32 +00:00
Rene Rivera
a34669c462 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
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
9317a593d5 Text and fix building with python on Linux.
[SVN r31226]
2005-10-07 19:38:50 +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
0660a9870f Add --guess-toolset option
[SVN r31217]
2005-10-07 12:48:17 +00:00
Douglas Gregor
b367475d62 Add --guess-toolset option
[SVN r31217]
2005-10-07 12:48:17 +00:00
Rene Rivera
bc3396ff68 boostbook.jam; Remove some path.make calls as they are superfluous in the path.glob case.
path.jam; Kludge path.join into working as it did before when confronted with an initial empty string on the path.


[SVN r31212]
2005-10-06 19:47:58 +00:00
Rene Rivera
d89ed6bbb9 boostbook.jam; Remove some path.make calls as they are superfluous in the path.glob case.
path.jam; Kludge path.join into working as it did before when confronted with an initial empty string on the path.


[SVN r31212]
2005-10-06 19:47:58 +00:00
Rene Rivera
3e9e78fe46 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
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
Vladimir Prus
fefbda7a96 Track dependencies from .rc files to generated headers.
An example of generated file is .tlb generated by midl.exe.

Patch from Alexey Pakhunov.


[SVN r31194]
2005-10-04 14:32:05 +00:00
Vladimir Prus
59195f2fe0 Track dependencies from .rc files to generated headers.
An example of generated file is .tlb generated by midl.exe.

Patch from Alexey Pakhunov.


[SVN r31194]
2005-10-04 14:32:05 +00:00
Vladimir Prus
52df8b0f69 Implement cross-compiling for amd64 and ia64 with MSVC 8.0.
Patch from Alexey Pakhunov.


[SVN r31193]
2005-10-04 14:22:41 +00:00
Vladimir Prus
8600b04d7f Implement cross-compiling for amd64 and ia64 with MSVC 8.0.
Patch from Alexey Pakhunov.


[SVN r31193]
2005-10-04 14:22:41 +00:00
Vladimir Prus
de1392c27a Added version aliases: 6 -> 6.0, 7 -> 7.0 and 8 -> 8.0. The line:
using msvc : 6 ;

will configure detected version 6.0 but the condition will remain
'<toolset>msvc-6'.

Additionally the comment for the 'msvc.init' rule is updated.

Patch from Alexey Pakhunov.


[SVN r31192]
2005-10-04 14:05:22 +00:00
Vladimir Prus
a07411582f Added version aliases: 6 -> 6.0, 7 -> 7.0 and 8 -> 8.0. The line:
using msvc : 6 ;

will configure detected version 6.0 but the condition will remain
'<toolset>msvc-6'.

Additionally the comment for the 'msvc.init' rule is updated.

Patch from Alexey Pakhunov.


[SVN r31192]
2005-10-04 14:05:22 +00:00
Vladimir Prus
40e594d5df Fix error on /Wp64 command line option and warning on /wd4675
option when using msvc-6.0.

Patch from Reece Dunn.


[SVN r31191]
2005-10-04 14:00:34 +00:00
Vladimir Prus
e79c6de824 Fix error on /Wp64 command line option and warning on /wd4675
option when using msvc-6.0.

Patch from Reece Dunn.


[SVN r31191]
2005-10-04 14:00:34 +00:00
Rene Rivera
e7464324c2 Because of NORMALIZE_PATH change we now require bjam 3.1.12.
[SVN r31182]
2005-10-03 14:28:24 +00:00
Rene Rivera
8fe6c064cf Because of NORMALIZE_PATH change we now require bjam 3.1.12.
[SVN r31182]
2005-10-03 14:28:24 +00:00
Rene Rivera
eed0cf6cc3 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
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
1fa3a7afab Enable native version of regex.transform.
[SVN r31141]
2005-09-28 14:28:46 +00:00
Vladimir Prus
07d836e177 Enable native version of regex.transform.
[SVN r31141]
2005-09-28 14:28:46 +00:00
Vladimir Prus
991fbd2399 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
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
3b0f2c5dfb Reduce the number of calls to the PWD builtin.
[SVN r31139]
2005-09-28 13:27:47 +00:00
Vladimir Prus
353359d5b0 Reduce the number of calls to the PWD builtin.
[SVN r31139]
2005-09-28 13:27:47 +00:00
Vladimir Prus
73b91b8537 Use caching inside path.pwd. The PWD rule on windows calls the
short_path_to_long_path function which takes a lot of time, and clearly
current directory of bjam will never change as it's running.


[SVN r31138]
2005-09-28 11:37:17 +00:00
Vladimir Prus
7af049ac8f Use caching inside path.pwd. The PWD rule on windows calls the
short_path_to_long_path function which takes a lot of time, and clearly
current directory of bjam will never change as it's running.


[SVN r31138]
2005-09-28 11:37:17 +00:00
Vladimir Prus
4cae950444 Change license to BSL. Added my copyright.
[SVN r31121]
2005-09-26 06:02:41 +00:00
Vladimir Prus
669c8a0dbf Change license to BSL. Added my copyright.
[SVN r31121]
2005-09-26 06:02:41 +00:00
Vladimir Prus
9ceb27736f Implement autodetection code for the 'msvc' toolset. It is
able to detect Visual Studio 6.0, 7.0, 7.1, 8.0 and Visual C++ Toolkit
2003. Detected settings are used in the cases when:
   - only version number is passed (using msvc : 8.0 ;)
   - incomplete configuration command is given (using msvc : 8.0 : cl.exe ;)
   - any available compiler is configured (using : default ;)
   - all available compilers are configured (using : all ;)

A user is free to overwrite any of detected settings.

Patch from Alexey Pakhunov.


[SVN r31120]
2005-09-26 05:58:37 +00:00
Vladimir Prus
d53c1620ac Implement autodetection code for the 'msvc' toolset. It is
able to detect Visual Studio 6.0, 7.0, 7.1, 8.0 and Visual C++ Toolkit
2003. Detected settings are used in the cases when:
   - only version number is passed (using msvc : 8.0 ;)
   - incomplete configuration command is given (using msvc : 8.0 : cl.exe ;)
   - any available compiler is configured (using : default ;)
   - all available compilers are configured (using : all ;)

A user is free to overwrite any of detected settings.

Patch from Alexey Pakhunov.


[SVN r31120]
2005-09-26 05:58:37 +00:00
Vladimir Prus
35c8e67749 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