Skip to content

Commit 14000ad

Browse files
authored
Use python3 explicitly. (KhronosGroup#5540)
Some Linux images don't ship with a plain 'python'
1 parent 3590129 commit 14000ad

9 files changed

+10
-10
lines changed

test/scripts/test_compact_ids.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# Copyright (c) 2017 Google Inc.
33

44
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -47,7 +47,7 @@ def print_usage():
4747
template= \
4848
"""{script} tests correctness of opt pass tools/opt --compact-ids
4949
50-
USAGE: python {script} [<spirv_files>]
50+
USAGE: python3 {script} [<spirv_files>]
5151
5252
Requires tools/spirv-dis, tools/spirv-as and tools/spirv-opt to be in path
5353
(call the script from the SPIRV-Tools build output directory).

utils/check_copyright.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# coding=utf-8
33
# Copyright (c) 2016 Google Inc.
44
#

utils/check_symbol_exports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# Copyright (c) 2017 Google Inc.
33

44
# Licensed under the Apache License, Version 2.0 (the "License");

utils/fixup_fuzz_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# Copyright (c) 2018 Google Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");

utils/generate_changelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright (c) 2023 Google Inc.
44
#

utils/generate_grammar_tables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# Copyright (c) 2016 Google Inc.
33

44
# Licensed under the Apache License, Version 2.0 (the "License");

utils/generate_registry_tables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# Copyright (c) 2016 Google Inc.
33

44
# Licensed under the Apache License, Version 2.0 (the "License");

utils/generate_vim_syntax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# Copyright (c) 2016 Google Inc.
33

44
# Licensed under the Apache License, Version 2.0 (the "License");

utils/update_build_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
# Copyright (c) 2016 Google Inc.
44
#

0 commit comments

Comments
 (0)