scripts/clang-tools: switch explicitly to Python 3
Subsystems (2)
PATCH v2 1/1 scripts/clang-tools: switch explicitly to Python 3
For the same reason as commit 51839e29cb59 ("scripts: switch explicitly to Python 3"), switch some more scripts, which I tested and confirmed working on Python 3.
---
Changes in v2:
- Drop the spdxcheck.py change. The same fix exists in linux-next.
scripts/clang-tools/gen_compile_commands.py | 2 +- scripts/clang-tools/run-clang-tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
scripts/clang-tools/gen_compile_commands.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 # # Copyright (C) Google LLC, 2018
scripts/clang-tools/run-clang-tools.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 # # Copyright (C) Google LLC, 2020
Signature · 1 line
2.27.0
Quoted 5 lines · Masahiro Yamada
For the same reason as commit
51839e29cb59("scripts: switch explicitly to Python 3"), switch some more scripts, which I tested and confirmed working on Python 3.
Quoted 7 lines
Signed-off-by Masahiro Yamada <[email protected]>---
Changes in v2:
- Drop thespdxcheck.pychange. The same fix exists in linux-next.
- Sedat -
Quoted 31 lines
scripts/clang-tools/gen_compile_commands.py | 2 +- scripts/clang-tools/run-clang-tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)scripts/clang-tools/gen_compile_commands.py +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 # # Copyright (C) Google LLC, 2018scripts/clang-tools/run-clang-tools.py +1
-2@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 # # Copyright (C) Google LLC, 2020 --2.27.0
--
You received this message because you are subscribed to the Google Groups "Clang Built Linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20210202060604.711160-1-masahiroy%40kernel.org.
Quoted 7 lines · Masahiro Yamada
For the same reason as commit
51839e29cb59("scripts: switch explicitly to Python 3"), switch some more scripts, which I tested and confirmed working on Python 3.Signed-off-by Masahiro Yamada <[email protected]>
Thanks Masahiro.
Quoted 32 lines
---
Changes in v2:
- Drop thespdxcheck.pychange. The same fix exists in linux-next.scripts/clang-tools/gen_compile_commands.py | 2 +- scripts/clang-tools/run-clang-tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)scripts/clang-tools/gen_compile_commands.py +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 # # Copyright (C) Google LLC, 2018scripts/clang-tools/run-clang-tools.py +1
-2@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 # # Copyright (C) Google LLC, 2020 --2.27.0
Signature · 2 lines
Thanks, ~Nick Desaulniers