aurto icon indicating copy to clipboard operation
aurto copied to clipboard

ccache support

Open rkunschke opened this issue 2 years ago • 2 comments

This feature would be great to minimize compilation times. I tried ti just activate ccache in aurtos makepkg.conf and added ccache to the HoldPKG section in aurtos pacman.conf but just got errors.

rkunschke avatar Apr 09 '22 10:04 rkunschke

Like many build features we'd need to figure out how to do it with aurutils --chroot and then review any changes needed here. I haven't used ccache with aur myself.

alexheretic avatar Apr 09 '22 15:04 alexheretic

Seems to be possible: https://github.com/AladW/aurutils/issues/334#issuecomment-406531160 Seems like you just have to bind an persistent directory for the cache and activate it in the makepkg.conf. And ccache needs to be installed in the builds chroot.

rkunschke avatar Apr 11 '22 18:04 rkunschke