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

11252 Commits

Author SHA1 Message Date
Aaron Boman
359f21c237 Fix incorrect type passed in msvc.py 2016-10-27 20:21:58 -05:00
Aaron Boman
aaf9187883 Add support for faster MSVC Startup script. 2016-10-27 20:21:58 -05:00
Aaron Boman
aa49e0a141 Fix msvc.preprocess action name in msvc.py. 2016-10-27 20:21:57 -05:00
Aaron Boman
643bc6f410 Fix toolset.flags() call for 'mc.compile' in mc.py. 2016-10-27 20:21:57 -05:00
Aaron Boman
e50815353e Add preprocessor support in gcc.py/ 2016-10-27 20:21:57 -05:00
Aaron Boman
1fee455656 Fix function called with wrong type in gcc.py. 2016-10-27 20:21:57 -05:00
Aaron Boman
eb097ad804 Fix options bug in gcc.py 2016-10-27 20:21:57 -05:00
Aaron Boman
b4b5e3179e Clean up common.MkDir in common.py. 2016-10-27 20:21:57 -05:00
Aaron Boman
2371e387a0 Make the command line outputs like that of Jam. 2016-10-27 20:21:56 -05:00
Aaron Boman
d5a07dcdb3 Fix get_invocation_command_nodefault().
It was possible for command to be None. Thus, calling ' '.join(None) directly
would error out.
2016-10-27 20:21:56 -05:00
Aaron Boman
8f0b57e54e Fix cast() rule.
Previously, only the TYPE was allowed and not the type's rule.
This brings the Python port up to date with Jam.
2016-10-27 20:21:56 -05:00
Aaron Boman
aa42913e08 Finish porting the ArchivingGenerator. 2016-10-27 20:21:56 -05:00
Aaron Boman
593f615a1a Prevent LinkingGenerator from direclty modifying its source list. 2016-10-27 20:21:56 -05:00
Aaron Boman
a216a9a2c8 Set CScanner as scanner for H and HPP types. 2016-10-27 20:21:56 -05:00
Aaron Boman
0e164d20d2 Fix inconsistency with <asynch-exceptions> in builtin.py. 2016-10-27 20:21:55 -05:00
Aaron Boman
cb8402239d Remove unnecesary comments in build_system.py 2016-10-27 20:21:55 -05:00
Aaron Boman
1281499719 Fix --ignore-toolset-requirements flag. 2016-10-27 20:21:55 -05:00
Aaron Boman
4a37e4b147 Update version.py 2016-10-27 20:21:55 -05:00
Aaron Boman
5471945b4d Fix bjam_signature for set_generated_target_prefix(). Update docs. 2016-10-27 20:21:55 -05:00
Aaron Boman
707a56e9b5 Prevent already registered type error.
A type can be registered as inheriting from a base type, however,
due to lazy loading, it's possible for that base type to not have
been registered yet. Originally, calling type.register() with an
unregistered base type would have registered the base type. Later,
when the base type itself was registered, an error would have been
raised saying that the base type was already registered.

This change allows for lazy loading to occur such that a base type
can be registered after a subtype is has already inherited from it.
2016-10-27 20:21:55 -05:00
Aaron Boman
98f1c4b92f Remove unused import in scanners.py and update base Scanner.process signature. 2016-10-27 20:21:54 -05:00
Aaron Boman
3b453b85e5 Fix typos in project.py 2016-10-27 20:21:54 -05:00
Aaron Boman
b3d45f8694 Fix project initialization and loading.
The recently added __python_module_cache broke project.initialize().
This fixes the standalone Python file loading.
2016-10-27 20:21:54 -05:00
Aaron Boman
7737c858ac Remove unnecessary file. 2016-10-27 20:21:54 -05:00
Aaron Boman
8039dc0fd8 Update generators to match Jam.
The generator methods referred to `bypassed` and `consumed`. `bypassed`
is no longer present in Jam and so any reference to that variable has been
removed.
2016-10-27 20:21:54 -05:00
Aaron Boman
c07100423e Provide help message when generator is handed empty list of sources.
In Jam, the language itself would raise an error when the sources list
was empty. In the Python port, it was assumed that sources was never
empty and would run into an IndexError when the empty sources list
tried to access the first element. This change checks sources first
and provides an error message in the event that sources is empty.

