Opened 7 years ago

Last modified 7 years ago

#11258 new Feature Requests

Clean up after building

Reported by: Olaf van der Spek <olafvdspek@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.58.0 Severity: Problem
Keywords: Cc:

Description

After building boost with build-type=complete, 2+ gbyte of object files, pch files and program databases is left behind. It'd be nice if there's an option to clean up intermediate files.

Change History (6)

comment:1 by Steven Watanabe, 7 years ago

Just delete bin.v2. I don't think there's much point to adding another option when there's already an easy solution.

comment:2 by Olaf van der Spek <olafvdspek@…>, 7 years ago

Thanks, perhaps that could be included in the getting started guide?

If b2 would delete intermediate files as soon as a target is build the build would consume less disk space. ;)

comment:3 by Vladimir Prus, 7 years ago

To be honest, I'm unaware of *any* build system that removes intermediate files.

Different arguments can be made about adding this to getting started guide, though it probably won't be a big deal.

in reply to:  3 comment:4 by Olaf van der Spek <olafvdspek@…>, 7 years ago

Replying to vladimir_prus:

To be honest, I'm unaware of *any* build system that removes intermediate files.

Sure, but what's your point? Isn't it a good idea?

comment:5 by Vladimir Prus, 7 years ago

The point is that if a good idea is not implemented anywhere else, maybe the user demand for it is not very high, and it might not be the most important thing to address (e.g. compared to some of the documentation issue you brought up recently).

As for the merits of the idea, I'm not sure. As Steven said, removing entire "bin" directory is easy, and doing this automatically by default will inconvenience people who might want to build repeatedly.

comment:6 by Olaf van der Spek <olafvdspek@…>, 7 years ago

Demand for smartphones wasn't high before the iPhone was released either...

Obviously it shouldn't be the default and manually deleting the bin dir is fine (for now).

Note: See TracTickets for help on using tickets.