Message ID | aae283ad32728367c2d5da8c808830dca38ab658.1578824547.git.alistair.francis@wdc.com |
---|---|
State | Committed |
Headers |
Received: (qmail 8199 invoked by alias); 12 Jan 2020 10:40:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <libc-alpha.sourceware.org> List-Unsubscribe: <mailto:libc-alpha-unsubscribe-##L=##H@sourceware.org> List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 8190 invoked by uid 89); 12 Jan 2020 10:40:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT autolearn=ham version=3.3.1 spammy=H*f:sk:cover.1, HContent-Transfer-Encoding:8bit X-HELO: esa6.hgst.iphmx.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1578825601; x=1610361601; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=zM77yygXU386CULeMis/GSGExNRFt8k6FPBaClpFlP0=; b=aTOOAYTAfh1yPRy8LpezOBEd8JSwzJJWR4WB0hmbBTiSukNBbv2Gs8th g+LEnNI8fb3KedIEHiTq3tr68OIEM2ISuGKT+VituVlFZsXnPN8CxNwQv uzJfNJR22XH4ySU4Zo+VIhwxHfoDuhTfmbhpjuHkzcBrqxZHVTrr/evWV 8X+ovS0Td9h3auH/SSsspcJRDtVU0SEbcmmHGwRdwXEuDwz6aYbqbzm2H ck0PRSrnew+8tlr4ogv9vKvUFxL8OYCFoJ+sQB2i2k2m3I2cDBjp88LMq Z/VuJf7eqP5m6av2zNRi2HTAt/44QtaVdLRbS67ywusRgZSgJBeWEvbbD A==; IronPort-SDR: cbryx7u98nkz3YkaK2nPGBRxIhzeEzFKzbVLMJfbDtbHkYfQlCT0YZsBaGy7k19SAOKNpgQlpa O6Hv/Sk0INUao0H/Kf7mMiaOsg87uQT9+GAeowdKj4GNmnSCiPW/osohpbb5iPWJUpGimtqDT1 qe3PqOaJHq7P/zEwFxz/eULORpZMiamhYLAspm5PQq+y9EWKC6mtJnDF1TcAY1IE9nndhgVh+V v9746/Hk5PEuzVwkCDfGA7IrN43LAhte9sSrmreY3EYl5NPn7Tzkyrbi9QKJdTO2swT4ViMSVJ H1U= IronPort-SDR: pk7pnb9c015ZsWbsAewGkJDQEmsoU1faysST49kyj+GMHlwQTkRF0HW9VzQpZ/df2yH1hwWgGj 1ZDFXbXenAhFbmNEXU+DTO4yDPVKdDktElogaGOyWdhZ+7z1ubDSZ2LWgNpMgDYtWQEYU9yRZb 9VraEdhxE7aRyrAVZPIjXG99kYWIYEE2GaxudNeGHRw0Q9FbvXwozE26dqatFiWudLIIZetJMH c4KHv3n07QZTq0ByQKm4qwG0AhfzK/AkJBl+Im+W/EQDKbwV62UJYDRZJcpu6Vvn6M6p+Pu6Aw P4XdR9Q2rHLoA1IC1og8fHdi IronPort-SDR: xV35ZgjR/wDylpGXAXwm662Ip9p9UgopF+JH7xQ8mM5XIGeOJv8NDm+JdwMQym9Wt/1YBL+Kg5 THl1WpkV9wYWCajWgvmnI77znC4dwhKd9Jmlg2dbwHe5yF36Msrf/yMMV2WQDM368pbWGU5X2R NXniHCuCdGoUMBuxmG+FfWR7GOAr6Ic9aNZg+Xu2FGxtMZRsEXGo175oLWOsrMNXhQmcHNDmKa b5T48Ro4XxmIxhPHEsHHDoYcGXGtGefZCecLD4EPiO+egXDjOuE4/RIbfCuHwvLBsBQaD1K+TS Cdw= WDCIronportException: Internal From: Alistair Francis <alistair.francis@wdc.com> To: libc-alpha@sourceware.org Cc: arnd@arndb.de, adhemerval.zanella@linaro.org, fweimer@redhat.com, joseph@codesourcery.com, palmerdabbelt@google.com, macro@wdc.com, zongbox@gmail.com, alistair.francis@wdc.com, alistair23@gmail.com Subject: [RFC v6 01/23] math/gen-libm-test.py: Convert to Python 3 Date: Sun, 12 Jan 2020 02:33:33 -0800 Message-Id: <aae283ad32728367c2d5da8c808830dca38ab658.1578824547.git.alistair.francis@wdc.com> In-Reply-To: <cover.1578824547.git.alistair.francis@wdc.com> References: <cover.1578824547.git.alistair.francis@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Commit Message
Alistair Francis
Jan. 12, 2020, 10:33 a.m. UTC
Convert to explicity use Python 3. This was tested by using the script (with Python 3) to generate the RV32 libm-test-ulps. --- math/gen-libm-test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
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.