jbleonesio opened a new issue, #1869:
URL: https://github.com/apache/buildstream/issues/1869

   Since migrating from BuildStream 1.6.8 to 2.0.1 files created during a "bst 
build" step are not kept, even using a workspace.
   
   As a result builds using ccache with a CCACHE_DIR contained inside the 
workspace directory are silently slowed down because they keep caching 
compilation objects without being able to take advantage of them in a latter 
compilation.
   
   I created a fully reproducible example of this behavior difference between 
bst 1.6.8 and bst 2.0.1 here : 
https://github.com/jbleonesio/bst_build_in_workspace_tests
   
   
[flatpak-builder](https://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html?highlight=--ccache#)
 has a `--ccache` option flag dedicated to this purpose. Is there any way to 
achieve a similar goal with BuildStream and it is documented ?
   
   For information, the CI/CD pipeline duration of an open-source project that 
I maintain went from [~8min](https://gitlab.com/squey/squey/-/jobs/5001037169) 
to [~20min](https://gitlab.com/squey/squey/-/jobs/5046637891) for that reason.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to