]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Point our Python scripts at python3
authorPalmer Dabbelt <palmer@rivosinc.com>
Fri, 9 Feb 2024 16:53:24 +0000 (08:53 -0800)
committerKito Cheng <kito.cheng@sifive.com>
Fri, 23 Feb 2024 04:36:07 +0000 (12:36 +0800)
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

gcc/config/riscv/arch-canonicalize
gcc/config/riscv/multilib-generator

index 629bed853471c2ff709956a174f343d10f655dfd..8f7d040cdeb979e986df31c9a80b66378733f484 100755 (executable)
@@ -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.
index 1a957878d0cbbc68d7cd8a083732f6ef40f9a9db..25cb6762ea732f56714b32315fd6fa9278d03573 100755 (executable)
@@ -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.