Message ID | aae283ad32728367c2d5da8c808830dca38ab658.1578824547.git.alistair.francis@wdc.com |
---|---|
State | New |
Headers | show |
Series | RISC-V glibc port for the 32-bit | expand |
On Sun, 12 Jan 2020, Alistair Francis wrote: > Convert to explicity use Python 3. This was tested by using the script > (with Python 3) to generate the RV32 libm-test-ulps. There are several .py scripts in the source tree that reference /usr/bin/python. It doesn't normally matter because the makefiles explicitly use $(PYTHON), but I think you should change all ten such .py files at once to refer to python3.
On Mon, Jan 13, 2020 at 12:46 AM Joseph Myers <joseph@codesourcery.com> wrote: > > On Sun, 12 Jan 2020, Alistair Francis wrote: > > > Convert to explicity use Python 3. This was tested by using the script > > (with Python 3) to generate the RV32 libm-test-ulps. > > There are several .py scripts in the source tree that reference > /usr/bin/python. It doesn't normally matter because the makefiles > explicitly use $(PYTHON), but I think you should change all ten such .py > files at once to refer to python3. I have updated all of them, the only problem is then that I haven't tested them all. Alistair > > -- > Joseph S. Myers > joseph@codesourcery.com
diff --git a/math/gen-libm-test.py b/math/gen-libm-test.py index ec263397d8..0142c0f332 100755 --- a/math/gen-libm-test.py +++ b/math/gen-libm-test.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Generate tests for libm functions. # Copyright (C) 2018-2020 Free Software Foundation, Inc. # This file is part of the GNU C Library.