aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2024-02-09 08:53:24 -0800
committerKito Cheng <kito.cheng@sifive.com>2024-02-23 12:36:07 +0800
commit23f5da91ccb4927562ea4d1c245639bfd4a0088b (patch)
tree63b4c84a2e13dec4fc97d0500602009f78517cb9
parent1c5da882bf77400748aeb0b01bf9a7faba1a4f32 (diff)
downloadgcc-23f5da91ccb4927562ea4d1c245639bfd4a0088b.zip
gcc-23f5da91ccb4927562ea4d1c245639bfd4a0088b.tar.gz
gcc-23f5da91ccb4927562ea4d1c245639bfd4a0088b.tar.bz2
RISC-V: Point our Python scripts at python3
This builds for me, and I frequently have python-is-python3 type packages installed so I think I've been implicitly testing it for a while. Looks like Kito's tested similar configurations, and the bugzilla indicates we should be moving over. gcc/ChangeLog: PR other/109668 * config/riscv/arch-canonicalize: Move to python3 * config/riscv/multilib-generator: Likewise
-rwxr-xr-xgcc/config/riscv/arch-canonicalize2
-rwxr-xr-xgcc/config/riscv/multilib-generator2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/riscv/arch-canonicalize b/gcc/config/riscv/arch-canonicalize
index 629bed8..8f7d040 100755
--- a/gcc/config/riscv/arch-canonicalize
+++ b/gcc/config/riscv/arch-canonicalize
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Tool for canonical RISC-V architecture string.
# Copyright (C) 2011-2024 Free Software Foundation, Inc.
diff --git a/gcc/config/riscv/multilib-generator b/gcc/config/riscv/multilib-generator
index 1a95787..25cb676 100755
--- a/gcc/config/riscv/multilib-generator
+++ b/gcc/config/riscv/multilib-generator
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# RISC-V multilib list generator.
# Copyright (C) 2011-2024 Free Software Foundation, Inc.