Commit Graph

12124 Commits

Author SHA1 Message Date
Vladimir Prus
552d98e3f8 Fix a regression in the 'glob' rule -- it is broken with the current bjam.
Handle ".." correctly.


[SVN r26595]
2004-12-28 17:54:35 +00:00
Rene Rivera
b9d478e702 Temporary fix, headers got ignored if not found.
[SVN r26594]
2004-12-28 17:09:54 +00:00
Dave Abrahams
5386ba64f7 Fix “ and ” entity references.
[SVN r26593]
2004-12-28 14:46:12 +00:00
Dave Abrahams
5f4b9caca8 Fix “ and ” entity references.
[SVN r26593]
2004-12-28 14:46:12 +00:00
Vladimir Prus
d5540ad62d Fix a bug in error message.
Thanks to Alexey Syomichev for the bug report.


[SVN r26592]
2004-12-28 07:55:01 +00:00
Vladimir Prus
4ad4b36d1b Fix a bug in error message.
Thanks to Alexey Syomichev for the bug report.


[SVN r26592]
2004-12-28 07:55:01 +00:00
Rene Rivera
0663b6f0b6 build.bat - Change --incremental to --update.
build.sh - implement --update option.


[SVN r26591]
2004-12-28 06:09:25 +00:00
Rene Rivera
600978f0a3 build.bat - Change --incremental to --update.
build.sh - implement --update option.


[SVN r26591]
2004-12-28 06:09:25 +00:00
Dave Abrahams
ffbb9947de First edits for Volodya.
[SVN r26590]
2004-12-28 03:39:09 +00:00
Dave Abrahams
4f8c4dbbb0 First edits for Volodya.
[SVN r26590]
2004-12-28 03:39:09 +00:00
Dave Abrahams
703464a965 Detect illegal conversions
[SVN r26589]
2004-12-28 03:35:08 +00:00
Rene Rivera
345bcc3348 Add --incremental option to skip bootstrap and clean if not needed.
[SVN r26588]
2004-12-27 22:33:07 +00:00
Rene Rivera
a84a98b7a3 Add --incremental option to skip bootstrap and clean if not needed.
[SVN r26588]
2004-12-27 22:33:07 +00:00
Rene Rivera
109366398f Bootstrap to a single directory instead of a per toolset directory. This helps in automated rebuilding per Dave A. suggestion.
[SVN r26587]
2004-12-27 20:54:13 +00:00
Rene Rivera
c71df7d542 Bootstrap to a single directory instead of a per toolset directory. This helps in automated rebuilding per Dave A. suggestion.
[SVN r26587]
2004-12-27 20:54:13 +00:00
Rene Rivera
17889c132c Catch file open errors when creating batch command files. Thanks to Reece Dunn for catching the errors.
[SVN r26586]
2004-12-27 20:29:25 +00:00
Rene Rivera
342481bed3 Catch file open errors when creating batch command files. Thanks to Reece Dunn for catching the errors.
[SVN r26586]
2004-12-27 20:29:25 +00:00
Vladimir Prus
955e6107e4 Fix thereading support on darwin -- don't add -lrt.
Patch from Pedro Ferreira.


[SVN r26585]
2004-12-27 09:23:25 +00:00
Vladimir Prus
f3b1b11187 Fix thereading support on darwin -- don't add -lrt.
Patch from Pedro Ferreira.


[SVN r26585]
2004-12-27 09:23:25 +00:00
Vladimir Prus
1cf9b6fdb6 Bugfix. The '_' var was not defined on the link action, only on link.dll.
[SVN r26584]
2004-12-27 09:07:04 +00:00
Vladimir Prus
31fb098473 Bugfix. The '_' var was not defined on the link action, only on link.dll.
[SVN r26584]
2004-12-27 09:07:04 +00:00
Vladimir Prus
fb4d8c2e35 Fix compilation error on some msvc versions.
[SVN r26580]
2004-12-23 11:50:43 +00:00
Vladimir Prus
7f649c3f09 Fix compilation error on some msvc versions.
[SVN r26580]
2004-12-23 11:50:43 +00:00
Vladimir Prus
828dea8c10 Optimize property-set.get: avoid linear search.
[SVN r26579]
2004-12-23 09:04:13 +00:00
Vladimir Prus
9b503a0bb5 Optimize property-set.get: avoid linear search.
[SVN r26579]
2004-12-23 09:04:13 +00:00
Vladimir Prus
d24f3aa6b0 Avoid calling class.is-a when faster methods will do.
[SVN r26578]
2004-12-23 08:45:00 +00:00
Vladimir Prus
aa05391a55 Avoid calling class.is-a when faster methods will do.
[SVN r26578]
2004-12-23 08:45:00 +00:00
Vladimir Prus
ec9709a10f Optimize the virtual-target.actual-basename rule.
[SVN r26577]
2004-12-23 08:17:52 +00:00
Vladimir Prus
e61247f43e Optimize the virtual-target.actual-basename rule.
[SVN r26577]
2004-12-23 08:17:52 +00:00
Vladimir Prus
b4b1d6acd3 Kill the link-compatibility check completely. It just causes too much
problems, instead of helping.


