]> git.street.me.uk Git - andy/viking.git/blame - win32/configure_and_make-wine.sh
[QA] CID#34594: Remove unsigned compared against 0 (as it has no effect)
[andy/viking.git] / win32 / configure_and_make-wine.sh
CommitLineData
59a4fc6d 1#!/bin/bash
ba3695b5 2# License: CC0
59a4fc6d
RN
3
4# First ensure we have a configure script:
c47a1ffb
RN
5rm -rf ../src/.deps
6rm -rf ../src/icons/.deps
53775ccc 7rm -rf ../src/libjpeg/.deps
b51c8731 8rm -rf ../src/misc/.deps
59a4fc6d
RN
9pushd ..
10./autogen.sh
11make distclean
12popd
13
b1a8def8 14# Note the configure stage under wine** is really slow can easily be over 15 minutes
b0557da4
RN
15# make of the icons is also very slow** - can easily be over 5 minutes on a single CPU
16# comparatively the make of the actual src code is not too bad
17
18# Speed up the build by using all CPUs available.
19# Note that a simple '-j' on it's own overloads the system under Wine - hence put in the specific CPU limit here
20wine cmd.exe /c configure_and_make.bat -j $(grep -c ^processor /proc/cpuinfo)
b1a8def8
RN
21
22# ** slowness is probably due to lots of forking going on starting many new small processes