2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 02:52:12 +00:00
Commit Graph

10944 Commits

Author SHA1 Message Date
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
Vladimir Prus
7c083f0d2b 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
Vladimir Prus
d267aafb7b Optimization:
* build/toolset.jam
  Setting variables on targets includes two parts: deciding
  what flags are applicable and applying the flags. The first part requires
  checking property sets and is pretty slow. It's optimised by cacheing.


[SVN r26543]
2004-12-17 13:44:08 +00:00
Vladimir Prus
e24570215f Optimization:
* build/toolset.jam
  Setting variables on targets includes two parts: deciding
  what flags are applicable and applying the flags. The first part requires
  checking property sets and is pretty slow. It's optimised by cacheing.


[SVN r26543]
2004-12-17 13:44:08 +00:00
Vladimir Prus
21aad9f658 Fix typo
[SVN r26532]
2004-12-16 15:35:53 +00:00
Vladimir Prus
28d8b4c46b Fix typo
[SVN r26532]
2004-12-16 15:35:53 +00:00
Vladimir Prus
2aa01c00b9 Fix typo
[SVN r26531]
2004-12-16 14:54:46 +00:00
Vladimir Prus
ded33b09d5 Fix typo
[SVN r26531]
2004-12-16 14:54:46 +00:00
Vladimir Prus
6b91fc0e9f Usage requirements are now propagated all the way up, not only
to direct dependents. The previous behaviour can be confusing and
there are no use cases where the new behaviour will be bad.

It will add more include paths in some cases, but who cares?


[SVN r26528]
2004-12-16 13:02:35 +00:00
Vladimir Prus
5e5c84734d Usage requirements are now propagated all the way up, not only
to direct dependents. The previous behaviour can be confusing and
there are no use cases where the new behaviour will be bad.

It will add more include paths in some cases, but who cares?


[SVN r26528]
2004-12-16 13:02:35 +00:00
Vladimir Prus
1116376707 Fix a regression in dependency tracking. Seems like all "include"
values were ignored since we tried to find <include>XXX element in a
list consisting of a single property-set instance.

* build/virtual-target.jam:
   (action.actualize-source-type): Add new parameter. We were
   using 'properties' which were defined in caller without explicitly
   passing them.
   (action.actualize-sources): New parameter 'property-set'.
   (action.actualy): Pass property set to actualize-sources.

* build/type.jam
  (get-scanner): Accept property-set, not property list.


[SVN r26526]
2004-12-16 12:37:55 +00:00
Vladimir Prus
cde2b788a9 Fix a regression in dependency tracking. Seems like all "include"
values were ignored since we tried to find <include>XXX element in a
list consisting of a single property-set instance.

* build/virtual-target.jam:
   (action.actualize-source-type): Add new parameter. We were
   using 'properties' which were defined in caller without explicitly
   passing them.
   (action.actualize-sources): New parameter 'property-set'.
   (action.actualy): Pass property set to actualize-sources.

* build/type.jam
  (get-scanner): Accept property-set, not property list.


[SVN r26526]
2004-12-16 12:37:55 +00:00
Toon Knapen
d1cfe7b0e7 intel fortran compiler
[SVN r26510]
2004-12-15 08:47:35 +00:00
Toon Knapen
b0aade801a intel fortran compiler
[SVN r26510]
2004-12-15 08:47:35 +00:00
Vladimir Prus
46d4c39af4 Use property-set in more places
[SVN r26487]
2004-12-10 15:49:30 +00:00
Vladimir Prus
f53c70c0df Use property-set in more places
[SVN r26487]
2004-12-10 15:49:30 +00:00
Vladimir Prus
5ec008ddbc Bugfix: searched library was not found when
exe depended on obj and obj depended on a searched library.

Thanks to Caleb Epstein for the bug report.

* tools/builtin.jam
  (searched-lib-generator.extra-usage-requirements): Remove
  (archive-generator.run): Don't bother passing 'library-path' properties.
  (linking-generator.run): Add propery library-path properties for
    searched libraries.

* tools/unix.jam: Induced changes.

* test/searched_lib.py: New test.


[SVN r26486]
2004-12-10 10:17:56 +00:00
Vladimir Prus
ee27fd4ee2 Bugfix: searched library was not found when
exe depended on obj and obj depended on a searched library.

Thanks to Caleb Epstein for the bug report.

* tools/builtin.jam
  (searched-lib-generator.extra-usage-requirements): Remove
  (archive-generator.run): Don't bother passing 'library-path' properties.
  (linking-generator.run): Add propery library-path properties for
    searched libraries.

* tools/unix.jam: Induced changes.

* test/searched_lib.py: New test.


[SVN r26486]
2004-12-10 10:17:56 +00:00
Vladimir Prus
8b1b6a2d02 Expand path.glob comments.
[SVN r26485]
2004-12-10 09:24:59 +00:00
Vladimir Prus
10f05e3dfa Expand path.glob comments.
[SVN r26485]
2004-12-10 09:24:59 +00:00
Dave Abrahams
63adbc97f6 Factored html type out of boostbook.jam and in the process created a
modular system for registering new types.


[SVN r26484]
2004-12-10 02:39:57 +00:00
Dave Abrahams
42f4871b1b Factored html type out of boostbook.jam and in the process created a
modular system for registering new types.


[SVN r26484]
2004-12-10 02:39:57 +00:00
Dave Abrahams
b548ecd010 initial checkin
[SVN r26482]
2004-12-09 21:58:42 +00:00
Dave Abrahams
0e7707514e initial checkin
[SVN r26482]
2004-12-09 21:58:42 +00:00
Vladimir Prus
f408979299 Bugfix. Call 'xsltproc.xslt' instead of just 'xslt'. Now that main
target rule for xslt is automatically defined, this call uses that
rule, not the 'action rule' which is intended to call.

In addition, 'xslt' was called without including xslproc, and xsltproc
was injecting internal rules into global namespace.


[SVN r26481]
2004-12-09 13:52:19 +00:00
Vladimir Prus
5c3471d243 Bugfix. Call 'xsltproc.xslt' instead of just 'xslt'. Now that main
target rule for xslt is automatically defined, this call uses that
rule, not the 'action rule' which is intended to call.

In addition, 'xslt' was called without including xslproc, and xsltproc
was injecting internal rules into global namespace.


[SVN r26481]
2004-12-09 13:52:19 +00:00
Vladimir Prus
d296e2969b Fix a couple of typos noted by Toon.
[SVN r26471]
2004-12-07 11:53:34 +00:00
Vladimir Prus
7cc434fa17 Fix a couple of typos noted by Toon.
[SVN r26471]
2004-12-07 11:53:34 +00:00
Vladimir Prus
61b421a8ad Improve the '--debug-targets' option and rename it to --debug-building.
Now everything is nicely indented.


[SVN r26470]
2004-12-07 11:46:45 +00:00
Vladimir Prus
61f59a5b0f Improve the '--debug-targets' option and rename it to --debug-building.
Now everything is nicely indented.


[SVN r26470]
2004-12-07 11:46:45 +00:00
Vladimir Prus
2f73272319 Make use of USER_MODULE and NEAREST_USER_LOCATION to optimize V2.
[SVN r26467]
2004-12-07 10:31:02 +00:00