This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/4] Add gcc-auto-profile script
- From: Andi Kleen <ak at linux dot intel dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Andi Kleen <andi at firstfloor dot org>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 Mar 2016 11:47:59 -0700
- Subject: Re: [PATCH 1/4] Add gcc-auto-profile script
- Authentication-results: sourceware.org; auth=none
- References: <1459140266-6902-1-git-send-email-andi at firstfloor dot org> <alpine dot DEB dot 2 dot 10 dot 1603301802310 dot 9823 at digraph dot polyomino dot org dot uk>
On Wed, Mar 30, 2016 at 06:05:00PM +0000, Joseph Myers wrote:
> On Sun, 27 Mar 2016, Andi Kleen wrote:
>
> > 2016-03-27 Andi Kleen <ak@linux.intel.com>
> >
> > * gen_autofdo_event.py: New file to regenerate
> > gcc-auto-profile.
>
> It may not be required in contrib, but does this script work with both
> Python 2 and Python 3? (New code that only works with Python 2 seems like
> a bad idea nowadays, with GNU/Linux distributions moving to having only
> Python 3 in a default install.)
Currently it's python 2. It could be run through the conversion tool,
but then you would lose older distributions which don't have 2.7.
As I understand the newer distributions always have options to install 2.7.
-andi
--
ak@linux.intel.com -- Speaking for myself only