SPIRV-Tools/utils
Nathan Gauër 7823b8ff4a
build: allow update_build to generate fake version (#5098)
When the build is done on a shallow repo, or on a non-git copy,
the version script failed. We should not hard fail, but generate
a "version" (unknown).

Sample outputs:

with git history:
`"v2023.2-dev", "SPIRV-Tools v2023.2-dev v2022.4-87-g53541064"`

with shallow clone:
`"unknown_version", "SPIRV-Tools unknown_version d8759a140bc65811332d5f91f3b08febadd5a21d"`

not a git repo:
`"unknown_version", "SPIRV-Tools unknown_version unknown_hash, 2023-02-02T16:25:48.077995"`
2023-02-03 20:43:03 +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 build: allow update_build to generate fake version (#5098) 2023-02-03 20:43:03 +00:00