Hi all,
Is there any way to allow switchable use of 'ccache' within
dpkg-buildpackage? I am thinking of something like the "-j2" flag that
can be used to switch on and off parallel builds. What about use of
"distcc" during package building? How can I command dpkg to use these
things optionally, only when I want them used?
My reasons for asking are (1) to allow faster debugging of package
builds (even if there might be better ways of doing that and (2) to
allow distributed compilation, at sub-package level.
FWIW I believe this was possible with RPM packages using a file called,
I think, "~/.rpmmacros", which could define local user-defined flags
that the package builder could detect at build-time.
Cheers
JP
--
John Pye
http://jpye.dyndns.org/
--
To UNSUBSCRIBE, email to debian-mentors-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@curioussymbols.com
dpkg-buildpackage and debian/rules should stay away from enabling or
disabling ccache/distcc. It is your responsibility, not that of the
packaging to enable the use of ccache/distcc.
I personally enable ccache permanently like so:
$ grep ccache ~/.*
/home/pabs/.bashrc:export PATH="/usr/lib/ccache:$PATH"
I don't have enough computers to run distcc.
--
bye,
pabs
http://wiki.debian.org/PaulWise
--
To UNSUBSCRIBE, email to debian-mentors-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/AANLkTi=vK-0kSBmmOrDb25T33-BZnox18_hut+J3p=***@mail.gmail.com