| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |\ \ \ \
| | | | | |
| | | | | | |
Make conftests generated and/or built files have unique names - Issue #3469
|
| | | | | | |
|
| | |\ \ \ \ |
|
| | | |\ \ \ \
| | | | |/ / / |
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | | |
requires an action to call get_contents() to create hash for file naming
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
new scheme to add contents and action hash to file name to avoid mistakenly reusing the wrong temp file based on changing the order and/or number of the configure tests being run between successive runs
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
configure temporary file naming via content and action hash
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |/ / /
| |/| | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The new Python scanner had a couple of regexes not specified as
raw strings. Python 3.9a3 complains about invalid escape, causing
the option/debug-count test to fail. Adding the 'r' fixes.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\ \ \ \
| | | | | |
| | | | | | |
docs: refer *COM* and SH*COM* to each other [ci skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
per review, note a reason for referring a static/shared
construction variable to its shared/static analogue.
added a few more xrefs.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[fixes #2565] Object code intended for use in a shared library may need
different compilation options than object code not intended for such
use. When SCons tools recognize this need they define parallel sets
of variables, such that for FOO there is both FOOCOM and SHFOOCOM,
FOOCOMSTR and SHFOOCOMSTR, etc. Refer such pairs to each other.
Issue 2565 described a case where a user did not realize they needed to
use SHCXXCOMSTR to affect the output for certain C++-compiled objects.
The discussion concluded this was just a doc fix.
Some examination turned up cases of this in docs for the C compiler,
C++ compiler, D compiler, Fortran compiler and linker modules, seemed
better to just hit all of those.
I would have preferred to move the pairs together into a single entry
but it seems the scons doc markup doesn't support this kind of usage -
a <cvar> can take only a single name attribute, and uses it to
generate tags, etc. so there would have been a ton of surgery
needed to implement that way.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Tweak docs a bit [ci skip]
|
| | |/ / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Some clarification on Aliases.
* Markup improvements.
* Custom decider manpage entry didn't mention fourth arg.
While fixing that, noticed an ordering problem in matching
User Guide section, and converted example there to use
hasttr instead of depending on mainly-for-REPL dir() function.
* Call it "empty string" instead of "null string" (more common
Python terminology)
* Fix the table of installers (again, seems old fixes got lost)
* Added a note on installation to try to forestall common confusion.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Per review, the replacement for (deprecated/removed) raising TestFailed
is to call self.fail - updated to this.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These are of the kind that would not be fixed by a code reformat
(Black). These should all be trivial. They're nearly all in unit tests
(all but two), since I haven't cleaned up as many there in the past.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Stop converting to list where not needed
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Per review comment - with extra caution, use an order-preserving
technique rather than a non-preserving one, in case it matters.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Python 3 returns a special object, which is iterable, rather than
a list when you ask for dictionary keys(), values(), items(). if
you then proceed to iterate over it it's being used as expected and
doesn't have to be forced to a list first. This occurs a number of
places in this form:
for k in list(something.keys()):
Also there are several places where the code loops over the result
of dict.keys() and then uses the key to index into the dictionary,
this can be replaced by:
for k, v in something.items():
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Value()'s
|
| |\ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
Add support for Value objects being implicit dependencies
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This change integrates various review feedback, including:
1. Validates the result of Dir.get_contents() in PythonTests.py.
2. Adds a functional test for having value as a dependency.
|
| | |\ \ \ \ \
| | | | |_|_|/
| | | |/| | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
As part of consolidating outside dependencies, the code I work on takes on
Value objects as implicit dependencies. That allows us to take on a dependecy
to an entire build (e.g. our compiler) rather than 500 files from it.
This has worked fine in practice for months now, but it turns out to break
when using caching, because Node.get_contents() expects all dependencies to
have the "name" attribute. This change adds that attribute to the Value class
and a test to confirm that Node.get_contents() works now.
|
| | |_|/ / /
| |/| | | | |
|
| | | | | | |
|
| |\ \ \ \ \
| | | | | | |
| | | | | | | |
Add Python scanner and tests
|
| | | | | | | |
|
| | | | | | | |
|
| | |\ \ \ \ \
| | | | |/ / /
| | | |/| | | |
|
| | |\ \ \ \ \ |
|
| | |\ \ \ \ \ \ |
|
| | | | | | | | | |
|
| | | | | | | | | |
|
| | |\ \ \ \ \ \ \ |
|
| | | | | | | | | | |
|
| | |\ \ \ \ \ \ \ \
| | | | |_|_|_|_|_|/
| | | |/| | | | | | |
|
| | | | | | | | | | |
|