eselect profile set default/linux/amd64/17.0/desktop/gnome/systemd (stable)
- 台式机,有线网络
- OS:Gentoo
- CPU:Intel Haswell i7
CFLAGS="-march=haswell -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j9"
CHOST="x86_64-pc-linux-gnu"
USE="systemd wayland gtk gtk3 truetype jpeg png branding -tracker -nautilus -emoji -networkmanager -http -ldap -nls -doc -cups -wifi -bluetooth -consolekit -kde -qt -qt4 -qt5"
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
ACCEPT_LICENSE="-* @FREE"
ACCEPT_KEYWORDS="amd64"
VIDEO_CARDS="intel"
INPUT_DEVICES="evdev"
LINGUAS="en_US.UTF-8"
PORTAGE_TMPDIR='/tmp'
GENTOO_MIRRORS="https://mirrors.ustc.edu.cn/gentoo"
BUILD_PREFIX='/tmp/portage'
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="save"
ABI_X86="64"
FEATURES="-xattr"
LLVM_TARGETS="X86"
GRUB_PLATFORMS="efi-64"
- MacBook Pro,无线网络
- OS:Gentoo
- CPU:Intel Haswell i7
CFLAGS="-march=haswell -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j8"
CHOST="x86_64-pc-linux-gnu"
USE="systemd -tracker -nautilus -emoji -http -ldap -nls -doc -cups -consolekit -kde -qt -qt4 -qt5"
# wayland gtk gtk3 truetype jpeg png branding
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
ACCEPT_LICENSE="-* @FREE"
ACCEPT_KEYWORDS="amd64"
VIDEO_CARDS="intel"
INPUT_DEVICES="evdev synaptics"
LINGUAS="en_US.UTF-8"
PORTAGE_TMPDIR='/tmp'
GENTOO_MIRRORS="https://mirrors.ustc.edu.cn/gentoo"
BUILD_PREFIX='/tmp/portage'
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="save"
ABI_X86="64"
FEATURES="-xattr"
LLVM_TARGETS="X86"
GRUB_PLATFORMS="efi-64"
[可选]tips: distcc
两端均需安装 distcc
之后服务端执行:
systemctl daemon-reload
systemctl start distccd
客户端执执行:
/usr/bin/distcc-config --set-hosts "192.168.1.7 192.168.1.8 192.168.1.9"
第一个主机地址,必须是客户端自身(如示例中的 192.168.1.7)
手机扫一扫
移动阅读更方便
你可能感兴趣的文章