[python-committers] Travis-CI compiles twice

Victor Stinner victor.stinner at gmail.com
Mon Jul 24 04:55:44 EDT 2017


IMHO everything is fine and we don't have to do anything ;-)

Antoine:
>I've noticed that Travis-CI (sometimes?) compiles CPython twice.

"make regen-all" doesn't compiles Python:

* it compiles Parser/pgen
* it compiles Programs/_freeze_importlib
* it runs many commands to regenerate generated files

2017-07-24 9:37 GMT+02:00 Serhiy Storchaka <storchaka at gmail.com>:
> `make regen-all` touches header files which are dependencies for all
> binaries. I suggest to run `make regen-all` before `make`.

Zachary Ware explained me once that "make regen-all" should be run
after "make", but I don't recall why :-)

Travis CI makes sure that "make regen-all" doesn't modify generated
files (or the build fails), so if we would run "make" a second time
after "make regen-all", it would be supposed to do nothing.

Victor


More information about the python-committers mailing list