(original) (raw)

Open an issue on bugs.python.org and attach the patch there (it should also ask you so sign the contributor agreement, but if not then please also sign that).

On Fri Sep 05 2014 at 12:52:45 PM Jonas Wagner <jonas.wagner@epfl.ch> wrote:
Hi again,



the attached Makefile patch seems to fix the parallel build problems.



Is there a chance of getting this into trunk? Should I open an issue

or send the patch somewhere else?



Cheers,

Jonas



On Fri, Sep 5, 2014 at 12:15 PM, Jonas Wagner <jonas.wagner@epfl.ch> wrote:

>>> > Would people be interested in having a parallel version?

>>>

>>> See http://bugs.python.org/issue5309

>>

>> Cool! I'll look into this.

>

> The patch there works well for me. I've made one small update, and

> submitted the new version in the bug tracker.

>

> Regarding the other build problem, I might have found some hint:

> - Parser/pgen.o ends up in both the PARSER_OBJS and PGENOBJS variables

> in the Makefile

> - PARSER_OBJS is depended upon in a few places, hence it could be that

> make starts to build Parser/pgen.o

> - PGENOBJS is built when building PGEN, which happens *in a different

> make that is called recursively*

>

> I think the culprit is the rule for GRAMMAR_H which calls make

> recursively. Is there a reason that GRAMMAR_H has to generate PGEN

> like this? Couldn't it just depend on PGEN?

>

> Cheers,

> Jonas

_______________________________________________

Python-Dev mailing list

Python-Dev@python.org

https://mail.python.org/mailman/listinfo/python-dev

Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org