Editing Icecream Scratchbox Howto
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
= Icecream + Scratchbox HOWTO = | = Icecream + Scratchbox HOWTO = | ||
- | |||
- | |||
From Icecream web page <ref>http://en.opensuse.org/Icecream</ref>: | From Icecream web page <ref>http://en.opensuse.org/Icecream</ref>: | ||
Line 34: | Line 32: | ||
export ICECC_VERSION=$icecc_tarball | export ICECC_VERSION=$icecc_tarball | ||
export PATH=/usr/lib/icecc/bin:$PATH | export PATH=/usr/lib/icecc/bin:$PATH | ||
- | export | + | export MAKEFLAGS=-j12 |
fi | fi | ||
unset icecc_tarball procfamily DISTRIB_ID DISTRIB_RELEASE DISTRIB_CODENAME DISTRIB_DESCRIPTION | unset icecc_tarball procfamily DISTRIB_ID DISTRIB_RELEASE DISTRIB_CODENAME DISTRIB_DESCRIPTION | ||
Line 40: | Line 38: | ||
Note that on other distributions than Ubuntu, you might have to modify this, depending on the contents on /etc/lsb-release. | Note that on other distributions than Ubuntu, you might have to modify this, depending on the contents on /etc/lsb-release. | ||
- | |||
- | |||
Then, create directory $HOME/icecc and run <pre>icecc --build-native</pre> there. Symlink the created tarball to a descriptive name, e.g. icecc-i686-karmic.tar.gz (this name has to match the $icecc_tarball variable in the .bashrc snippet above). | Then, create directory $HOME/icecc and run <pre>icecc --build-native</pre> there. Symlink the created tarball to a descriptive name, e.g. icecc-i686-karmic.tar.gz (this name has to match the $icecc_tarball variable in the .bashrc snippet above). | ||
Line 124: | Line 120: | ||
sbox_compiler="$(sb-conf show --compiler)" | sbox_compiler="$(sb-conf show --compiler)" | ||
# use the tarball name with the MD5, avoiding conflicting names in peer caches | # use the tarball name with the MD5, avoiding conflicting names in peer caches | ||
- | icecc_tarball="$(readlink -f $HOME | + | icecc_tarball="$(readlink -f $HOME/icecc_sbox-$sbox_compiler.tar.gz)" |
if [ -f "$icecc_tarball" ]; then | if [ -f "$icecc_tarball" ]; then | ||
export ICECC_VERSION="i486:$icecc_tarball" | export ICECC_VERSION="i486:$icecc_tarball" |
Learn more about Contributing to the wiki.