After the boost library build the main directory is ~9GB. How can I remove the temporary/intermediate files (and keep the compiled library files)?
I use Windows for my project.
Instead of cleaning up, I can recommend using
./b2 --build-dir=/path/to/temp/combustible
to build. This puts all the intermediate/temporary files in a separate location. I always put it in tmpfs ("ram disk") so it's gone after a reboot anyways. But you can trivially just remove that build-dir once you lost interest.
The approach works on all platforms. You can keep the intermediates until after all your build(s) complete so you profit maximally of any shared intermediate files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With