]>
Commit | Line | Data |
---|---|---|
59a4fc6d | 1 | #!/bin/bash |
ba3695b5 | 2 | # License: CC0 |
59a4fc6d RN |
3 | |
4 | # First ensure we have a configure script: | |
c47a1ffb RN |
5 | rm -rf ../src/.deps |
6 | rm -rf ../src/icons/.deps | |
53775ccc | 7 | rm -rf ../src/libjpeg/.deps |
b51c8731 | 8 | rm -rf ../src/misc/.deps |
59a4fc6d RN |
9 | pushd .. |
10 | ./autogen.sh | |
11 | make distclean | |
12 | popd | |
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 | |
20 | wine 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 |