Changes between Version 1 and Version 2 of SettingUpDevelopmentEnvironmentForN9


Ignore:
Timestamp:
Jan 26, 2012 7:44:06 AM (12 years ago)
Author:
zarvai@inf.u-szeged.hu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpDevelopmentEnvironmentForN9

    v1 v2  
    129129=== 3. Create ICECC toolchain (optional) ===
    130130
    131 If you have
     131If you have multiple workstations configured to use [http://en.opensuse.org/Icecream ICECC], you can speed up building process significantly.
     132
     133Create a toolchain for distributed building (run@host):
     134{{{
     135  $ cd ~/swork
     136  $ browser-scripts/create-icecc-env.sh > icecc-env.sh
     137}}}
     138
     139The resulted icecc-env.sh file will be similar to this:
     140{{{
     141#!html
     142<div style="color:#000055;border: 1pt dotted; margin:1em 2em 1em 2em; padding: 1em;background:none repeat scroll 0 0 #CCDDFF;">
     143<pre>
     144icecc_tarball=$(readlink -f $HOME/icecc/icecc-build)
     145parallel_builds="40"
     146
     147if [ -f $icecc_tarball ] ; then
     148    export ICECC_VERSION="i386:$icecc_tarball,x86_64:$icecc_tarball"
     149    export PATH="/home/azbest/icecc/bin:$PATH"
     150    export MAKEFLAGS="$MAKEFLAGS -j$parallel_builds"
     151    export DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS,parallel=$parallel_builds"
     152fi
     153</pre></div>
     154}}}
     155
     156Make the script runnable and execute it before building inside scratchbox when you need speedup.
    132157
    133158=== 4. Build QtWebKit ===
    134159
    135 Login to scratchbox (run@host):
     160Login to scratchbox and optionally execute script for icecc (run@host):
    136161{{{
    137162  $ /scratchbox/login
    138163  [sbox-HARMATTAN_ARMEL: ~] >
    139164  [sbox-HARMATTAN_ARMEL: ~] > cd ~/swork
     165  [sbox-HARMATTAN_ARMEL: ~/swork] > . icecc-env.sh
    140166}}}
    141167