This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use $(PYTHON) in benchtests.
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 22 Jun 2015 07:35:05 +0530
- Subject: Re: [PATCH] Use $(PYTHON) in benchtests.
- Authentication-results: sourceware.org; auth=none
- References: <5586116B dot 90005 at redhat dot com>
On Sat, Jun 20, 2015 at 09:20:43PM -0400, Carlos O'Donell wrote:
> If you add the benchtests to an older glibc source tree as a patch
> it results in *.py files which are not executable. This means you
> can't immediately run the benchtests without making the scripts
> executable. To fix this we should run them via the interpreter.
> Eventually we might want to setup configure to detect and find python,
> like if we need python3, but for now this solves my immediate problem.
>
> OK to checkin?
>
> 2015-06-20 Carlos O'Donell <carlos@redhat.com>
>
> * benchtests/Makefile (PYTHON): Define.
> (bench-func): Use $(PYTHON) to run python scripts.
> ($(objpfx)bench-%.c): Likewise.
Looks good to me.
Thanks,
Siddhesh