Mailing List Archive

how to use ccache selectivelly?
Hi, all

I'm emerging OpenOffice, and its directory
/var/tmp/portage/openoffice-1.1.3/ is about 2.0G !! This and the portage
ccache of about 1.3G are almost filling up the root partition.

Is there an option to choose not to use ccache for selected ebuilds? Or
do I have to do it at /etc/make.conf before emerging the big ones?

And how do I clean the ccache cache after OpenOffice finishes compilation?

Thank you in advance
Francisco

--
gentoo-user@gentoo.org mailing list
Re: how to use ccache selectivelly? [ In reply to ]
Aaron Walker wrote:

> Francisco Ares wrote:
> | Hi, all
> |
> | I'm emerging OpenOffice, and its directory
> | /var/tmp/portage/openoffice-1.1.3/ is about 2.0G !! This and the portage
> | ccache of about 1.3G are almost filling up the root partition.
> |
> | Is there an option to choose not to use ccache for selected ebuilds? Or
> | do I have to do it at /etc/make.conf before emerging the big ones?
>
> you can just prepend FEATURES="-ccache" before your command:
>
> # FEATURES="-ccache" emerge openoffice
>

Hey, that's cool! Thanks

> |
> | And how do I clean the ccache cache after OpenOffice finishes
> compilation?
>
> man ccache
>

I've tried that, the command is "ccache -C", but didn't do anything as
root to the ccache for portage. As root I tryed "su portage" and "ccache
-C", with no results also.

> HTH
> --
> Someone whom you reject today, will reject you tomorrow.
>
> Aaron Walker - Gentoo Developer [ Gentoo/BSD / cron / shell-tools ]
> ka0ttic@gentoo.org http://dev.gentoo.org/~ka0ttic/


--
+---------+--------------------------------------------------+
| .^. | Francisco J. A. Ares |
| /V\ | e-mail: frares@terra.com.br |
| /(.)\ | Linux Registered: User #174415 & Machine #166861 |
| ^-^ | Powered by Gentoo-Linux 2.6.7-gentoo-r14 |
+---------+--------------------------------------------------+


--
gentoo-user@gentoo.org mailing list
Re: how to use ccache selectivelly? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Francisco Ares wrote:
| Hi, all
|
| I'm emerging OpenOffice, and its directory
| /var/tmp/portage/openoffice-1.1.3/ is about 2.0G !! This and the portage
| ccache of about 1.3G are almost filling up the root partition.
|
| Is there an option to choose not to use ccache for selected ebuilds? Or
| do I have to do it at /etc/make.conf before emerging the big ones?

you can just prepend FEATURES="-ccache" before your command:

# FEATURES="-ccache" emerge openoffice

|
| And how do I clean the ccache cache after OpenOffice finishes compilation?

man ccache

HTH
- --
Someone whom you reject today, will reject you tomorrow.

Aaron Walker - Gentoo Developer [ Gentoo/BSD / cron / shell-tools ]
ka0ttic@gentoo.org http://dev.gentoo.org/~ka0ttic/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBewxEC3poscuANHARAqlJAKCO0UP3Efa3xuCYygjRpPQQEa9HAgCgo6Vd
sqtDQAHvOFXbn3S1/LpSrIQ=
=qFnt
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list
Re: how to use ccache selectivelly? [ In reply to ]
On Sat, 23 Oct 2004, Francisco Ares wrote:

