mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-11-24 12:30:13 +00:00
Use python3 explicitly. (#5540)
Some Linux images don't ship with a plain 'python'
This commit is contained in:
parent
3590129278
commit
14000ad47a
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Copyright (c) 2017 Google Inc.
|
# Copyright (c) 2017 Google Inc.
|
||||||
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
@ -47,7 +47,7 @@ def print_usage():
|
|||||||
template= \
|
template= \
|
||||||
"""{script} tests correctness of opt pass tools/opt --compact-ids
|
"""{script} tests correctness of opt pass tools/opt --compact-ids
|
||||||
|
|
||||||
USAGE: python {script} [<spirv_files>]
|
USAGE: python3 {script} [<spirv_files>]
|
||||||
|
|
||||||
Requires tools/spirv-dis, tools/spirv-as and tools/spirv-opt to be in path
|
Requires tools/spirv-dis, tools/spirv-as and tools/spirv-opt to be in path
|
||||||
(call the script from the SPIRV-Tools build output directory).
|
(call the script from the SPIRV-Tools build output directory).
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# coding=utf-8
|
# coding=utf-8
|
||||||
# Copyright (c) 2016 Google Inc.
|
# Copyright (c) 2016 Google Inc.
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Copyright (c) 2017 Google Inc.
|
# Copyright (c) 2017 Google Inc.
|
||||||
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Copyright (c) 2018 Google Inc.
|
# Copyright (c) 2018 Google Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Copyright (c) 2023 Google Inc.
|
# Copyright (c) 2023 Google Inc.
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Copyright (c) 2016 Google Inc.
|
# Copyright (c) 2016 Google Inc.
|
||||||
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Copyright (c) 2016 Google Inc.
|
# Copyright (c) 2016 Google Inc.
|
||||||
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# Copyright (c) 2016 Google Inc.
|
# Copyright (c) 2016 Google Inc.
|
||||||
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Copyright (c) 2016 Google Inc.
|
# Copyright (c) 2016 Google Inc.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user