public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Point our Python scripts at python3
@ 2024-02-09 16:53 Palmer Dabbelt
  2024-02-13 15:55 ` Jeff Law
  0 siblings, 1 reply; 4+ messages in thread
From: Palmer Dabbelt @ 2024-02-09 16:53 UTC (permalink / raw)
  To: gcc-patches, jbglaw; +Cc: Palmer Dabbelt

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 109668
	* config/riscv/arch-canonicalize: Move to python3
	* config/riscv/multilib-generator: Likewise
---
I am in no way a Python expert, but I think this is functionally a NOP
for the configurations I've been building/testing.  It's passing a
simple cross build.

---
 gcc/config/riscv/arch-canonicalize  | 2 +-
 gcc/config/riscv/multilib-generator | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/riscv/arch-canonicalize b/gcc/config/riscv/arch-canonicalize
index 629bed85347..8f7d040cdeb 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 1a957878d0c..25cb6762ea7 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.
-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RISC-V: Point our Python scripts at python3
  2024-02-09 16:53 [PATCH] RISC-V: Point our Python scripts at python3 Palmer Dabbelt
@ 2024-02-13 15:55 ` Jeff Law
  2024-02-23  4:29   ` Kito Cheng
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Law @ 2024-02-13 15:55 UTC (permalink / raw)
  To: Palmer Dabbelt, gcc-patches, jbglaw



On 2/9/24 09:53, Palmer Dabbelt wrote:
> 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 109668
> 	* config/riscv/arch-canonicalize: Move to python3
> 	* config/riscv/multilib-generator: Likewise
Just to summarize from the coordination call this morning.  We've agreed 
this should go forward.  While there is minor risk (this code is rarely 
run), it's something we're prepared to handle if there is fallout.

Jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RISC-V: Point our Python scripts at python3
  2024-02-13 15:55 ` Jeff Law
@ 2024-02-23  4:29   ` Kito Cheng
  2024-02-23 17:24     ` Palmer Dabbelt
  0 siblings, 1 reply; 4+ messages in thread
From: Kito Cheng @ 2024-02-23  4:29 UTC (permalink / raw)
  To: Jeff Law; +Cc: Palmer Dabbelt, gcc-patches, jbglaw

I guess Palmer is too busy, so committed to trunk :P

On Tue, Feb 13, 2024 at 11:55 PM Jeff Law <jeffreyalaw@gmail.com> wrote:
>
>
>
> On 2/9/24 09:53, Palmer Dabbelt wrote:
> > 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 109668
> >       * config/riscv/arch-canonicalize: Move to python3
> >       * config/riscv/multilib-generator: Likewise
> Just to summarize from the coordination call this morning.  We've agreed
> this should go forward.  While there is minor risk (this code is rarely
> run), it's something we're prepared to handle if there is fallout.
>
> Jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] RISC-V: Point our Python scripts at python3
  2024-02-23  4:29   ` Kito Cheng
@ 2024-02-23 17:24     ` Palmer Dabbelt
  0 siblings, 0 replies; 4+ messages in thread
From: Palmer Dabbelt @ 2024-02-23 17:24 UTC (permalink / raw)
  To: Kito Cheng; +Cc: jeffreyalaw, gcc-patches, jbglaw

On Thu, 22 Feb 2024 20:29:37 PST (-0800), Kito Cheng wrote:
> I guess Palmer is too busy, so committed to trunk :P

Thanks, I got distracted with some work stuff ;)

>
> On Tue, Feb 13, 2024 at 11:55 PM Jeff Law <jeffreyalaw@gmail.com> wrote:
>>
>>
>>
>> On 2/9/24 09:53, Palmer Dabbelt wrote:
>> > 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 109668
>> >       * config/riscv/arch-canonicalize: Move to python3
>> >       * config/riscv/multilib-generator: Likewise
>> Just to summarize from the coordination call this morning.  We've agreed
>> this should go forward.  While there is minor risk (this code is rarely
>> run), it's something we're prepared to handle if there is fallout.
>>
>> Jeff

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-23 17:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 16:53 [PATCH] RISC-V: Point our Python scripts at python3 Palmer Dabbelt
2024-02-13 15:55 ` Jeff Law
2024-02-23  4:29   ` Kito Cheng
2024-02-23 17:24     ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).