>
> Aaron Walker wrote:
>
> > Francisco Ares wrote:
> > | Hi, all
> > |
> > | I'm emerging OpenOffice, and its directory
> > | /var/tmp/portage/openoffice-1.1.3/ is about 2.0G !! This and the portage
> > | ccache of about 1.3G are almost filling up the root partition.
> > |
> > | Is there an option to choose not to use ccache for selected ebuilds? Or
> > | do I have to do it at /etc/make.conf before emerging the big ones?
> >
> > you can just prepend FEATURES="-ccache" before your command:
> >
> > # FEATURES="-ccache" emerge openoffice
> >
>
> Hey, that's cool! Thanks
>
> > |
> > | And how do I clean the ccache cache after OpenOffice finishes
> > compilation?
> >
> > man ccache
> >
>
> I've tried that, the command is "ccache -C", but didn't do anything as
> root to the ccache for portage. As root I tryed "su portage" and "ccache
> -C", with no results also.
>
> > HTH
> > --
> > Someone whom you reject today, will reject you tomorrow.
> >
> > Aaron Walker - Gentoo Developer [ Gentoo/BSD / cron / shell-tools ]
> > ka0ttic@gentoo.org http://dev.gentoo.org/~ka0ttic/
>
>
> --
> +---------+--------------------------------------------------+
> | .^. | Francisco J. A. Ares |
> | /V\ | e-mail: frares@terra.com.br |
> | /(.)\ | Linux Registered: User #174415 & Machine #166861 |
> | ^-^ | Powered by Gentoo-Linux 2.6.7-gentoo-r14 |
> +---------+--------------------------------------------------+
>
>

Hi,
You should set CCACHE_DIR. For example:
CCACHE_DIR=/var/tmp/ccache ccache -C

HTH.
Cheers,
Tamas Sarga
--
A day is 24 hours long. Egy nap 24 órából áll.
A box of beer contains 24 bottles. Egy tálcán 24 üveg sör van.
I don't believe in coincidence. Nem hiszek a véletlenekben.

--
gentoo-user@gentoo.org mailing list
Re: how to use ccache selectivelly? [ In reply to ]
Tamas Sarga wrote:

>On Sat, 23 Oct 2004, Francisco Ares wrote:
>
>
>
>>Aaron Walker wrote:
>>
>>
>>
>>>Francisco Ares wrote:
>>>| Hi, all
>>>|
>>>| I'm emerging OpenOffice, and its directory
>>>| /var/tmp/portage/openoffice-1.1.3/ is about 2.0G !! This and the portage
>>>| ccache of about 1.3G are almost filling up the root partition.
>>>|
>>>| Is there an option to choose not to use ccache for selected ebuilds? Or
>>>| do I have to do it at /etc/make.conf before emerging the big ones?
>>>
>>>you can just prepend FEATURES="-ccache" before your command:
>>>
>>> # FEATURES="-ccache" emerge openoffice
>>>
>>>
>>>
>>Hey, that's cool! Thanks
>>
>>
>>
>>>|
>>>| And how do I clean the ccache cache after OpenOffice finishes
>>>compilation?
>>>
>>>man ccache
>>>
>>>
>>>
>>I've tried that, the command is "ccache -C", but didn't do anything as
>>root to the ccache for portage. As root I tryed "su portage" and "ccache
>>-C", with no results also.
>>
>>
>>
>>>HTH
>>>--
>>>Someone whom you reject today, will reject you tomorrow.
>>>
>>>Aaron Walker - Gentoo Developer [ Gentoo/BSD / cron / shell-tools ]
>>>ka0ttic@gentoo.org http://dev.gentoo.org/~ka0ttic/
>>>
>>>
>>--
>>+---------+--------------------------------------------------+
>>| .^. | Francisco J. A. Ares |
>>| /V\ | e-mail: frares@terra.com.br |
>>| /(.)\ | Linux Registered: User #174415 & Machine #166861 |
>>| ^-^ | Powered by Gentoo-Linux 2.6.7-gentoo-r14 |
>>+---------+--------------------------------------------------+
>>
>>
>>
>>
>
>Hi,
>You should set CCACHE_DIR. For example:
>CCACHE_DIR=/var/tmp/ccache ccache -C
>
>HTH.
>Cheers,
>Tamas Sarga
>--
>A day is 24 hours long. Egy nap 24 órából áll.
>A box of beer contains 24 bottles. Egy tálcán 24 üveg sör van.
>I don't believe in coincidence. Nem hiszek a véletlenekben.
>
>
>
Another cool tip!

