Advertisement
hujuice

make.conf

Jan 6th, 2018
670
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.19 KB | None | 0 0
  1. # Please review 'man make.conf' for more information.
  2.  
  3. # Host Setting
  4. # ============
  5. CHOST="x86_64-pc-linux-gnu"
  6.  
  7. # Host and optimization settings
  8. # ==============================
  9. # https://wiki.gentoo.org/wiki/Safe_CFLAGS#E1.2FE2-XXXX.2C_A4.2FA6.2FA8.2FA10-XXXX_.28Jaguar.2C_Puma.29
  10. #CFLAGS="-O2 -march=btver2 -pipe"
  11. CFLAGS="-O2 -march=native -pipe"
  12. CXXFLAGS="${CFLAGS}"
  13.  
  14. # Advanced Masking
  15. # ================
  16. ACCEPT_KEYWORDS="amd64"
  17.  
  18. # Portage Directories
  19. # ===================
  20. PORTDIR="/usr/portage"
  21. DISTDIR="${PORTDIR}/distfiles"
  22. PKGDIR="${PORTDIR}/packages/btver2"
  23. # Don't drive to SSD (/var/tmp is tmpfs, see fstab)
  24. PORTAGE_TMPDIR="/var/tmp"
  25. CCACHE_DIR="${PORTAGE_TMPDIR}/ccache"
  26. # See the comment in /etc/env.d/02distcc
  27. #DISTCC_DIR="${PORTAGE_TMPDIR}/distcc"
  28. EMERGE_LOG_DIR="/var/log"
  29. PORT_LOGDIR="${EMERGE_LOG_DIR}/portage"
  30.  
  31. # Synchronizing Portage
  32. # =====================
  33. #SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
  34. # In case of failure, lookup a mirror from:
  35. # http://www.gentoo.org/main/en/mirrors-rsync.xml
  36. # Mirror states:
  37. # http://mirrorstats.gentoo.org/rsync/
  38.  
  39. # Fetching files
  40. # ==============
  41. GENTOO_MIRRORS="http://mirror.units.it/gentoo/ \
  42. http://mirror.switch.ch/ftp/mirror/gentoo/ \
  43. http://ftp.snt.utwente.nl/pub/os/linux/gentoo \
  44. http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/distfiles/ "
  45.  
  46. # Advanced Features
  47. # =================
  48. #
  49. FEATURES=""
  50. FEATURES="${FEATURES} userfetch"
  51. FEATURES="${FEATURES} parallel-fetch"
  52. FEATURES="${FEATURES} collision-protect"
  53. FEATURES="${FEATURES} binpkg-logs"
  54. FEATURES="${FEATURES} clean-logs"
  55. #FEATURES="${FEATURES} distcc"
  56. #FEATURES="${FEATURES} distcc-pump"
  57. FEATURES="${FEATURES} candy"
  58. FEATURES="${FEATURES} binpkg-multi-instance"
  59. # Disable ccache because performance
  60. # See /etc/portage/env/huge.conf
  61. #FEATURES="${FEATURES} ccache"
  62. #MAKEOPTS="-j16"
  63. MAKEOPTS="-j7"
  64. PORTAGE_NICENESS=10
  65. PORTAGE_IONICE_COMMAND="ionice -c3 -p \$\{PID\}"
  66. #EMERGE_DEFAULT_OPTS="--ask --verbose --alert --tree --quiet-build --keep-going --with-bdeps=y --autounmask-write=y --buildpkg=y --usepkg=y --binpkg-respect-use=y --binpkg-changed-deps=y"
  67. EMERGE_DEFAULT_OPTS="--ask --verbose --alert --tree --quiet-build --quiet-fail --keep-going --with-bdeps=y --autounmask-write=y"
  68. # The best load average is 0.7 x nCore (?)
  69. # http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
  70. #EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --load-average 4.0 --jobs 2"
  71. CCACHE_SIZE="2G"
  72. # Questo viene gestito con distcc-config e nel file /etc/env.d/02distcc
  73. # In questo file, si possono forzare alcuni valori
  74. # NO NO NO, see the comment in /etc/env.d/02distcc
  75. #DISTCC_LOG="/var/log/portage/distccc.log"
  76. PORTAGE_ELOG_CLASSES="error warn qa info log"
  77. PORTAGE_ELOG_SYSTEM="echo:error,warn,qa,log save_summary:error,warn,qa save:*"
  78. PORTAGE_ELOG_MAILURI="notifiche@gmail.com"
  79. PORTAGE_ELOG_MAILFROM="root@media.inservibile.org"
  80. PORTAGE_ELOG_MAILSUBJECT="\${PACKAGE} merged on \${HOST} with notice"
  81.  
  82.  
  83.  
  84.  
  85. CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
  86. USE="${CPU_FLAGS_x86}"
  87.  
  88. # This sets the language of build output to English.
  89. # Please keep this setting intact when reporting bugs.
  90. LC_MESSAGES=C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement