Tuesday, April 17, 2012

Re: Setting 'make -jN' in makeprg

On Sunday, 15 April, 2012 at 12:17:28 BST, John Beckett wrote:
>let &makeprg = 'make -j'.system('echo -n "$(echo $(grep -c ^processor /proc/cpuinfo)+1 | bc)"')
>
>Any thoughts on whether that is correct and useful? The tip is:

Having vim calculate it in such a fashion sounds inefficient to me. I use the MAKEOPTS environment variable. Have if calculated once in your .bash_profile equivalent, if you must.

--

.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: