mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-21 19:20:07 +00:00
6c8b460eb1
Those scripts are running on Python2.7 if build with the NDK tools. Under python2.7, io.open will load as "utf-8" since we give the encoding option, and return a "unicode" string. Under Python3, the open() function will return a UTF-8 string. This means the XMLParser needs to have a different 'encoding' option depending on the python version. For some reason I don't know, the XMLParser still fails if we use 'unicode' under Python2.7. But converting the unicode string to utf-8 does work. Signed-off-by: Nathan Gauër <brioche@google.com> |
||
---|---|---|
.. | ||
vscode | ||
check_code_format.sh | ||
check_copyright.py | ||
check_symbol_exports.py | ||
fixup_fuzz_result.py | ||
generate_changelog.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 |