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

4101 Commits

Author SHA1 Message Date
Jurko Gospodnetić
599236bbc6 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ć
8782551caa 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ć
5c98e2c99a Minor comment typo correction in the Boost Build build/type.jam module.
[SVN r48593]
2008-09-05 01:48:36 +00:00
Jurko Gospodnetić
17a7cb97ac 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ć
93886c0143 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ć
13d30f14be 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ć
5a9ccbf6ec Minor stylistic changes in several Boost Build unit tests.
[SVN r48589]
2008-09-04 23:12:25 +00:00
Jurko Gospodnetić
1a332dc93e 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ć
63a58ff848 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ć
b5600515c9 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ć
1a1a90ff6a Minor stylistic changes made to the Boost Build build/toolset.jam module.
[SVN r48585]
2008-09-04 21:26:53 +00:00
Jurko Gospodnetić
6a1135780b 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ć
683177d0b6 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ć
223047045e 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
6abb5a13b6 Pass -X 64 to ar only on AIX. Fixes #2281.
[SVN r48573]
2008-09-04 07:53:22 +00:00
Jurko Gospodnetić
0716e07f97 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ć
a29eaff127 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ć
627ef555f6 Minor stylistic changes in the Boost Build tools/common.jam module.
[SVN r48569]
2008-09-03 21:06:58 +00:00
Jurko Gospodnetić
ea89c3ca07 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ć
42280c7a0f 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ć
0c0955ab0a 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ć
bf2f88f426 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ć
7f3fee011f Cleaned up Boost Build example readme.txt files a bit.
[SVN r48507]
2008-08-31 22:28:38 +00:00
Jurko Gospodnetić
0b2c84091e 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ć
d49c7057c2 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ć
5edbde2a57 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ć
ae5be2637d Minor stylistic comment change in the Boost Build targets.jam module.
[SVN r48503]
2008-08-31 21:33:48 +00:00
Jurko Gospodnetić
8dd8f437c6 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ć
5d8c130d7e 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ć
78483280a0 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ć
c0f8ab5da0 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ć
10205190cd Minor stylistic changes in the Boost Build build/targets.jam module.
[SVN r48497]
2008-08-31 14:27:51 +00:00
Jurko Gospodnetić
a95d5a66ef 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ć
f5c380d351 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ć
2f36e7187f 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ć
cd77b34011 Minor stylistic changes made to the Boost Build util/option.jam module.
[SVN r48476]
2008-08-30 16:23:59 +00:00
Jurko Gospodnetić
3bfe8f4aad Minor stylistic changes in the tools/package.jam Boost Build module.
[SVN r48467]
2008-08-30 00:21:59 +00:00
K. Noel Belcourt
094e1f06b5 Forgot to remove -xarch=generic from both sun
and sunpro toolsets.



[SVN r48465]
2008-08-29 20:51:13 +00:00
K. Noel Belcourt
3ebfc11f04 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ć
6e4634ca53 Changed invalid '&' signs int the Boost Build documentation sources to the word 'and'.
[SVN r48453]
2008-08-29 15:56:01 +00:00
Jurko Gospodnetić
b39f1cdf15 Minor stylistic changes throughout Boost Jam sources. Mostly corrected indentation, removed trailing spaces and updated comments.
[SVN r48445]
2008-08-29 12:59:49 +00:00
Jurko Gospodnetić
4937846f5d Minor stylistic changes made to the Boost Build make example test.
[SVN r48443]
2008-08-29 12:35:11 +00:00
Jurko Gospodnetić
3f69eb2395 Minor stylistic changes made to the Boost Build make example.
[SVN r48442]
2008-08-29 12:34:26 +00:00
Jurko Gospodnetić
55fb42537b Made the Boost Build make example work correctly when run from a folder whose path contains spaces. This unbreaks the Boost Build make_example.py test when run under such circumstances.
[SVN r48441]
2008-08-29 12:29:34 +00:00
Jurko Gospodnetić
05f0c7f8d2 Updated Boost Jam with minor stylistic changes in end-user messages when reporting on target fate. Fixed a bug with T_FATE_ISTMP getting reported as T_FATE_ISTMP & T_FATE_NEEDTMP at the same time due to a missing break in a switch statement.
[SVN r48431]
2008-08-29 00:16:40 +00:00
Jurko Gospodnetić
74eb969e43 Fixed a Boost Jam bug causing it to sometimes trigger actions depending on targets that have not been built yet. Test case included. Updated related code comments.
Bug was happening when we had a multifile action that got triggered to build its non-initial target. Then while that action was being executed all the other targets were reporting as 'already built' and were getting used by other actions prematurely. Quick-fixed by making all targets built by a single action list each other as 'included' causing anything else depending on any of these targets to automatically depend on all the others in the group as well.

The solution is not perfect as it might have some unexpected interactions with other uses of 'included' targets and now if any target in a group is not up to date then all of them will be rebuilt even if actually did not need the target that was up to date. On the other hand this should be a really rare use case as it would require the one target in a group to be up to date and be needed while another in the same group (i.e. built by the same action) to not be up to date.

[SVN r48426]
2008-08-28 19:20:27 +00:00
Vladimir Prus
063233ae1f Make build_file test work on Linux
[SVN r48389]
2008-08-25 19:09:30 +00:00
Vladimir Prus
613ab83963 Actually unbreak the 'make' test
[SVN r48388]
2008-08-25 19:05:39 +00:00
Vladimir Prus
ea6706743b Unbreak file_name_handling on Linux.
The "(" and ")" characters have special meaning to the shell, and must be quoted.


[SVN r48387]
2008-08-25 18:55:06 +00:00
Jurko Gospodnetić
4efc32dc3c Minor stylistic alias.jam Boost Build module changes.
[SVN r48367]
2008-08-25 02:58:17 +00:00