make.conf.template 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #/etc/portage/make.conf
  2. ACCEPT_KEYWORDS="~amd64"
  3. CFLAGS="-O2 -march=x86-64 -mtune=generic -pipe" # DEFAULT
  4. #CFLAGS="-O2 -march=amdfam10 -mpopcnt -pipe" # AMD Bulldozer A series
  5. #CFLAGS="-O2 -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=hard -pipe -fomit-frame-pointer" # ARM v7
  6. CXXFLAGS="${CFLAGS}"
  7. CC="gcc"
  8. CXX="g++"
  9. MAKEOPTS="-j4 -l4 --quiet"
  10. NINJAOPTS="-j4"
  11. FEATURES="${FEATURES} sandbox multilib-strict parallel-fetch userfetch usersync parallel-install -preserve-libs -protect-owned sfperms -compress-build-logs -fail-clean metadata-transfer buildpkg -ccache -distcc -distcc-pump -xattr nodoc noinfo noman notitles noauto ebuild-locks candy -keepwork clean-logs"
  12. CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2"
  13. USE="-low-memory gmp vulkan -lapack -fortran -dbus -deprecated multitarget dga -opencl -opengl openvg openal gles2 gles egl -cups -pam -python -installkernel -build -epydoc -doc -rdoc -handbook -info -man -gnome -gtk -kde -kdeenablefinal -ldap -qt3 -qt3support -qt4 -consolekit -policykit -X -xscreensaver -xinerama -xv -osdmenu -gcrypt -slang \
  14. lm_sensors nfs xkbcommon iscsi int64 terminal icu gbm libkms libdrm jemalloc tcmalloc new-tcmalloc wps minimal tls-heartbeat 10bit rar lzma ffmpeg amr amrenc theora openh264 x264 x265 vpx xvid libilbc libcaca libmpv libmpeg2 aalib faac faad opus mp4 flv imgs apng png pdf djvu jpeg jpeg2k tiff gif svg raw webp wmf libass matroska aac a52 flac ogg mp3 vorbis gsm rtmp librtmp rtsp fontconfig truetype nls userlocales unicode iconv gpm gps imagemagick ipv6 joystick btrfs wayland-compositor wayland -xwayland drm gles2 wifi bluetooth kvm v4l v4l2 libv4l libv4l2 win32codecs mtp vnc usb usbredir acpi udev alsa harfbuzz bash-completition zsh-completion curl ssh threads ithreads vim-syntax openssl fbdev fbcon lzo 7z md5sum sqlite fuse clang clang_tidy gold -thinlto -lld libcxx livecd lua luajit bittorrent javascript ftp sftp brotli json"
  15. GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles"
  16. EMERGE_DEFAULT_OPTS="--quiet-build=y --ask --tree --keep-going --with-bdeps=y --complete-graph --autounmask-write=y --verbose --verbose-conflicts --backtrack=30 --deep --jobs=2 --load-average=4"
  17. INPUT_DEVICES="evdev mouse keyboard"
  18. VIDEO_CARDS="vesa fbdev i915 i965 intel nouveau vmware virtualbox radeon amdgpu virgl"
  19. ALSA_CARDS="hda-intel intel8x0"
  20. LINGUAS="ru en"
  21. L10N="ru en"
  22. PORTAGE_BINHOST="/var/cache/portage/packages"
  23. DISTDIR="/var/cache/portage/distfiles"
  24. PKGDIR="/var/cache/portage/packages"
  25. RPMDIR="/var/cache/portage/rpm"
  26. EGIT_CLONE_TYPE="shallow"
  27. EGIT3_STORE_DIR="/var/cache/portage/git-r3"
  28. LLVM_TARGETS="X86 AMDGPU BPF NVPTX ARM Mips AArch64"
  29. RUBY_TARGETS="ruby25"
  30. PYTHON_TARGETS="pypy pypy3 python3_6"
  31. PYTHON_SINGLE_TARGET="python3_6"
  32. PYTHON_ABIS="3.6"
  33. PORT_LOGDIR=/var/tmp/log/portage
  34. PORTAGE_ELOG_CLASSES="log warn error info"
  35. PORTAGE_ELOG_SYSTEM="echo:log,warn save:log,warn,error,info syslog:error"
  36. PORTAGE_NICENESS=9
  37. INSTALL_MASK="README\ *.pdf"
  38. SYMLINK_LIB=no
  39. #CCACHE_SIZE="5G"
  40. #CCACHE_DIR="/var/cache/ccache"
  41. QEMU_USER_TARGETS="x86_64 arm aarch64 mipsel mips64el"
  42. QEMU_SOFTMMU_TARGETS=${QEMU_USER_TARGETS}
  43. PAX_MARKINGS="none"
  44. FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp --no-check-certificate -O \${DISTDIR}/\${FILE} \${URI}"
  45. RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp --no-check-certificate -O \${DISTDIR}/\${FILE} \${URI}"