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

11302 Commits

Author SHA1 Message Date
Victor Robertson
851c19fa6b Fix strip-eol for long command output
Previously, when shell command output exceeded the 1024 character
buffer size, each chunk of output would be stripped. This had the
undesirable effect of sometimes breaking compilation by splitting on
whitespace boundaries. This patch addresses the issue by providing a
string_rtrim function and utilizing the function on the output string
instead of each buffered component.
2016-11-04 16:30:44 -07:00
Rene Rivera
e500f11922 Merge pull request #146 from stefanseefeld/develop
Fix NumPy detection bug in numpy-test.
2016-10-28 12:32:01 -05:00
Stefan Seefeld
1be1c5b42c Fix NumPy detection bug in numpy-test. 2016-10-28 13:24:49 -04:00
Aaron Boman
710428b638 Fix unintentional masking of ImportErrors. Closes #121 2016-10-27 20:22:06 -05:00
Aaron Boman
be1cadf2f3 Make properties sorted, just like Jam. 2016-10-27 20:22:06 -05:00
Aaron Boman
cf04401049 Fix test_rc for Py26 tests. 2016-10-27 20:22:06 -05:00
Aaron Boman
1a51b6aa07 Fix dependency_property test. 2016-10-27 20:22:05 -05:00
Aaron Boman
8c656bab6b Fix indirect_conditional test. 2016-10-27 20:22:05 -05:00
Aaron Boman
5369b25498 Partially fix test_rc. 2016-10-27 20:22:05 -05:00
Aaron Boman
fd29f0fc99 Fix stage test 2016-10-27 20:22:05 -05:00
Aaron Boman
0490f58071 Fix source_order test 2016-10-27 20:22:05 -05:00
Aaron Boman
db45f34192 Fix scanner_causing_rebuilds test 2016-10-27 20:22:04 -05:00
Aaron Boman
a08ec65a24 Fix regression test 2016-10-27 20:22:04 -05:00
Aaron Boman
7c656245fb Partially fix project_test3 2016-10-27 20:22:04 -05:00
Aaron Boman
b55a11515a Fix message test. 2016-10-27 20:22:04 -05:00
Aaron Boman
1731a892f0 Fix BasicTarget type assertions 2016-10-27 20:22:04 -05:00
Aaron Boman
0ef26673c5 Fix inherit_toolset test. 2016-10-27 20:22:04 -05:00
Aaron Boman
daa173da70 Fix error message in project.py 2016-10-27 20:22:03 -05:00
Aaron Boman
a77502735e Fix configuration test. 2016-10-27 20:22:03 -05:00
Aaron Boman
b90915009e Fix generator_selection test.
Allow generators.register_standard() to be called from Jam.
2016-10-27 20:22:03 -05:00
Aaron Boman
1bd0eab600 Enable type checking for Python tests. 2016-10-27 20:22:03 -05:00
Aaron Boman
6cac5a21e5 Fix default_build test. 2016-10-27 20:22:03 -05:00
Aaron Boman
0b02b48235 Make the src directory a Python package. 2016-10-27 20:22:03 -05:00
Aaron Boman
f993e75a7f Fix conditionals_multiple test. 2016-10-27 20:22:02 -05:00
Aaron Boman
601a721ad5 Optimize Engine.set_target_variable().
This removes the extra call to do_set_target_variable() because
it's possible for target variables to be set during the build phase.
The extra call added a decent amount of overhead. Addtionally,
rather than setting the target variables for each target (via the
for loop), the bjam interface "set-target-variable" rule allows
for taking in a list of targets. Thus, even more function calls are
avoided.
2016-10-27 20:22:02 -05:00
Aaron Boman
18e423e405 Optmize apply_default_build(). 2016-10-27 20:22:02 -05:00
Aaron Boman
ca9b6035ba Optimize PropertySet class. 2016-10-27 20:22:02 -05:00
Aaron Boman
5292c95e29 Optimize PropertySet creation.
The Property class has been updated so that passing in the same
parameters will always return the same Property instance. Since
no duplicate Property instances will be created, we can assign
a unique ID to each instance. This allows us to create a faster
lookup key when determining whether to create a new PropertySet
or use an existing one as integer comparison is much faster than
(string, string) comparison.
2016-10-27 20:22:02 -05:00
Aaron Boman
7f7995879b Optimize Property comparisons. 2016-10-27 20:22:02 -05:00
Aaron Boman
6f04175044 Convert all Property and Feature gettters to attribute access. 2016-10-27 20:22:01 -05:00
Aaron Boman
42ffca9c1c Optimize replace_grist() and forward_slashes(). 2016-10-27 20:22:01 -05:00
Aaron Boman
e3b93cffcb Optimize set.difference(). 2016-10-27 20:22:01 -05:00
Aaron Boman
0999a4f1ef Optimize CScanner in builtin.py 2016-10-27 20:22:01 -05:00
Aaron Boman
4bbde8e2b8 Fix duplicate virtual target error message. 2016-10-27 20:22:01 -05:00
Aaron Boman
0228b8ed7d Various fixes in toolset.py 2016-10-27 20:22:00 -05:00
Aaron Boman
8c406a88cf Save best alternative on metatargets.
This is useful for virtual target reporting to report which
alternative was chosen.
2016-10-27 20:22:00 -05:00
Aaron Boman
51e665fc45 Various fixes in targets.py 2016-10-27 20:22:00 -05:00
Aaron Boman
bb1fa52a2f Set target location on metatargets. 2016-10-27 20:22:00 -05:00
Aaron Boman
f663fd8163 Update set_abbreviated_paths() to work from Jam. 2016-10-27 20:22:00 -05:00
Aaron Boman
42e0899eed Add bjam_signature() to feature.extend(). 2016-10-27 20:22:00 -05:00
Aaron Boman
67bafcd133 Add LazyProperty class for delayed Property evaluation. 2016-10-27 20:21:59 -05:00
Aaron Boman
d7b2e0974c Update gitignore to ignore *.pyo and b2/bjam.exe 2016-10-27 20:21:59 -05:00
Aaron Boman
0055072ad6 Support passing --stacktrace to tests. 2016-10-27 20:21:59 -05:00
Aaron Boman
88f567f2ff Prevent backreferences from breaking regex.transform(). 2016-10-27 20:21:59 -05:00
Aaron Boman
a56aca9212 Fix path.glob(). 2016-10-27 20:21:59 -05:00
Aaron Boman
1c315cf87b Update unix.ArchiveGenerator.run(). 2016-10-27 20:21:59 -05:00
Aaron Boman
1080608e11 Remove CScanner from cpp.py as it was already declared in builtin.py 2016-10-27 20:21:58 -05:00
Aaron Boman
8ee37e2afe Fix asm.set_asm_type() return value. 2016-10-27 20:21:58 -05:00
Aaron Boman
83de3c5827 Fix call to alias() in testing.py. 2016-10-27 20:21:58 -05:00
Aaron Boman
404ae8a89d Incorrect type passed in rc.py 2016-10-27 20:21:58 -05:00