[PATCH] Use $(PYTHON) in benchtests.

Siddhesh Poyarekar siddhesh@redhat.com
Mon Jun 22 02:33:00 GMT 2015


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



More information about the Libc-alpha mailing list