1
0
Fork 0
This commit is contained in:
Alex Kotov 2023-07-03 12:58:15 +04:00
parent 6471b21ae0
commit b10a3ddf38
5 changed files with 28 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Packages
| Debian | Gentoo |
|--------------------------|-------------------------------|
| | `dev-util/ccache` |
| `bash-completion` | |
| `build-essential` | |
| `cmake` | `dev-util/cmake` |

View File

@ -14,16 +14,21 @@ install_file root root 644 '/etc/fish/functions/rvm.fish' common
if [ "$PREFIX" = 'gentoo' ]; then
echo
install_file root root 644 '/etc/ccache.conf' gentoo
install_file root root 644 '/etc/conf.d/display-manager' gentoo
install_file root root 644 '/etc/env.d/90xsession' gentoo
install_file root portage 644 '/var/lib/portage/world' gentoo
echo
install_dir root root 755 '/etc/portage/env'
install_dir root root 755 '/etc/portage/package.accept_keywords'
install_dir root root 755 '/etc/portage/package.env'
install_dir root root 755 '/etc/portage/package.mask'
install_dir root root 755 '/etc/portage/package.use'
install_file root root 644 '/etc/portage/env/ccache.conf' gentoo
install_file root root 644 '/etc/portage/make.conf' gentoo
install_file root root 644 '/etc/portage/package.license' gentoo
install_file root root 644 '/etc/portage/package.accept_keywords/package.accept_keywords' gentoo
install_file root root 644 '/etc/portage/package.env/ccache' gentoo
install_file root root 644 '/etc/portage/package.mask/toolchains' gentoo
install_file root root 644 '/etc/portage/package.use/toolchains' gentoo
install_file root root 644 '/etc/portage/package.use/zz-autounmask' gentoo

4
gentoo/etc/ccache.conf Normal file
View File

@ -0,0 +1,4 @@
# Also edit /etc/portage/env/ccache.conf
cache_dir = /var/cache/ccache
compiler_check = %compiler% -dumpmachine; %compiler% -dumpversion
max_size = 5G

5
gentoo/etc/portage/env/ccache.conf vendored Normal file
View File

@ -0,0 +1,5 @@
# Also edit /etc/ccache.conf
FEATURES='ccache'
CCACHE_DIR='/var/cache/ccache'
CCACHE_COMPILERCHECK='%compiler% -dumpmachine; %compiler% -dumpversion'
CCACHE_MAXSIZE='5G'

View File

@ -0,0 +1,13 @@
dev-lang/spidermonkey ccache.conf
dev-util/cmake ccache.conf
mail-client/thunderbird ccache.conf
media-libs/mesa ccache.conf
media-video/ffmpeg ccache.conf
#net-im/telegram-desktop ccache.conf # does not work
net-libs/nodejs ccache.conf
sys-devel/clang ccache.conf
sys-devel/llvm ccache.conf
sys-libs/glibc ccache.conf
www-client/chromium ccache.conf
www-client/firefox ccache.conf
x11-libs/gtk+ ccache.conf