Re: Using all cores during compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 14, 2011 at 04:39, blaiseg07 <wineforum-user@xxxxxxxxxx> wrote:
>
> jwong wrote:
>>
>> Has anyone tried this? I'd really like to speed up compilations, especially when doing regression testing.
>
>
> make -j5(one more than you physically have) and --disable-tests in the configure.
>
> handy dandy bash script I use...adjust to your needs.
>
> Code:
> #! /bin/sh
>
> CC="gcc-4.6 -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure -v --prefix=/usr --without-capi --without-cups --without-jack --without-sane --with-x --without-openal --disable-tests --without-nas --without-v4l --without-gphoto --with-opencl
> make depend && make -j4
> echo {your password} | sudo -S make install

Using ccache gcc instead of gcc would help even more




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux