Replies: 4 comments 6 replies
-
Would this be best combined with feature=in-tree-build #742 ? |
Beta Was this translation helpful? Give feedback.
-
This sounds good to me, I think. I'm wondering how to implement/expose it. We already copy the contents of the project_dir into the container, so I'm guessing the cache you want to import is outside this dir? It could have a generalised 'mapping' option, like |
Beta Was this translation helpful? Give feedback.
-
@joerick are you still in support of this? If so I'd be happy to send up a PR. |
Beta Was this translation helpful? Give feedback.
-
This issue appears to be resolved as the root of the host file system |
Beta Was this translation helpful? Give feedback.
-
Many CI services if not all allow caching folders.
While this can be leveraged easily on macOS & Windows with cibuildwheel, this is not the case on Linux where builds occur in an isolated docker container.
The idea would be to add a configuration option on Linux to specify a list of folders to synchronize in the containers.
I implemented caching using an implementation detail of cibuildwheel in mayeut/cmake-python-distributions@339c4e9 which allows to reuse the cache from previous runs for the
before_all
step.This might be very interesting for emulated builds where everything is slow & I could reduce CI time by 20 minutes by not rebuilding OpenSSL every time: https://github.com/mayeut/cmake-python-distributions/runs/3209785906?check_suite_focus=true
Beta Was this translation helpful? Give feedback.
All reactions