[SVN r26576]
2004-12-22 09:42:44 +00:00
Vladimir Prus
21b0be6bfc Kill the link-compatibility check completely. It just causes too much
problems, instead of helping.


[SVN r26576]
2004-12-22 09:42:44 +00:00
Vladimir Prus
567cc8c1c5 Optimization. Avoid unnecessary calls for virtual-target.str.
[SVN r26575]
2004-12-22 08:42:23 +00:00
Vladimir Prus
a99988ef99 Optimization. Avoid unnecessary calls for virtual-target.str.
[SVN r26575]
2004-12-22 08:42:23 +00:00
Vladimir Prus
9765d7946a Optimization.
Call toolset.handle-flag-value in set-target-variables-aux (which is
called once per property-set, not in set-target-variables (which is
called once per target).


[SVN r26574]
2004-12-22 08:08:10 +00:00
Vladimir Prus
b17a079f11 Optimization.
Call toolset.handle-flag-value in set-target-variables-aux (which is
called once per property-set, not in set-target-variables (which is
called once per target).


[SVN r26574]
2004-12-22 08:08:10 +00:00
Vladimir Prus
930eb9b8d5 Optimization: faster target id lookups.
* build/targets.jam:
  (find):
   - Check if target refers to a file first, to avoid going
     though expensive project lookup when not needed.
   - Cache lookup results.
   - Use CHECK_IF_FILE for checking if file exists, otherwise, we'll
     incorrectly consider directory to be source file.


[SVN r26573]
2004-12-22 07:48:19 +00:00
Vladimir Prus
df6c056ce8 Optimization: faster target id lookups.
* build/targets.jam:
  (find):
   - Check if target refers to a file first, to avoid going
     though expensive project lookup when not needed.
   - Cache lookup results.
   - Use CHECK_IF_FILE for checking if file exists, otherwise, we'll
     incorrectly consider directory to be source file.


[SVN r26573]
2004-12-22 07:48:19 +00:00
Vladimir Prus
1f63c530e6 New builtin CHECK_IF_FILE, which check is a path refers to a regular file,
or something else.


[SVN r26572]
2004-12-22 07:33:12 +00:00
Vladimir Prus
8a9d9cad5d New builtin CHECK_IF_FILE, which check is a path refers to a regular file,
or something else.


[SVN r26572]
2004-12-22 07:33:12 +00:00
Vladimir Prus
7dbfb69687 Use icpc as default name of intel compiler. Version 8.1 requires this
to correctly link C++ programs, and earlier version don't care.

Thanks to Joao Abecasis for the bug report.


[SVN r26563]
2004-12-21 09:00:11 +00:00
Vladimir Prus
2f2bae0448 Use icpc as default name of intel compiler. Version 8.1 requires this
to correctly link C++ programs, and earlier version don't care.

Thanks to Joao Abecasis for the bug report.


[SVN r26563]
2004-12-21 09:00:11 +00:00
Vladimir Prus
ede178b8ab Bugfix. When a generator had a same type amoung source and target types,
we hanged.

* build/generators.jam: (viable-source-types-real): Rewrite to
  avoid processing the same type twice. Use non-recursive implementation,
  too.


[SVN r26562]
2004-12-21 08:50:37 +00:00
Vladimir Prus
50195bc3df Bugfix. When a generator had a same type amoung source and target types,
we hanged.

* build/generators.jam: (viable-source-types-real): Rewrite to
  avoid processing the same type twice. Use non-recursive implementation,
  too.


[SVN r26562]
2004-12-21 08:50:37 +00:00
Vladimir Prus
2921076568 Optimization. Try to prune generators which are guaranteed to fail.
[SVN r26556]
2004-12-20 15:43:14 +00:00
Vladimir Prus
8cc138879c Optimization. Try to prune generators which are guaranteed to fail.
[SVN r26556]
2004-12-20 15:43:14 +00:00
Vladimir Prus
25c859b4d6 Fix typo.
Thanks to Larry Evans.


[SVN r26552]
2004-12-20 07:48:39 +00:00
Vladimir Prus
45a019f9b3 Fix typo.
Thanks to Larry Evans.


[SVN r26552]
2004-12-20 07:48:39 +00:00
Vladimir Prus
e912312a03 Optimize generators.find-viable-generators by caching.
[SVN r26545]
2004-12-17 15:15:49 +00:00
Vladimir Prus
c2bb4715b5 Optimize generators.find-viable-generators by caching.
[SVN r26545]
2004-12-17 15:15:49 +00:00
Vladimir Prus
bb5850109c Optimization: don't use 'dependency graph caching'. Experiments show
it does not help at all, but complicates the code.

* build/generators.jam
  (construct-with-caching): Remove
  (construct-without-caching): Rename to 'construct-really'.

* build/virtual-target.jam:
  (clone-template, clone-action-template): Remove.


[SVN r26544]
2004-12-17 14:38:05 +00:00