I agree, we should not automate this, though a note in a "how to
install on a macbook" would be nice since a lot of people don't know
about that option.
A quick note of caution: I found out that sometimes compiling with -j2
gets errors, then restarting the process without -j2 compiles without
any errors. I assume that it is some dependency problems because one
of the processes did not finish yet.
Also, increasing to -j3 or -j4 might even increase the compile
performance since some of the make processes might be doing some
intensive IO work, thus the CPUs are free for compiling. I only
recently learnt that (thank you, Greg)...
Thomas
On 7/31/06, Eric Blossom <[EMAIL PROTECTED]> wrote:
On Mon, Jul 31, 2006 at 03:59:23PM -0400, Michael Dickens wrote:
> >>- Since the new Macbooks have dual core, one can add a -j2 to each
> >>make command. That will speed up compilation because it creates two
> >>gcc instances at a time.
> >
> >This would come in the ./configure stage. Probably a switch
> >statement somewhere which could be expanded to include the intel-
> >mac 'uname' specs.
>
> Answering my own issue here: "make -j2" would create 2 parallel
> "make"s, if I read the manpage correctly. Is this what you were
> getting at before? If so, then it's probably easier to do "alias
> make='make -j2'" in your BASH shell ("alias make 'make -j2'" in
> TCSH). Good idea ... I'll add a comment about that when I get there.
> - MLD
The user can invoke make with -j N if they like. Don't try to
automate this.
Eric
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio