Advertisement
hujuice

/etc/portage/make.conf

Jun 7th, 2016
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.18 KB | None | 0 0
  1. # Please review 'man make.conf' for more information.
  2.  
  3. # Host Setting
  4. # ============
  5. #
  6. CHOST="x86_64-pc-linux-gnu"
  7.  
  8. # Host and optimization settings
  9. # ==============================
  10. #
  11. # https://wiki.gentoo.org/wiki/Safe_CFLAGS#Find_cpu-specific_options
  12. CFLAGS="-march=bdver2 -O2 -pipe"
  13. # Disable the buffer overflow protection. The protections has a small performance cost
  14. CFLAGS="${CFLAGS} -fno-stack-protector"
  15. CXXFLAGS="${CFLAGS}"
  16.  
  17. # Advanced Masking
  18. # ================
  19. #
  20. ACCEPT_KEYWORDS="amd64"
  21.  
  22. # Portage Directories
  23. # ===================
  24. #
  25. PORTDIR="/usr/portage"
  26. #DISTDIR="${PORTDIR}/distfiles"
  27. # Don't drive to SSD (/var/tmp is tmpfs, see fstab)
  28. PORTAGE_TMPDIR="/var/tmp"
  29. CCACHE_DIR="/mass/tmp/ccache"
  30. # See the comment in /etc/env.d/02distcc
  31. #DISTCC_DIR="${PORTAGE_TMPDIR}/distcc"
  32. EMERGE_LOG_DIR="/var/log"
  33. PORT_LOGDIR="${EMERGE_LOG_DIR}/portage"
  34. #PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlay/hujuice/gentoo-overlay ${PORTDIR_OVERLAY}"
  35. PORTDIR_OVERLAY="/usr/local/portage ${PORTDIR_OVERLAY}"
  36.  
  37. # Synchronizing Portage
  38. # =====================
  39. #
  40. # See news
  41. #SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
  42. # In case of failure, lookup a mirror from:
  43. # http://www.gentoo.org/main/en/mirrors-rsync.xml
  44. # Mirror states:
  45. # http://mirrorstats.gentoo.org/rsync/
  46.  
  47. # Fetching files
  48. # ==============
  49. #
  50. GENTOO_MIRRORS="http://mirror.units.it/gentoo/ \
  51. http://mirror.switch.ch/ftp/mirror/gentoo/ \
  52. http://ftp.snt.utwente.nl/pub/os/linux/gentoo \
  53. http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/distfiles/ "
  54.  
  55. # Advanced Features
  56. # =================
  57. #
  58. FEATURES=""
  59. FEATURES="${FEATURES} userfetch"
  60. FEATURES="${FEATURES} parallel-fetch"
  61. FEATURES="${FEATURES} collision-protect"
  62. FEATURES="${FEATURES} clean-logs"
  63. FEATURES="${FEATURES} candy"
  64. # Disable ccache because performance
  65. # See /etc/portage/env/huge.conf
  66. #FEATURES="${FEATURES} ccache"
  67. MAKEOPTS="-j10"
  68. PORTAGE_NICENESS=12
  69. PORTAGE_IONICE_COMMAND="ionice -c3 -p \$\{PID\}"
  70. EMERGE_DEFAULT_OPTS="--ask y --verbose --quiet-build --keep-going --with-bdeps=y --autounmask-write y"
  71. #EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --load-average 0.2"
  72. #EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --exclude www-client/chromium"
  73. #EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --exclude app-office/libreoffice"
  74. CCACHE_SIZE="2G"
  75. # Questo viene gestito con distcc-config e nel file /etc/env.d/02distcc
  76. # In questo file, si possono forzare alcuni valori
  77. # NO NO NO, see the comment in /etc/env.d/02distcc
  78. #DISTCC_LOG="/var/log/portage/distccc.log"
  79. PORTAGE_RSYNC_EXTRA_OPTS="--exclude='local-comment.txt'"
  80. PORTAGE_ELOG_CLASSES="error warn qa info log"
  81. PORTAGE_ELOG_SYSTEM="echo:error,warn save_summary:error,warn save:*"
  82. PORTAGE_ELOG_MAILURI="notifiche@gmail.com"
  83. PORTAGE_ELOG_MAILFROM="root@box.inservibile.org"
  84. PORTAGE_ELOG_MAILSUBJECT="\${PACKAGE} merged on \${HOST} with notice"
  85.  
  86. # Build-time functionality
  87. # ========================
  88. #
  89.  
  90. LINGUAS="it it_IT en en_GB"
  91.  
  92. INPUT_DEVICES="wacom evdev"
  93. VIDEO_CARDS="nouveau nvidia v4l vesa"
  94. ALSA_CARDS="usb-audio"
  95.  
  96. # Heavy choice. There will be many package with unuseful 3322 bit ABI.
  97. # The light (per package) choice results in a huge, unmaintainable package.use
  98. ABI_X86="64 32"
  99.  
  100. # Old Python
  101. #USE_PYTHON="2.7"
  102.  
  103. # USE flags
  104. # =========
  105. #
  106. # Profile: 'plasma'
  107. UHW="-bluetooth directfb fbcon hddtemp lm_sensors smp"
  108. USYS="caps curl -cups device-mapper fontconfig gd geoip gtk3 icu imagemagick lzma lzo nsplugin sqlite syslog vaapi vdpau wayland"
  109. UNET="-ipv6 -ldap -ppp"
  110. UCMDL="offensive vim-syntax"
  111. UDEVEL="tidy"
  112. UMEDIA="aalib audiofile cddb ffmpeg gstreamer jack lame libass libcaca matroska mplayer musicbrainz pulseaudio quicktime taglib theora v4l vlc x265 xpm xspf"
  113. # About CPU_FLAGS_X86:
  114. # In order to ensure safe migration and maintain compatibility with
  115. # external repositories, it is recommended to preserve the old USE
  116. # settings for a period of one year or until no package of interest is
  117. # still using them.
  118. CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop"
  119. USE="${UHW} ${USYS} ${UNET} ${UCMDL} ${UDEVEL} ${UMEDIA} ${CPU_FLAGS_X86}"
  120.  
  121. # Layman integration
  122. # ==================
  123. #
  124. source /var/lib/layman/make.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement