[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnewsense-dev] ccache support patch for the Builder
From: |
Dmitry Samoyloff |
Subject: |
[Gnewsense-dev] ccache support patch for the Builder |
Date: |
Mon, 14 Jun 2010 23:43:14 +0400 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.1 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) |
Hello,
As far, as I've rebuilt new Gnash in the Builder several times already, ccache
is certainly of help for me. Attached is a small 2-line patch for the Builder
to support ccache.
--
I'm an FSF member -- Help us support software freedom!
<http://www.fsf.org/jf?referrer=7253>
===File ~/projects/builder/builder-ccache-support.patch=====
=== modified file 'config'
--- config 2010-05-30 15:31:41 +0000
+++ config 2010-06-14 19:07:49 +0000
@@ -97,7 +97,7 @@
CDSOURCE_ADD="builder"
# Extra packages to install in the chroot
-CHROOT_EXTRA_PACKAGES="cdbs python-dev python-distutils-extra python-central
libusplash-dev"
+CHROOT_EXTRA_PACKAGES="cdbs python-dev python-distutils-extra python-central
libusplash-dev ccache"
# Version numbers to be appended to generated .debs
# Mostly used during development (Increment these versions when making a
change to the package)
=== modified file 'do-update'
--- do-update 2010-05-29 20:27:21 +0000
+++ do-update 2010-06-14 19:10:09 +0000
@@ -249,7 +249,7 @@
# What are the packages build-deps?
PKG_BUILD_DEPS=$(chroot $CHROOTDIR bash
-c "cd $WORKINGDIR/$PKGNAME && dpkg-checkbuilddeps 2>&1 |sed -e 's/
*([^)]*)//g' | cut -d ' ' -f 5-")
chroot $CHROOTDIR bash -c "cd
$WORKINGDIR/$PKGNAME && apt-get -y install $PKG_BUILD_DEPS"
- chroot $CHROOTDIR bash -c "cd
$WORKINGDIR/$PKGNAME && dpkg-buildpackage $DPKGOPTS"
+ chroot $CHROOTDIR bash -c "cd
$WORKINGDIR/$PKGNAME && export CCACHE_DIR=\"/var/lib/ccache\" && export
PATH=\"/usr/lib/ccache:${PATH}\" && dpkg-buildpackage $DPKGOPTS"
reprepro -Vb $REPODST include
$RELEASE$distro_release $CHROOTDIR/$WORKINGDIR/*.changes
fi
done
============================================================
- [Gnewsense-dev] ccache support patch for the Builder,
Dmitry Samoyloff <=