Thanks
Francisco

--
gentoo-user@gentoo.org mailing list
Re: how to use ccache selectivelly? [ In reply to ]
> Tamas Sarga wrote:

>> Hi,
>> You should set CCACHE_DIR. For example:
>> CCACHE_DIR=/var/tmp/ccache ccache -C
>>
>> HTH.
>> Cheers,
>> Tamas Sarga
>> --
>> A day is 24 hours long. Egy nap 24 órából áll.
>> A box of beer contains 24 bottles. Egy tálcán 24 üveg sör van.
>> I don't believe in coincidence. Nem hiszek a véletlenekben.
>>
>>
>>
> Another cool tip!
>
> Thanks
> Francisco

I tried that and got a severe reprimand:

$ etcat -v baselayout
!!! Invalid token (not "=") -C
!!! ParseError: Invalid token (not '='): //etc/make.conf: line 116 in
//etc/make.conf
!!! Incorrect multiline literals can cause this. Do not use them.

Regards,

--
Dennis Robertson

--
gentoo-user@gentoo.org mailing list
Re: how to use ccache selectivelly? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dennis Robertson wrote:
|
|> Tamas Sarga wrote:
|
|
|>> Hi,
|>> You should set CCACHE_DIR. For example:
|>> CCACHE_DIR=/var/tmp/ccache ccache -C
|>>
|>> HTH.
|>> Cheers,
|>> Tamas Sarga
|>> --
|>> A day is 24 hours long. Egy nap 24 �r�b�l �ll.
|>> A box of beer contains 24 bottles. Egy t�lc�n 24 �veg s�r van.
|>> I don't believe in coincidence. Nem hiszek a v�letlenekben.
|>>
|>>
|>>
|> Another cool tip!
|>
|> Thanks
|> Francisco
|
|
| I tried that and got a severe reprimand:
|
| $ etcat -v baselayout
| !!! Invalid token (not "=") -C
| !!! ParseError: Invalid token (not '='): //etc/make.conf: line 116 in
| //etc/make.conf
| !!! Incorrect multiline literals can cause this. Do not use them.

Because it was meant to be run from the command line, not set in make.conf ;)

- --
Computer programmers do it byte by byte.

Aaron Walker - Gentoo Developer [ Gentoo/BSD / cron / shell-tools ]
ka0ttic@gentoo.org http://dev.gentoo.org/~ka0ttic/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFBflj9C3poscuANHARAiDeAJjxJAXu3dePtvU3LRXPkB4KJlEIAKDEgWkv
XFO3uNTO/deX5+Sm2PwaOg==
=YyhO
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list
Re: how to use ccache selectivelly? [ In reply to ]
Aaron Walker wrote:
> Dennis Robertson wrote:
> |
> |> Tamas Sarga wrote:
> |
> |
> |>> Hi,
> |>> You should set CCACHE_DIR. For example:
> |>> CCACHE_DIR=/var/tmp/ccache ccache -C
> |>>
> |>> HTH.
> |>> Cheers,
> |>> Tamas Sarga
> |>> --
> |>> A day is 24 hours long. Egy nap 24 ýrýbýl ýll.
> |>> A box of beer contains 24 bottles. Egy týlcýn 24 ýveg sýr van.
> |>> I don't believe in coincidence. Nem hiszek a výletlenekben.
> |>>
> |>>
> |>>
> |> Another cool tip!
> |>
> |> Thanks
> |> Francisco
> |
> |
> | I tried that and got a severe reprimand:
> |
> | $ etcat -v baselayout
> | !!! Invalid token (not "=") -C
> | !!! ParseError: Invalid token (not '='): //etc/make.conf: line 116 in
> | //etc/make.conf
> | !!! Incorrect multiline literals can cause this. Do not use them.
>
> Because it was meant to be run from the command line, not set in
> make.conf ;)

Doh! Thanks.

--
Dennis Robertson

--
gentoo-user@gentoo.org mailing list