An empty source list can be passed in when the best alternative
evalutates to an empty list of sources. This target is then added
to a typed target, e.g. lib, which requires sources.
2016-10-27 20:21:54 -05:00
Aaron Boman
fbb42355eb Clean up exceptions.py
Run pep8.
BaseException is a builtin class. This renames BaseException to
BaseBoostBuildException. All other custom exceptions that deal
with the Boost.Build framework should inherit from this class.
This makes "catching" all Boost.Build specific exceptions much
easier.
2016-10-27 20:21:53 -05:00
Aaron Boman
9bee7e8d20 Port errors.nearest_user_location(). 2016-10-27 20:21:53 -05:00
Aaron Boman
eee3ebdb2c Allow for actions to be empty.
This allows for an updating rule to not run an action itself,
rather it allows for that rule to delegate to other updating
actions.
2016-10-27 20:21:53 -05:00
Rene Rivera
71029bc5e8 Merge pull request #145 from stefanseefeld/develop
Remove obsolete code.
2016-10-27 09:02:16 -05:00
Stefan Seefeld
3fc8257303 Remove obsolete code. 2016-10-27 08:38:50 -04:00
Rene Rivera
154667bb31 Merge pull request #144 from stefanseefeld/develop
Improve logging.
2016-10-26 20:26:56 -05:00
Stefan Seefeld
a1979fe91c Improve logging. 2016-10-26 20:32:58 -04:00
Rene Rivera
ee9a70268b Fix missing numpy tests.
We ensure that we don't have tests with subdirectories in the name to
avoid a log processing defficiency (and not easily resolved) of not
supporting subdirs for individual tests.
2016-10-26 16:43:55 -05:00
Sergiu Deitsch
594ef7b1da added Intel C++ compiler 17.0 support 2016-10-26 11:59:59 +03:00
Vladimir Prus
2d664c40ae Fix typo. 2016-10-26 11:55:53 +03:00
DD
15956504d0 Minor doc changes
Didn't change line 28, but "check checks" reads bizarrely IMHO. (warning: not native speaker here)
2016-10-26 11:55:32 +03:00
neutric
3f6deabb57 Fix typo 2016-10-26 07:42:09 +02:00
Vladimir Prus
30f772c130 Rename 'feature' to 'foo'. 2016-10-25 12:29:02 +03:00
Vladimir Prus
8c861588d4 Add example of configure check. 2016-10-25 11:54:20 +03:00
Rene Rivera
581030e2ef Add example of running a post test program to that accepts a path to a
dependent test.
2016-10-24 23:55:54 -05:00
Rene Rivera
8e17e84d41 Some examples to: illustrate use of timing info use, and more complex
testing options.
2016-10-24 18:10:19 -05:00
Rene Rivera
face0e8901 Merge pull request #140 from stefanseefeld/python
Add include path for NumPy extension.
2016-10-23 15:57:09 -05:00
Stefan Seefeld
4b099e76b0 Add include path for NumPy extension. 2016-10-20 17:24:36 -04:00
Rene Rivera
898ab3d86b Merge pull request #139 from stefanseefeld/python
Add support for NumPy extension.
2016-10-13 20:43:33 -05:00
Stefan Seefeld
22f41dfa32 Add support for NumPy extension. 2016-10-13 21:16:29 -04:00
Rene Rivera
895196b739 Fix time data test for added clock field. 2016-10-12 08:50:23 -05:00
Rene Rivera
a94e1d0727 Fix testing.time feature and add clock value to it.
The old testing.time feature was horribly broken in the face of the
current b2 virtual target design. This redoes the feature in a friendly
manner to the virtual targets. This also adds the clock (aka wall clock)
timing value to __TIMING_RULE__ invocations.
2016-10-11 23:29:20 -05:00
Rene Rivera
2effafb5df Better timing information. Add wall clock info to -d+4 output. And use
wait4 which gives better resource usage times on Nix.
2016-10-11 10:09:44 -05:00
Rene Rivera
dd06e0e68a Merge branch 'develop' of https://github.com/boostorg/build into develop 2016-10-08 11:29:39 -05:00