]> git.street.me.uk Git - andy/viking.git/blame_incremental - 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
1#!/bin/bash
2# License: CC0
3
4# First ensure we have a configure script:
5rm -rf ../src/.deps
6rm -rf ../src/icons/.deps
7rm -rf ../src/libjpeg/.deps
8rm -rf ../src/misc/.deps
9pushd ..
10./autogen.sh
11make distclean
12popd
13
14# Note the configure stage under wine** is really slow can easily be over 15 minutes
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)
21
22# ** slowness is probably due to lots of forking going on starting many new small processes