[issue46789] Restore caching of externals on Windows buildbots

2022-02-21 Thread Steve Dower
Steve Dower added the comment: > one option would be to enhance PCbuild/get_external.py to add support for a cache directory. It should already have this support - set the EXTERNALS_DIR environment variable before building. I use this in my own builds. Though if there are specific platforms

[issue46789] Restore caching of externals on Windows buildbots

2022-02-21 Thread Jeremy Kloth
Jeremy Kloth added the comment: > Would it be possible to create a download cache somewhere outside the Python > source tree, so "git clean -fdx" would not remove this cache? I was thinking of locating it next to the checkout directory. The current structure is: [worker root] -- [builder ro

[issue46789] Restore caching of externals on Windows buildbots

2022-02-21 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to create a download cache somewhere outside the Python source tree, so "git clean -fdx" would not remove this cache? Some CIs implement such cache. Does buildbot have helpers for that? buildbot provides for example: * LRUCache: https:/

[issue46789] Restore caching of externals on Windows buildbots

2022-02-18 Thread Jeremy Kloth
Jeremy Kloth added the comment: I personally would like to see caching restored so as to keep the duration of buildbot runs as low as possible. The repeated fetching effectively doubles compilation time for my Win11 builder. -- ___ Python tracker

[issue46789] Restore caching of externals on Windows buildbots

2022-02-18 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +pablogsal, vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue46789] Restore caching of externals on Windows buildbots

2022-02-18 Thread Jeremy Kloth
New submission from Jeremy Kloth : A recent change to the buildmaster config effectively disabled the caching of the externals for Windows buildbots: https://github.com/python/buildmaster-config/pull/255 If the caching is desired, a simple change to the buildmaster config is needed (define