]> git.street.me.uk Git - andy/viking.git/blob - win32/configure_and_make-wine.sh
Remove unnecessary include statement
[andy/viking.git] / win32 / configure_and_make-wine.sh
1 #!/bin/bash
2 # License: CC0
3
4 # First ensure we have a configure script:
5 rm -rf ../src/.deps
6 rm -rf ../src/icons/.deps
7 rm -rf ../src/libjpeg/.deps
8 rm -rf ../src/misc/.deps
9 pushd ..
10 ./autogen.sh
11 make distclean
12 popd
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
20 wine 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