summaryrefslogtreecommitdiffstats
path: root/SCons/Tool
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | Merge branch 'master' into jbrill-msvc-warnfixJoseph Brill2022-05-031-18/+18
| | |\ \ \ \ \ \ \
| | * | | | | | | | Rename internal notfound policy dictionary.Joseph Brill2022-05-021-5/+5
| | | | | | | | | |
| | * | | | | | | | Fix set/get notfound policy to return policy symbol instead of internal ↵Joseph Brill2022-05-021-31/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | policy, fix initialization state, rework debug statements.
| | * | | | | | | | Return previous policy when setting msvc notfound policyJoseph Brill2022-04-291-1/+3
| | | | | | | | | |
| | * | | | | | | | Replace msvc_exists in tools exists functions for msvc tools with ↵Joseph Brill2022-04-267-28/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msvc_setup_env_tool that also registers the tool name. The new function may indicate that the tool should be included even when no instances of msvc are installed. This is necessary for some error checking. Add a tool name argument to msvc_setup_env_once as well. Add default msvc version detection. Add a global and environment local policy variable for handling warnings and/or exceptions: error, warn, ignore. By default warnings are produced. Update tests accordingly.
| | * | | | | | | | Simplify msvc version not found exception messages by removing impossible ↵Joseph Brill2022-04-241-21/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | combinations. Update exception message formatting.
| | * | | | | | | | Rework exception message construction when a specified msvc version is not ↵Joseph Brill2022-04-241-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | found. Remove exception for default msvc version and adjust test accordingly.
| | * | | | | | | | Merge branch 'master' into jbrill-msvc-warnfixJoseph Brill2022-04-151-4/+12
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | Raise MSVCVersionNotFound exception instead of returning an empty/undefined ↵Joseph Brill2022-04-121-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dictionary when attempting to find a valid msvc batch script. Raise an MSVCVersionNotFound exception when the default msvc version is requested and there are no msvc versions installed. Suppress raising an MSVCVersionNotFound exception during default msvc tool initialization. Add additional tests.
| | * | | | | | | | | Suppress warning for missing MSVC compiler for initial call to ↵Joseph Brill2022-04-111-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msvc_setup_env with undefined MSVC_VERSION (default tools).
| * | | | | | | | | | added blurb about using NINJA_CMD_ARGS on scons command line when using ↵William Deegan2022-06-132-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ninja tool
| * | | | | | | | | | Moved Variable() for NINJA_CMD_ARGS to options() functionWilliam Deegan2022-06-131-10/+9
| | | | | | | | | | |
| * | | | | | | | | | Added command line variable to pass ninja args through scons.Daniel Moody2022-06-072-2/+21
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | |
* | | | | | | | | | fixed sider complaintDaniel Moody2022-06-071-1/+1
| | | | | | | | | |
* | | | | | | | | | improve help text slightlyDaniel Moody2022-06-071-1/+1
| | | | | | | | | |
* | | | | | | | | | Added option to allow scons to determine if it should skip ninja regeneration.Daniel Moody2022-06-073-45/+110
|/ / / / / / / / /
* | | | | | | | | [ci skip] Add note to handle processes not dying properly by raising ↵William Deegan2022-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception and handling in calling function
* | | | | | | | | Merge branch 'ninja_always_execute' of github.com:dmoody256/scons into ↵William Deegan2022-06-027-52/+70
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ninja_always_execute
| * \ \ \ \ \ \ \ \ Merge branch 'master' into ninja_always_executeWilliam Deegan2022-06-027-52/+70
| |\ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ Merge pull request #4158 from dmoody256/shell_env_gen_listWilliam Deegan2022-06-013-5/+14
| | |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | | Updated SHELL_ENV_GENERATOR to be list of functions now called SHELL_ENV_GENERATORS
| | | * | | | | | | | Updated SHELL_ENV_GENERATOR to be list of functions now called ↵Daniel Moody2022-05-243-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SHELL_ENV_GENERATORS
| | * | | | | | | | | Merge branch 'master' into 4162-python-311-unittestsMats Wichmann2022-05-3022-135/+401
| | |\ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ Merge pull request #4152 from jcbrill/jbrill-msvc-cachefixWilliam Deegan2022-05-261-1/+13
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | MSVC environment vars cache warning for incompatible format
| | | | * | | | | | | | | Issue warning for incompatible cache format and continue; file possibly ↵Joseph Brill2022-05-191-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | overwritten.
| | | | * | | | | | | | | Raise exception for unexpected cache file formatJoseph Brill2022-05-171-1/+9
| | | | | |_|_|_|_|_|_|/ | | | | |/| | | | | | |
| | | * | | | | | | | | Fix review comments. [skip appveyor]Mats Wichmann2022-05-251-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | | * | | | | | | | | Tweak the swig tool documentation [skip appveyor]Mats Wichmann2022-05-231-43/+34
| | | | |/ / / / / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor changes: the spelled-out name of the tool as used in SCons docs was not the same as the manpage uses, and it was repeated a bunch of times spelled out for no good reason. Just turned it all into uses of &swig; entity. A bit of tweaking of some of the entries. SWIGCXXFILESUFFIX had a copy-paste error, it referred to CFILESUFFIX instead of CXXFILESUFFIX. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | | | | | | | Fix some Py 3.11 depr warns in testsMats Wichmann2022-05-302-2/+6
| | | |_|_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of unittest methods that a few SCons tests use have been marked deprecated in Python 3.11, with replacements provided. Partial fix for #4162, do not close just off this PR. Signed-off-by: Mats Wichmann <mats@linux.com>
* | | | | | | | | | Fix sider complaintsWilliam Deegan2022-06-021-2/+1
|/ / / / / / / / /
* | | | | | | | | Move logic which waits for a process to die into SCons.Util ↵William Deegan2022-06-021-27/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wait_for_process_to_die(pid)
* | | | | | | | | Merge branch 'master' into ninja_always_executeDaniel Moody2022-05-248-28/+164
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge remote-tracking branch 'upstream/master' into ↵William Deegan2022-05-224-17/+152
| |\ \ \ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | | | | | | | | | | | feature/minor_java_improvements
| | * | | | | | | Merge pull request #4111 from mwichmann/msvc/cachefixWilliam Deegan2022-05-152-7/+38
| | |\ \ \ \ \ \ \ | | | |_|_|_|_|_|/ | | |/| | | | | | Tweak the MSVC environment vars cache
| | | * | | | | | Drop leading '.' from cachefile nameMats Wichmann2022-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't need to be named .scons_msvc_cache.json, does not feel like it's really a "hidden" file, it'a a cache. Already renaming in this PR (adding the .json suffix) so sneak this change in as well. Signed-off-by: Mats Wichmann <mats@linux.com>
| | | * | | | | | Add comments describing reason for data structure conversion to/from jsonJoseph Brill2022-05-151-0/+6
| | | | | | | | |
| | | * | | | | | Change cache key to tuple and read/write list of dictionaries to jsonJoseph Brill2022-05-152-3/+5
| | | | | | | | |
| | | * | | | | | Merge branch 'master' into msvc/cachefixWilliam Deegan2022-05-1518-382/+764
| | | |\ \ \ \ \ \ | | | | | |_|_|_|/ | | | | |/| | | |
| | | * | | | | | Merge branch 'master' into msvc/cachefixWilliam Deegan2022-03-2920-86/+785
| | | |\ \ \ \ \ \
| | | * | | | | | | Fix use of too-new (Py 3.8) pathlib featureMats Wichmann2022-03-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mats Wichmann <mats@linux.com>
| | | * | | | | | | PR 4111: tweak msvc cache invalid algorithmMats Wichmann2022-03-121-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapt previous change so if cache entry tools dir is empty, don't invalidate the entry, it's an old compiler that doesn't add this info (we always add it, if it didn't come from the batch file it will be an empty list). We don't want to force that case to recalculate, or the value of the cache is lost for those compilers. Signed-off-by: Mats Wichmann <mats@linux.com>
| | | * | | | | | | MSVS_CACHE: Reword the CHANGES and RELEASE entriesMats Wichmann2022-03-111-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sharpened up the descriptions of the change in PR 4111. Changed the opening of the cache file to use pathlib functions. Signed-off-by: Mats Wichmann <mats@linux.com>
| | | * | | | | | | Tweak the MSVC environment vars cacheMats Wichmann2022-03-082-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Now performs a sanity check: if the retrieved tools path does not exist, consider the entry invalid so it will be recomputed. - The dictionary key, which is the name of a batch file, is computed a bit differently: the dashes are left off if there are no arguments. - The cachefile is changed to have a .json suffix, for better recognition on Windows systems. Signed-off-by: Mats Wichmann <mats@linux.com>
| | * | | | | | | | Merge branch 'master' into jbrill-msvc-usesettingsWilliam Deegan2022-05-153-9/+7
| | |\ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ Merge branch 'master' into jbrill-msvc-vscomntoolsJoseph Brill2022-05-1513-63/+188
| | | |\ \ \ \ \ \ \ \ | | | | | |_|/ / / / / | | | | |/| | | | | | | | | | | | | | | | | Manually resolve conflicts in RELEASE.txt
| | | * | | | | | | | Propagate OS and windir environment variables to msvc batch file environmentJoseph Brill2022-05-041-0/+2
| | | | | | | | | | |
| | | * | | | | | | | Combine the msvc 7.1-7.0 and 6.0 batch file clauses following conflict ↵Joseph Brill2022-05-041-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resolution.
| | | * | | | | | | | Merge branch 'master' into jbrill-msvc-vscomntoolsJoseph Brill2022-05-032-274/+519
| | | |\ \ \ \ \ \ \ \ | | | | | |_|_|/ / / / | | | | |/| | | | | |
| | | * | | | | | | | Merge branch 'master' into jbrill-msvc-vscomntoolsJoseph Brill2022-05-031-18/+18
| | | |\ \ \ \ \ \ \ \ | | | | | |_|_|_|_|_|/ | | | | |/| | | | | |
| | | * | | | | | | | Merge branch 'master' into jbrill-msvc-vscomntoolsJoseph Brill2022-04-151-4/+12
| | | |\ \ \ \ \ \ \ \ | | | | | |_|_|_|_|_|/ | | | | |/| | | | | |
| | | * | | | | | | | Merge branch 'master' into jbrill-msvc-vscomntoolsJoseph Brill2022-04-1011-97/+735
| | | |\ \ \ \ \ \ \ \ | | | | | |_|_|_|_|_|/ | | | | |/| | | | | |