X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/c47a1ffbbcea8266a1df47e613e40f747eee9a92..02468bf10a1db541843fb089135585ea4fdcd4e2:/win32/configure_and_make-wine.sh diff --git a/win32/configure_and_make-wine.sh b/win32/configure_and_make-wine.sh index f551f86d..7a50e3f6 100755 --- a/win32/configure_and_make-wine.sh +++ b/win32/configure_and_make-wine.sh @@ -4,14 +4,19 @@ # First ensure we have a configure script: rm -rf ../src/.deps rm -rf ../src/icons/.deps +rm -rf ../src/libjpeg/.deps +rm -rf ../src/misc/.deps pushd .. ./autogen.sh make distclean popd # Note the configure stage under wine** is really slow can easily be over 15 minutes -# make of the icons is also very slow** - can easily over 5 minutes -# compartively the make of the actual src code is not too bad -wine cmd.exe /c configure_and_make.bat +# make of the icons is also very slow** - can easily be over 5 minutes on a single CPU +# comparatively the make of the actual src code is not too bad + +# Speed up the build by using all CPUs available. +# Note that a simple '-j' on it's own overloads the system under Wine - hence put in the specific CPU limit here +wine cmd.exe /c configure_and_make.bat -j $(grep -c ^processor /proc/cpuinfo) # ** slowness is probably due to lots of forking going on starting many new small processes