Fix clang_array_check checking utility

Use python3 which is now supported,
only use CLANG_BIND_DIR & CLANG_LIB_DIR when they are set.

Also add immediate mode GPU API function calls.
This commit is contained in:
Campbell Barton
2021-01-04 16:20:15 +11:00
parent 3254a63218
commit f17184bfeb
2 changed files with 32 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ CHECKER_IGNORE_PREFIX = [
"intern/moto",
]
CHECKER_BIN = "python2"
CHECKER_BIN = "python3"
CHECKER_ARGS = [
os.path.join(os.path.dirname(__file__), "clang_array_check.py"),