Re: [PATCH] PR target/98152: Checking python is available before using

2020-12-13 Thread Jeff Law via Gcc-patches
On 12/5/20 11:12 PM, Kito Cheng wrote: > We'll try to canonicalize the arch string for --with-arch, > and the script is written in python, however it will turns out > GCC require python to build for RISC-V port, it's not expect as > the GCC requirement. > > So this patch is made this as optional

Re: [PATCH] PR target/98152: Checking python is available before using

2020-12-07 Thread Kito Cheng via Gcc-patches
Committed On Tue, Dec 8, 2020 at 5:33 AM Jim Wilson wrote: > > On Sat, Dec 5, 2020 at 10:12 PM Kito Cheng wrote: > > > gcc/ChangeLog: > > > > * config.gcc (riscv*-*-*): Checking python, python3 or python2 > > is available, and skip doing with_arch canonicalize if no python > >

Re: [PATCH] PR target/98152: Checking python is available before using

2020-12-07 Thread Jim Wilson
On Sat, Dec 5, 2020 at 10:12 PM Kito Cheng wrote: > gcc/ChangeLog: > > * config.gcc (riscv*-*-*): Checking python, python3 or python2 > is available, and skip doing with_arch canonicalize if no python > available. > Looks good to me. Jim

[PATCH] PR target/98152: Checking python is available before using

2020-12-05 Thread Kito Cheng
We'll try to canonicalize the arch string for --with-arch, and the script is written in python, however it will turns out GCC require python to build for RISC-V port, it's not expect as the GCC requirement. So this patch is made this as optional, detect python and only use it when it available, it