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

10944 Commits

Author SHA1 Message Date
Rene Rivera
9dc48843f8 Add the test target name to the bjam XML log output to make it easier to match tests to jam targets.
[SVN r44790]
2008-04-26 22:21:50 +00:00
K. Noel Belcourt
35678b5462 Get config tests working (missing -lrt).
[SVN r44768]
2008-04-25 17:37:47 +00:00
K. Noel Belcourt
abf4a6418e Get config tests working (missing -lrt).
[SVN r44768]
2008-04-25 17:37:47 +00:00
K. Noel Belcourt
4bd6b9f554 Force pgi to always link rt lib, ugh.
[SVN r44747]
2008-04-24 04:58:27 +00:00
K. Noel Belcourt
d3c72b24cb Force pgi to always link rt lib, ugh.
[SVN r44747]
2008-04-24 04:58:27 +00:00
K. Noel Belcourt
3edb5bc662 Fixup patch to intel-darwin.jam so it looks and
reads a bit better.



[SVN r44746]
2008-04-24 01:40:31 +00:00
K. Noel Belcourt
0c5d3e7493 Fixup patch to intel-darwin.jam so it looks and
reads a bit better.



[SVN r44746]
2008-04-24 01:40:31 +00:00
K. Noel Belcourt
7ae151c85c Patch PGI to fix config problem (clock_gettime is unresolved
external) and add required macro define for IOV_MAX support.



[SVN r44741]
2008-04-23 16:16:38 +00:00
K. Noel Belcourt
81f4782477 Patch PGI to fix config problem (clock_gettime is unresolved
external) and add required macro define for IOV_MAX support.



[SVN r44741]
2008-04-23 16:16:38 +00:00
K. Noel Belcourt
632a5c2db9 Fixed intel-darwin unresolved symbols by changing the
wide integer type from unsigned int (which managles as
a 'j') to an int (which mangles as an 'i').  This
change makes intel-darwin generated code match the 
darwin toolset generated code.

Intel reports this won't be fixed in 10.1 because it's
an ABI breanking chanage so we won't see this patched 
until the 10.2 compilers.



[SVN r44729]
2008-04-23 01:35:01 +00:00
K. Noel Belcourt
4781a9ecf9 Fixed intel-darwin unresolved symbols by changing the
wide integer type from unsigned int (which managles as
a 'j') to an int (which mangles as an 'i').  This
change makes intel-darwin generated code match the 
darwin toolset generated code.

Intel reports this won't be fixed in 10.1 because it's
an ABI breanking chanage so we won't see this patched 
until the 10.2 compilers.



[SVN r44729]
2008-04-23 01:35:01 +00:00
Roland Schwarz
97717fbd0b removed act-as-jamfile, which gives errors when boost.use-project is not invoked from Jamroot file.
[SVN r44691]
2008-04-21 11:46:03 +00:00
Roland Schwarz
bdeadd30b0 removed act-as-jamfile, which gives errors when boost.use-project is not invoked from Jamroot file.
[SVN r44691]
2008-04-21 11:46:03 +00:00
Roland Schwarz
3423e10887 relaxed test, ignoring case of drive letter.
Thanks to Mat Marcus for the fix.

[SVN r44551]
2008-04-18 18:11:03 +00:00
Roland Schwarz
3975f3105a relaxed test, ignoring case of drive letter.
Thanks to Mat Marcus for the fix.

[SVN r44551]
2008-04-18 18:11:03 +00:00
Jurko Gospodnetić
7af8ea6a1b Removed an extra unused 'executed' feature attribute.
[SVN r44495]
2008-04-17 11:56:16 +00:00
Jurko Gospodnetić
11a57cc021 Removed an extra unused 'executed' feature attribute.
[SVN r44495]
2008-04-17 11:56:16 +00:00
Jurko Gospodnetić
9178f8d0c4 Minor stylistic comment changes.
[SVN r44436]
2008-04-15 17:44:31 +00:00
Jurko Gospodnetić
021297d25c Minor stylistic comment changes.
[SVN r44436]
2008-04-15 17:44:31 +00:00
Roland Schwarz
11032ed140 Added "contrib" subdirectory for user contributed modules that are not yet fully reviewed.
Added first module: boost.jam for linking to prebuilt (decorated) boost libraries.

[SVN r44411]
2008-04-14 13:27:46 +00:00
Roland Schwarz
ddf1479809 Added "contrib" subdirectory for user contributed modules that are not yet fully reviewed.
Added first module: boost.jam for linking to prebuilt (decorated) boost libraries.

[SVN r44411]
2008-04-14 13:27:46 +00:00
Rene Rivera
8a3e1055bc Add multiple requirements for toolset subconditions instead of one composite as they are not supported for conditional requirements. Thanks to Roland for finding the problem.
[SVN r44354]
2008-04-12 19:44:47 +00:00
Rene Rivera
7ec865e5bc Add multiple requirements for toolset subconditions instead of one composite as they are not supported for conditional requirements. Thanks to Roland for finding the problem.
[SVN r44354]
2008-04-12 19:44:47 +00:00
John Maddock
9d886f8c45 When -lrt is needed, it's needed in *both* single and multi-threaded builds.
[SVN r44347]
2008-04-12 16:02:24 +00:00
John Maddock
df5a46c2a9 When -lrt is needed, it's needed in *both* single and multi-threaded builds.
[SVN r44347]
2008-04-12 16:02:24 +00:00
Roland Schwarz
ca6ccbc62f Fixed a bug in for seldom used argument <property:/property-name/> in rule format-name.
Added /property-name/ may be a regex.

[SVN r44343]
2008-04-12 11:02:35 +00:00
Roland Schwarz
3d2aeda1dc Fixed a bug in for seldom used argument <property:/property-name/> in rule format-name.
Added /property-name/ may be a regex.

[SVN r44343]
2008-04-12 11:02:35 +00:00
Jurko Gospodnetić
1b601354c0 Implemented a patch contributed by Igor Nazarenko reimplementing the list_sort() function to use a C qsort() function instead of a hand-crafted merge-sort algorithm. Makes some list sortings (e.g. 1,2,1,2,1,2,1,2,...) extremely faster, in turn significantly speeding up some project builds.
[SVN r44195]
2008-04-11 21:03:06 +00:00
Jurko Gospodnetić
44f0865599 Implemented a patch contributed by Igor Nazarenko reimplementing the list_sort() function to use a C qsort() function instead of a hand-crafted merge-sort algorithm. Makes some list sortings (e.g. 1,2,1,2,1,2,1,2,...) extremely faster, in turn significantly speeding up some project builds.
[SVN r44195]
2008-04-11 21:03:06 +00:00
Jurko Gospodnetić
116f956f3c Comment typo correction.
[SVN r44172]
2008-04-11 10:51:43 +00:00
Jurko Gospodnetić
b43a22503d Comment typo correction.
[SVN r44172]
2008-04-11 10:51:43 +00:00
Rene Rivera
69edbd4ede Initial support for cross-compiling to ARM architecture.
[SVN r44167]
2008-04-11 07:50:47 +00:00
Rene Rivera
88190045a4 Initial support for cross-compiling to ARM architecture.
[SVN r44167]
2008-04-11 07:50:47 +00:00
Rene Rivera
272cddf6d7 Add support for toolset requirements at the definition level.
[SVN r44166]
2008-04-11 05:36:28 +00:00
Rene Rivera
6affa2ddcc Add support for toolset requirements at the definition level.
[SVN r44166]
2008-04-11 05:36:28 +00:00
Rene Rivera
7e238d9b7c Use local sorted() function to support Python < 2.4.
[SVN r44165]
2008-04-11 05:34:00 +00:00
Rene Rivera
23cf7db67e Use local sorted() function to support Python < 2.4.
[SVN r44165]
2008-04-11 05:34:00 +00:00
Rene Rivera
a70059725f Add ARM architecture/instrustion-set.
[SVN r44139]
2008-04-09 21:20:28 +00:00
Rene Rivera
6d681aae0f Add ARM architecture/instrustion-set.
[SVN r44139]
2008-04-09 21:20:28 +00:00
Jurko Gospodnetić
d7407a9ee1 Fixed a bug with bjam not handling the '\' root Windows path correctly without its drive letter being specified. One effect could be seen by MkDir rule on such a path always attempting to create its base folder even if that folder already exists. For example if you attempted to create folder '\Projects\XYZ\BuildDir' it would incorrectly think that '\Projects' folder does not exist and attempt to create it - thus causing the whole build to fail due to the underlying OS mkdir command failing.
This was caused by the file_dirscan() function in the filent.c module not working correctly when passed '\' as its dir. It then messed up when formatting its file-selection parameter for the _findfirst()/findfirst() API and constructed it as '\/*' which caused that API to fail and return -1 which was in turn being interpreted as 'file not found'.


[SVN r44088]
2008-04-07 10:32:09 +00:00
Jurko Gospodnetić
b624553db8 Fixed a bug with bjam not handling the '\' root Windows path correctly without its drive letter being specified. One effect could be seen by MkDir rule on such a path always attempting to create its base folder even if that folder already exists. For example if you attempted to create folder '\Projects\XYZ\BuildDir' it would incorrectly think that '\Projects' folder does not exist and attempt to create it - thus causing the whole build to fail due to the underlying OS mkdir command failing.
This was caused by the file_dirscan() function in the filent.c module not working correctly when passed '\' as its dir. It then messed up when formatting its file-selection parameter for the _findfirst()/findfirst() API and constructed it as '\/*' which caused that API to fail and return -1 which was in turn being interpreted as 'file not found'.


[SVN r44088]
2008-04-07 10:32:09 +00:00
Jurko Gospodnetić
556474bbb2 Solved the problem with child process returning the value 259 (Windows constant STILL_ACTIVE) causing bjam never to detect that it exited and therefore keep running in an endless loop. Done by relying on the Windows WaitForMultipleObjects() function to detect when a process has exited instead of GetExitCodeProcess(). The later function's MSDN article (http://msdn2.microsoft.com/en-us/library/ms683189(VS.85).aspx) warns about this problem.
Solved the problem with bjam going into an active wait state, hogging up processor resources, when waiting for one of its child processes to terminate while not all of its available child process slots are being used. To see this bug in action, try compiling a simple C++ program on a 2 processor PC with the -j 2 command-line option and watching how much processor resources bjam uses while linking. Was caused by treating unused process slots as used in the try_wait() function, causing the WaitForMultipleObjects() Windows API call to exit instantly with an error which was then getting incorrectly interpreted as a timeout, starting the whole cycle anew.

  Solved a race condition between bjam's output reading/child process termination detection and the child process's output generation/termination which could have caused bjam not to collect the terminated process's final output.

  Extracted all GetExitCodeProcess() API calls into one location so it no longer gets called in three separate places.

  Minor comment changes in code touched by previous fixes.


[SVN r44087]
2008-04-07 09:55:18 +00:00
Jurko Gospodnetić
0fcdc894ac Solved the problem with child process returning the value 259 (Windows constant STILL_ACTIVE) causing bjam never to detect that it exited and therefore keep running in an endless loop. Done by relying on the Windows WaitForMultipleObjects() function to detect when a process has exited instead of GetExitCodeProcess(). The later function's MSDN article (http://msdn2.microsoft.com/en-us/library/ms683189(VS.85).aspx) warns about this problem.
Solved the problem with bjam going into an active wait state, hogging up processor resources, when waiting for one of its child processes to terminate while not all of its available child process slots are being used. To see this bug in action, try compiling a simple C++ program on a 2 processor PC with the -j 2 command-line option and watching how much processor resources bjam uses while linking. Was caused by treating unused process slots as used in the try_wait() function, causing the WaitForMultipleObjects() Windows API call to exit instantly with an error which was then getting incorrectly interpreted as a timeout, starting the whole cycle anew.

  Solved a race condition between bjam's output reading/child process termination detection and the child process's output generation/termination which could have caused bjam not to collect the terminated process's final output.

  Extracted all GetExitCodeProcess() API calls into one location so it no longer gets called in three separate places.

  Minor comment changes in code touched by previous fixes.


[SVN r44087]
2008-04-07 09:55:18 +00:00
Jurko Gospodnetić
16996b4c0f Made the msvc toolset registration example consistent with its comment and added an additional one specifying the exact msvc version. Many stylistic comment changes.
[SVN r44086]
2008-04-06 22:36:59 +00:00
Jurko Gospodnetić
17a7f79f67 Made the msvc toolset registration example consistent with its comment and added an additional one specifying the exact msvc version. Many stylistic comment changes.
[SVN r44086]
2008-04-06 22:36:59 +00:00
Vladimir Prus
55ac085435 Make xsltproc more usable standalone.
* tools/xsltproc.jam (xslt-xsltproc): Bind STYLESHEET.
	(xslt-xsltproc-dir): Likewise.

Thanks to Eric Woodruff for the bug report.


[SVN r44067]
2008-04-06 05:00:28 +00:00
Vladimir Prus
ca078a9f84 Make xsltproc more usable standalone.
* tools/xsltproc.jam (xslt-xsltproc): Bind STYLESHEET.
	(xslt-xsltproc-dir): Likewise.

Thanks to Eric Woodruff for the bug report.


[SVN r44067]
2008-04-06 05:00:28 +00:00
Hartmut Kaiser
bdbfd15c54 Reverted unintenional changes.
[SVN r44060]
2008-04-05 17:03:16 +00:00
Hartmut Kaiser
df70c1065a Reverted unintenional changes.
[SVN r44060]
2008-04-05 17:03:16 +00:00
Hartmut Kaiser
238521ffb2 Reverted accidental change.
[SVN r44024]
2008-04-04 01:26:47 +00:00