Difference between revisions of "Talk:Ccache"

From ArchWiki
Jump to: navigation, search
m (Talk:Faster compiling with makepkg moved to Talk:Faster compiling and makepkg with ccache HOWTO)
(Ccache wiki outdated? Needs to be changed - comments, please!)
Line 5: Line 5:
 
                 PATH="/usr/lib/ccache/bin:${PATH}"
 
                 PATH="/usr/lib/ccache/bin:${PATH}"
 
         fi
 
         fi
 +
 +
 +
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

Revision as of 13:16, 29 April 2008

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


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