| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, quoted empty arguments like '', '""', "''" were
added to targets, which had some side effects - a blank would
eventually turn into a Node for the top directory, meaning
Default calls were ignored since a target is specified and
thus the whole tree will be built.
Fixes #2986
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
chat discussion: this should work to not use a site_dir:
$ export SCONSFLAGS=--site-dir=foo
$ scons --no-site-dir
Commit changes the two options to write to the same variable,
so "last one on command line wins" works out. Added a test for
this to test/site_scons/site-dir.py.
Manpage updated to clarify the order of considering SCONSFLAGS,
since order does matter.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
A big of reformatting; some options changed to explicitly
use True / False (functionally no change from 0/1).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A line is now emitted showing sconsign sync time if --debug=time
Some calls to time.time replaced with time.perf_counter, where the
objective was to time sections of code (i.e. where there wasn't
an actual need to get time-since-epoch) - Python recommends this
as getting the best-available timer.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ \
| |/ |
|
| |
| |
| |
| | |
should always return a positive integer. The fake threading module dummy_threading will always return -1
|
| |
| |
| |
| | |
SCons.Script.main
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Touches the first and second levels of SCons (except SCons.Tool),
not tests or docs which remain TODO.
Make sure docstring is first non-comment content, eliminate cases where
docstring is set elsewhere but assigns to __doc__ - this approach of
course worked inside Python, but confuses various tools.
Some module-level docstrings modified a bit, in particular
the convention of having the name of the module as the first line
is dropped, replaced by a summary description going there instead -
this improves the look in the API Docs, which otherwise display
something like:
SCons.Foo - SCons.Foo
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
| |
This change adds support for a new --hash-format parameter that can be used to
override the default hash format used by SCons. The default remains MD5, but
this allows consumers to opt into SHA1, SHA256, or any other hash algorithm
offered by their implementation of hashlib.
|
|
|
|
| |
Do the "* 1024" when setting File.md5_chunksize, not when using it later.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Files written to in logging operations could remain unclosed: more
modern Pythons grumble about this; given the type of Python build,
could emit ResourceWarning messages which cause tests to fail.
Close by registering calls with atexit.
Affects Trace, cache debug, taskmastertrace, configure.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
| |
In Python3 this is the default.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
with current python packaging practices
|