Commit 08270b6d authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Build the squeeze schroot with profiling enabled

Since we're installing cabal from scratch, we can take the advantage of
it and build everything with profiling enabled (including libraries that
are installed during the installation of cabal).

Also since we're using a newer version of cabal, we can let it install
packages in parallel, speeding up the schroot build.
Signed-off-by: default avatarPetr Pudlak <>
Reviewed-by: default avatarKlaus Aehlig <>
parent fd46a374
......@@ -200,7 +200,7 @@ function install_cabal {${CABAL_INSTALL_VERSION}/cabal-install-${CABAL_INSTALL_VERSION}.tar.gz
tar xzf cabal-install.tar.gz
cd cabal-install-${CABAL_INSTALL_VERSION}
./ --global
EXTRA_CONFIGURE_OPTS="--enable-library-profiling" ./ --global
[ -d "$TDIR" ] && rm -rf "$TDIR"
......@@ -259,8 +259,9 @@ case $DIST_RELEASE in
in_chroot -- \
cabal update
# sinec we're using Cabal >=1.16, we can use the parallel install option
in_chroot -- \
cabal install --global \
cabal install --global -j --enable-library-profiling \
attoparsec- \
base64-bytestring- \
blaze-builder- \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment