Difference between revisions of "Talk:Ccache"

From ArchWiki
Jump to: navigation, search
(Ccache wiki outdated? Needs to be changed - comments, please!)
Line 1: Line 1:
 +
=kernel24=
 
ccache worked ok with every compilation except kernel24.
 
ccache worked ok with every compilation except kernel24.
 
To use it for kernel24 compilation I had to add this to my ~/.bashrc
 
To use it for kernel24 compilation I had to add this to my ~/.bashrc
Line 6: Line 7:
 
         fi
 
         fi
  
 +
=Accuracy dispute=
 +
Are you guys sure that the variables CC, CCP and CCX need to be added to makepkg.conf? I remember them being used, but I think they may be deprecated with the enhanced BUILDENV variable.
  
Are you guys sure that the variables CC, CCP and CCX need to be added to makepkg.conf? I remember them being used, but I think they may be deprecated with the enhanced BUILDENV variable. I found that it is enough to just edit /etc/makepkg.conf and change the BUILDENV line [that is, uncomment !ccache like this: BUILDENV=([...] ccache [...])]. I don't want to edit the page an introduce a mistake, but for me it works as expected. So... any comments?
+
I found that it is enough to just edit /etc/makepkg.conf and change the BUILDENV line [that is, uncomment !ccache like this: BUILDENV=([...] ccache [...])]. I don't want to edit the page an introduce a mistake, but for me it works as expected. So... any comments?
  
mutlu_inek
+
[[User:Mutlu inek|Mutlu inek]] 09:24, 29 April 2008 (EDT)

Revision as of 13:24, 29 April 2008

kernel24

ccache worked ok with every compilation except kernel24. To use it for kernel24 compilation I had to add this to my ~/.bashrc

        if [ -d /usr/lib/ccache ] ; then
                PATH="/usr/lib/ccache/bin:${PATH}"
        fi

Accuracy dispute

Are you guys sure that the variables CC, CCP and CCX need to be added to makepkg.conf? I remember them being used, but I think they may be deprecated with the enhanced BUILDENV variable.

I found that it is enough to just edit /etc/makepkg.conf and change the BUILDENV line [that is, uncomment !ccache like this: BUILDENV=([...] ccache [...])]. I don't want to edit the page an introduce a mistake, but for me it works as expected. So... any comments?

Mutlu inek 09:24, 29 April 2008 (EDT)