mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-25 17:21:06 +00:00
2cf48e9534
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. |
||
---|---|---|
.. | ||
vscode | ||
check_code_format.sh | ||
check_copyright.py | ||
check_symbol_exports.py | ||
fixup_fuzz_result.py | ||
generate_grammar_tables.py | ||
generate_language_headers.py | ||
generate_registry_tables.py | ||
generate_vim_syntax.py | ||
git-sync-deps | ||
roll_deps.sh | ||
update_build_version.py |