On Mon, Apr 25, 2011 at 18:31:25 (CEST), Diego Biurrun wrote: > On Mon, Apr 25, 2011 at 06:10:40PM +0200, Andrea Crotti wrote: >> --- /dev/null >> +++ b/.dir-locals.el >> @@ -0,0 +1,17 @@ >> + >> + (c-mode . >> + ((compile-command . "make -j2") > > I don't know what to use instead, but '-j2' is not ideal. The parameter > should at least be equivalent to the number of available cores. Maybe > we could get the number from an environment variable?
on Linux, try this: $ getconf _NPROCESSORS_ONLN For other systems, I'd suggest to just not set compile-command (by default). -- Gruesse/greetings, Reinhard Tartler, KeyID 945348A4 _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
