HidingCherry / ansible-archlinux-encrypted-root

ansible script to install a fully encrypted archlinux system
GNU Affero General Public License v3.0
1 stars 0 forks source link

Add makepkg optimizations #34

Open MartinX3 opened 2 years ago

MartinX3 commented 2 years ago

We love an optimized buildtime

# /etc/profile.d/makepkg.sh
export PATH="/usr/lib/ccache/bin/:$PATH"
export PATH="/usr/lib/colorgcc/bin/:$PATH"    # As per usual colorgcc installation, leave unchanged (don't add ccache)
export CCACHE_PATH="/usr/bin"                 # Tell ccache to only use compilers here

And the optimizations of /etc/makepkg.conf here: https://wiki.archlinux.org/title/Makepkg#Tips_and_tricks