[Wine] Using all cores during compile

Frédéric Delanoy frederic.delanoy at gmail.com
Fri Oct 14 08:43:28 CDT 2011


On Fri, Oct 14, 2011 at 04:39, blaiseg07 <wineforum-user at winehq.org> 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



More information about the wine-users mailing list