Speed up Your Emerge Times on Gentoo
Автор: Mental Outlaw
Загружено: 2020-01-30
Просмотров: 37395
Описание:
In this video I give you some tips on how to optimize gentoos compilation time so that you can emerge packages faster, as well as rebuild packages with different use flags much faster. Set your MAKEOPTS to your make.conf file according to the number of CPU threads you have (make sure to leave enough CPU threads available if you're going to use your machine while emerging packages) Enable pipe if you sufficient ram (I recommend 2 GB of ram for each CPU thread in your MAKEOPTS) and set O options to 2 (or 3 if you're feeling brave or mostly using packages on gentoos list of packages that support O3) You can also use ccache to cache C and C++ objects for multiple emerges with different use flags, and ofcourse don't use a bunch of redundant packages :D
Heres a copy of my make.conf settings since my colorscheme is a little hard to read on video
These settings were set by the catalyst build script that automatically
built this stage.
Please consult /usr/share/portage/config/make.conf.example for a more
detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j3"
USE="-kde -systemd -gnome -aqua -cdinstall -cdr -css -dvd -dvdr -a52 -cjk \
-clamav -coreaudio -ios -ipod -iee1394 -emacs -xemacs \
-emboss -3dfx -altivec -smartcard -cups -ibm alsa x xinerama"
#RUBY_TARGETS="ruby24 ruby25"
NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
This sets the language of build output to English.
Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo https://gentoo.ussg.indiana.edu/ https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/ https://mirror.sjc02.svwh.net/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/"
Subscribe to my YouTube channel http://goo.gl/9U10Wz
and be sure to click that notification bell so you know when new videos are released. ₿💰💵💲Help Support the Channel by Donating Crypto💲💵💰₿
Dash
Xh9PXPEy5RoLJgFDGYCDjrbXdjshMaYerz
Zcash
t1aWtU5SBpxuUWBSwDKy4gTkT2T1ZwtFvrr
Chainlink
0x0f7f21D267d2C9dbae17fd8c20012eFEA3678F14
Bitcoin Cash
qz2st00dtu9e79zrq5wshsgaxsjw299n7c69th8ryp
Etherum Classic
0xeA641e59913960f578ad39A6B4d02051A5556BfC
USD Coin
0x0B045f743A693b225630862a3464B52fefE79FdB Bitcoin
bc1qyj5p6hzqkautq4d3zgzwfllm7xv9wjeqkv857z
Ethereum
0x35B505EB5b717D11c28D163fb1412C3344c7684d
Litecoin
LQviuYVbvJs1jCSiEDwWAarycA4xsqJo7D
DOGE
D7MPGcUT4sXkGroGbs4QVQGyXqXd6QfmXF
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: