Issue314

Title Make command line option to build-all that will build fresh
Priority wish Status resolved
Superseder Nosy List malte, rpgoldman
Assigned To malte Keywords
Optional summary

Created on 2012-01-06.16:54:04 by rpgoldman, last changed by malte.

Messages
msg2266 (view) Author: malte Date: 2012-06-17.00:20:56
I don't want to complicate build_all too much, since it's intended to be just a
small convenience, and I still hope that we can eventually migrate to a better
build tool (see issue67).

What we could easily do is change build_all so that it forwards all arguments to
the make calls it invokes. Cleaning up everything could then be performed with:

$ ./build_all distclean

followed by

$ ./build_all

To use 4 parallel build processes, do something like:

$ ./build_all -j4

Does this address the wish?

(One small wrinkle ist that "./build_all distclean" will complain at the end
that "validate" cannot be found. But I think we can ignore this.)
msg2028 (view) Author: malte Date: 2012-01-06.16:59:05
While we're adding command-line options to build-all, adding support for
additional options to be passed on to make would be very useful. In particular,
I often wish that I could call build-all with -j4 or even -j8 to speed it up.
msg2027 (view) Author: rpgoldman Date: 2012-01-06.16:54:03
For some cases (e.g., after a big pull from upstream) it might be an improvement
to have build_all not simply use make in each of the src/ subdirectories but
first do a 'make clean', as well.

Perhaps a command-line argument such as -fresh could be used for the purpose.
History
Date User Action Args
2012-06-25 17:29:33maltesetstatus: chatting -> resolved
2012-06-17 00:21:03maltesetassignedto: malte
2012-06-17 00:20:56maltesetmessages: + msg2266
2012-01-06 16:59:05maltesetstatus: unread -> chatting
messages: + msg2028
2012-01-06 16:54:04rpgoldmancreate