SPIRV-Tools/utils
Bruce Dawson 2cf48e9534
Allow invoking git.bat as git on Windows (#5118)
In a Chromium build environment on Windows git is supplied by
depot_tools as git.bat. This was causing build errors on Windows that
are most easily reproduced with this command:

  gn gen out\default && gn clean out\default && ninja -C out\default spirv-as

The errors included:

[12:55:40][ERROR   ] Failed to run "['git', 'tag', '--sort=-v:refname']" in "C:\src\chromium\src\third_party\vulkan-deps\spirv-tools\src": [WinError 2] The system cannot find the file specified
[12:55:40][WARNING ] Could not deduce latest release version from history.

This is because 'git' does not resolve to git.bat unless shell=True is
passed to subprocess.Popen. This change passes shell=True but only on
Windows which resolves these errors.
2023-02-23 03:24:34 +00:00
..
vscode Fix various source comment (doxygen) typos (#4680) 2022-01-26 15:13:08 -05:00
check_code_format.sh utils: repos use 'main' as main devlopment branch (#5054) 2023-01-11 15:24:34 -05:00
check_copyright.py Add C interface for Optimizer (#5030) 2023-02-01 13:58:52 +00:00
check_symbol_exports.py fix symbol exports check, for Android build cases (#4342) 2021-06-23 12:03:34 -04:00
fixup_fuzz_result.py Script to fixup fuzzer results (#1792) 2018-08-02 20:28:40 -04:00
generate_grammar_tables.py Switch SPIRV-Tools to use spirv.hpp11 internally (#4981) 2022-11-04 17:27:10 -04:00
generate_language_headers.py Combine extinst-name and extinst-output-base into one arg. (#3200) 2020-02-25 00:46:52 -05:00
generate_registry_tables.py Avoid use of Python distutils.dir_util (#3203) 2020-02-28 16:50:06 -05:00
generate_vim_syntax.py Remove unneeded future imports (#2739) 2019-07-24 15:29:38 -04:00
git-sync-deps git-sync-deps: Use argparse, and print better help (#5038) 2022-12-21 12:52:28 -05:00
roll_deps.sh build: fix bazel build for c++17 (#5097) 2023-02-02 14:05:02 +00:00
update_build_version.py Allow invoking git.bat as git on Windows (#5118) 2023-02-23 03:24:34 +00:00