Mailinglist Archive: opensuse-buildservice (233 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] preferred rpms and ccache
- From: Michael Wolf <maw@xxxxxxxxxx>
- Date: Tue, 08 May 2007 10:32:16 -0500
- Message-id: <1178638336.9183.15.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Wed, 2007-05-02 at 21:09 +0200, Dr. Peter Poeml wrote:
> I implemented the functionality in a slightly different way.
I'm glad you did. The intent wasn't for it to go into svn as I
implemented it -- it was quick and dirty by any standard.
> > Second is a patched version of ccache. This links
> > /usr/local/bin/{gcc,cc,g++,c++} to /usr/bin/ccache. The result is that
> > ccache is transparently invoked when building, no need modify your .spec
> > or anything like that. Also, the default cache size is raised to 3G and
> > ccache's directory goes into /.ccache. To use, you currently need my
> > patched osc; put the ccache package into your preferred rpms directory
> > and build away.
>
> This calls for an --extra-pacs option. For now, it might be acceptable
> to put ccache into BuildRequires and let it come from the preferred
> dir...
I guess, but I'm sure I'll end up forgetting and leaving ccache as a
BuildRequire -- not the end of the world, but kind of annoying.
> Locally, I played with another option today:
>
> -k DIR, --keep-pacs=DIR
> Save built packages into this directory
>
> This can work hand in hand with --prefer-pacs. Does this sound cool or
> stupid to anyone?
This sounds like it would be very useful.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
> I implemented the functionality in a slightly different way.
I'm glad you did. The intent wasn't for it to go into svn as I
implemented it -- it was quick and dirty by any standard.
> > Second is a patched version of ccache. This links
> > /usr/local/bin/{gcc,cc,g++,c++} to /usr/bin/ccache. The result is that
> > ccache is transparently invoked when building, no need modify your .spec
> > or anything like that. Also, the default cache size is raised to 3G and
> > ccache's directory goes into /.ccache. To use, you currently need my
> > patched osc; put the ccache package into your preferred rpms directory
> > and build away.
>
> This calls for an --extra-pacs option. For now, it might be acceptable
> to put ccache into BuildRequires and let it come from the preferred
> dir...
I guess, but I'm sure I'll end up forgetting and leaving ccache as a
BuildRequire -- not the end of the world, but kind of annoying.
> Locally, I played with another option today:
>
> -k DIR, --keep-pacs=DIR
> Save built packages into this directory
>
> This can work hand in hand with --prefer-pacs. Does this sound cool or
> stupid to anyone?
This sounds like it would be very useful.
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |