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

3245 Commits

Author SHA1 Message Date
Rene Rivera
ea79842dcb Cleanup of BBv2 number utilities to improve performance.
[SVN r48628]
2008-09-06 05:09:20 +00:00
Jurko Gospodnetić
daa64c7e46 Minor stylistic changes made to the Boost Build tools/make.jam module.
[SVN r48626]
2008-09-06 02:46:14 +00:00
Jurko Gospodnetić
d1fffe6ec8 Minor stylistic and typo correction changes made to the Boost Build src/advanced.xml documentation file.
[SVN r48625]
2008-09-06 02:26:36 +00:00
Rene Rivera
110d5aca60 Minor perf improvement for bjam by replacing hash function with faster version. Only 1% diff for Boost tree.
[SVN r48617]
2008-09-05 16:26:45 +00:00
Jurko Gospodnetić
6510228855 Removed a never used global .generators variable from the Boost Build build/generators.jam module.
[SVN r48602]
2008-09-05 02:47:47 +00:00
Jurko Gospodnetić
a632b374d1 Updated Boost Build to made adding a new derived target type not invalidate generator selection related cached viable source target type information but only update it as needed.
[SVN r48601]
2008-09-05 02:40:03 +00:00
Jurko Gospodnetić
351af01778 Minor stylistic changes made to the Boost Build build/generators.jam module.
[SVN r48599]
2008-09-05 02:37:54 +00:00
Jurko Gospodnetić
c5cb4455fc Corrected a bug in the Boost Build invalidate-extendable-viable-source-target-type-cache() rule located in the generators.jam module causing some cached data to be invalidated more often than needed. The bug had no other effects.
[SVN r48598]
2008-09-05 02:34:12 +00:00
Jurko Gospodnetić
cd67c38e31 Reordered all Boost Build test declarations alphabetically to make it easier to scan through them visually.
[SVN r48597]
2008-09-05 02:04:51 +00:00
Jurko Gospodnetić
ed748f97f2 Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new derived target type. Currently quick-fixed by clearing most of the cached values when registering a new derived target type. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them directly by simply added the derived target type to them.
[SVN r48596]
2008-09-05 01:58:07 +00:00
Jurko Gospodnetić
571c336bfb Improved the Boost Build generator_selection.py test case by adding additional assertions to it.
[SVN r48595]
2008-09-05 01:55:01 +00:00
Jurko Gospodnetić
be5cdc44c9 Reverted revision 48592 as an incorrect file got committed in it by mistake.
[SVN r48594]
2008-09-05 01:52:44 +00:00
Jurko Gospodnetić
ca330a555c Minor comment typo correction in the Boost Build build/type.jam module.
[SVN r48593]
2008-09-05 01:48:36 +00:00
Jurko Gospodnetić
13236db7f0 Improved the Boost Build generator_selection.py test case by adding additional assertions to it.
[SVN r48592]
2008-09-05 01:46:40 +00:00
Jurko Gospodnetić
40c5b9d02d Added a comment to Boost Build's build/generators.jam module pointing to a mailing list thread containing an idea for refactoring Boost Build's Jamfile parsing so nothing would invalidate Boost Build's cached generator selection related viable source type information instead of having to work around the issues by clearing the cache when needed.
[SVN r48591]
2008-09-05 00:39:58 +00:00
Jurko Gospodnetić
324e6bc227 Added a test for and fixed a Boost Build generator selection bug caused by caching viable source target types for different target types and generators and not maintaining those caches when their content gets invalidated by defining a new generator. Currently quick-fixed by clearing most of the cached values when registering a new generator. Later on this could be made more detailed by clearing only the actually invalidated cache values or updating them or even only marking them to be lazily updated when needed next.
Problem detected & and a reproducible example constructed by Juraj Ivančić. Debugged by Vladimir Prus. Patched and packaged by Jurko Gospodnetić.

[SVN r48590]
2008-09-05 00:26:43 +00:00
Jurko Gospodnetić
677aefd23b Minor stylistic changes in several Boost Build unit tests.
[SVN r48589]
2008-09-04 23:12:25 +00:00
Jurko Gospodnetić
0245482915 Optimized Boost Build's generator selection related viable-source-types-real() rule. Made it be smarter about which target types it inserts into a list of target types from which to collect all source types and avoid adding some target types that have already been added to the list.
[SVN r48588]
2008-09-04 21:43:30 +00:00
Jurko Gospodnetić
1f8cd9dc31 Optimized Boost Build's generator selection related viable-source-types-real() rule. Removed an extra sequence.unique rule called on the resulting sequence that was not really needed as elements get added to the sequence only if they are not already in it.
[SVN r48587]
2008-09-04 21:40:36 +00:00
Jurko Gospodnetić
d0329986f2 Optimized Boost Build's generator selection related viable-source-types-for-generator-real() rule. Now it exits more quickly in case it detects that any source type is a viable source type and so there is no need to look for more viable source types.
[SVN r48586]
2008-09-04 21:35:18 +00:00
Jurko Gospodnetić
5707bfb97a Minor stylistic changes made to the Boost Build build/toolset.jam module.
[SVN r48585]
2008-09-04 21:26:53 +00:00
Jurko Gospodnetić
69b6eed15a Minor stylistic changes and comment updates for the Boost Build build/generators.jam module.
[SVN r48584]
2008-09-04 21:24:52 +00:00
Jurko Gospodnetić
f5bc2cad43 Minor comment updates in several Boost Build modules. Removed an unused .caching global variable in the build/generators.jam module.
[SVN r48578]
2008-09-04 17:54:07 +00:00
Jurko Gospodnetić
4d13f947dc Removed the unused generators.normalize-target-list() rule from the Boost Build build/generators.jam module.
[SVN r48576]
2008-09-04 17:10:08 +00:00
Vladimir Prus
fbddf9aa4e Pass -X 64 to ar only on AIX. Fixes #2281.
[SVN r48573]
2008-09-04 07:53:22 +00:00
Jurko Gospodnetić
9b65dbc200 Minor stylistic change in the Boost Build tools/msvc.jam toolset grouping all of msvc specific feature declarations together as we may later decide to initialize them automatically on module import and initialize the toolset and its generators only when the first toolset version gets configured correctly.
[SVN r48571]
2008-09-04 01:59:21 +00:00
Jurko Gospodnetić
69e7f15201 Fixed a syntax error that slipped in in the previous revision in the Boost Build tools/common.jam module.
[SVN r48570]
2008-09-03 21:34:45 +00:00
Jurko Gospodnetić
a29d9f4f63 Minor stylistic changes in the Boost Build tools/common.jam module.
[SVN r48569]
2008-09-03 21:06:58 +00:00
Jurko Gospodnetić
775ce8a7a9 Updated Boost Jam's error location reporting when parsing Jamfiles. Now it reports the correct error location information when encountering an unexpected EOF. It now also reports where an invalid lexical token being read started instead of finished which makes it much easier to find errors like unclosed quotes (") or curly braces ({).
[SVN r48534]
2008-09-02 11:06:24 +00:00
Jurko Gospodnetić
a3e53d37aa Refactored Boost Jam's internal yyline() Jamfile parsing function a bit so it no longer uses one unneeded goto that was making the code much harder to read.
[SVN r48533]
2008-09-02 10:58:03 +00:00
Jurko Gospodnetić
5de4d38337 Stylistic changes throughout the Boost Jam source base done while researching the Boost Jam internals. No implementation changes.
[SVN r48532]
2008-09-02 10:54:08 +00:00
Jurko Gospodnetić
44088b2c09 Corrected a Boost Build error handling in its modules.jam module, causing an 'unknown errors.error rule' error to be reported instead of the intended one when passing incorrect options to the import rule.
[SVN r48518]
2008-09-01 16:04:42 +00:00
Jurko Gospodnetić
9e3fe0d783 Cleaned up Boost Build example readme.txt files a bit.
[SVN r48507]
2008-08-31 22:28:38 +00:00
Jurko Gospodnetić
f9cef443c1 Updated the Boost Build build/targets.jam module so its comments reference the term Jamroot instead of project-root.jam.
[SVN r48506]
2008-08-31 22:18:22 +00:00
Jurko Gospodnetić
3287963074 Consistently renamed Boost Build scripts. Jamfile.v2 & Jamfile renamed to jamfile.jam. Jamroot, Jamroot.v2 & project-root.jam renamed to jamroot.jam. Minor stylistic changes to several Boost Build example documentation files.
[SVN r48505]
2008-08-31 22:15:50 +00:00
Jurko Gospodnetić
f20f88b91d Renamed differently named Jamroot and Jamfile files throughout Boost Build's test suite to jamroot.jam & jamfile.jam. Stylistic changes throughout the whole Boost Build test suite.
[SVN r48504]
2008-08-31 21:42:27 +00:00
Jurko Gospodnetić
0d08ed3c8e Minor stylistic comment change in the Boost Build targets.jam module.
[SVN r48503]
2008-08-31 21:33:48 +00:00
Jurko Gospodnetić
39081e72c3 Cleaning up some command line parsing where on some OS's quotes are stripped by the OS and on some they are not. This fixes a failing Boost Build configuration.py unit test on Cygwin.
[SVN r48502]
2008-08-31 21:31:32 +00:00
Jurko Gospodnetić
b7048f3c50 Corrected a comment typo in Boost Build's main build-system.jam module.
[SVN r48501]
2008-08-31 21:29:00 +00:00
Jurko Gospodnetić
284c0935ac Added a new utility.unquote() rule to the Boost Build util/utility.jam module. Tests included. This is part of cleaning up some command line parsing where on some OS's quotes are stripped by the OS and on some they are not.
[SVN r48500]
2008-08-31 21:25:03 +00:00
Jurko Gospodnetić
0087ca36a8 Cleaned up the Boost Build util/utility.jam module a bit. Reordered the rule definitions alphabetically. Added better testing for the ungrist rule. Added better documentation comments.
[SVN r48499]
2008-08-31 21:22:58 +00:00
Jurko Gospodnetić
0776463f82 Minor stylistic changes in the Boost Build build/targets.jam module.
[SVN r48497]
2008-08-31 14:27:51 +00:00
Jurko Gospodnetić
36216e3df8 Minor stylistic code indentation and comment changes made to Boost Build's build/generators.jam module.
[SVN r48494]
2008-08-31 10:53:36 +00:00
Jurko Gospodnetić
5d27375a9b Corrected a slight internal defect in Boost Build's tools/package.jam module. There some properties getting passed to stage rules were getting constructed incorrectly (had an extra grist component) and the code did work but purely by accident.
[SVN r48481]
2008-08-31 00:17:22 +00:00
Jurko Gospodnetić
b14209b789 Major stylistic changes throughout the Boost Jam source base. No implementation changes.
Cleanup done while researching the Boost Jam internals. Added better implementation description comments at many places. Cleaned up the 'dependant' and 'dependency' terminology that got mixed up in several places. Renamed several functions to use underscores as word separators.

[SVN r48480]
2008-08-30 23:56:49 +00:00
Jurko Gospodnetić
0675a48c5b Minor stylistic changes made to the Boost Build util/option.jam module.
[SVN r48476]
2008-08-30 16:23:59 +00:00
Jurko Gospodnetić
00172f18b3 Minor stylistic changes in the tools/package.jam Boost Build module.
[SVN r48467]
2008-08-30 00:21:59 +00:00
K. Noel Belcourt
d8a723ee41 Forgot to remove -xarch=generic from both sun
and sunpro toolsets.



[SVN r48465]
2008-08-29 20:51:13 +00:00
K. Noel Belcourt
3cd298ec00 Removed the -xarch=generic architecture from build.jam
as this option is unknown so the Sun compilers on Linux.
As -xarch=generic is the default on the Sun, there should
be no impact to the Sun platform.



[SVN r48464]
2008-08-29 20:44:31 +00:00
Jurko Gospodnetić
276f2fe9bb Changed invalid '&' signs int the Boost Build documentation sources to the word 'and'.
[SVN r48453]
2008-08-29 15:56:01 +00:00