[issue27490] Do not run pgen when it is not going to be used (cross-compiling)

Thomas Perl report at bugs.python.org
Fri Jul 22 06:17:35 EDT 2016


Thomas Perl added the comment:

Repurposing this bug as "do not run pgen".

Documenting and using 'make PGEN_DEP=""' might also work; however, given that the configure script uses autoconf, and there's also code in place for PYTHON_FOR_BUILD, I've attached a patch that makes the PGEN dependency just a autoconf substitution -- this might make it clear and not depend on any make substitution features?

Patch attached against current Hg cpython default branch tip, a similar patch also applies against 2.7.

----------
keywords: +patch
title: ARM cross-compile: pgen built without $(CFLAGS) as $(LIBRARY) dependency -> Do not run pgen when it is not going to be used (cross-compiling)
Added file: http://bugs.python.org/file43830/pgen_dependencies.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27490>
_______________________________________


More information about the Python-bugs-list mailing list