blob: c9e44f02e6e70d85457e328754e3a47d99b851cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
ABI_X86="64"
CHOST="x86_64-pc-linux-gnu"
#CFLAGS="-march=nocona -O2 -fPIC -fno-omit-frame-pointer"
CFLAGS="-march=nocona -O2"
CXXFLAGS="${CFLAGS}"
#CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 aes xop fma3 fma4 avx avx2"
CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 aes"
# Local build
#MAKEOPTS="-j5"
# DistCC build (Twice total CPUs + 1, Local CPUs).
MAKEOPTS="-j59 -l5"
# Default 2-jobs per localhost and 4-jobs per other nodes (increase recommended only on 4-head systems)
DISTCC_HOSTS="ipepdvcompute4/16,lzo ipepdvcompute1/8,lzo ipepdvcompute3/8,lzo localhost/4"
#DISTCC_HOSTS="localhost ipepdvcompute4/16 ipepdvcompute1/8 ipepdvcompute3/8"
#DISTCC_HOSTS="localhost ipepdvcompute4/16"
#DISTCC_HOSTS="ipepdvcompute4/16"
# DISTCC server will be blacklisted if compilation fails (which may happen intentionally during configuration stage).
# Short timeout is necessary to avoid it (0 disables it alltogether). Backof should be enabled to avoid failing while in backof.
# Manually cleaning backoff files in '/root/.distc' and '/var/tmp/portage/.distcc' does not help
# Check with verbose as after a while may start defaulting to localhost for some reason.
DISTCC_BACKOFF_PERIOD=5
#DISTCC_FALLBACK=0
#DISTCC_VERBOSE=1
# Emerge level parallelism (but suppesses output, only logs are written)
#EMERGE_DEFAULT_OPTS="--jobs 4 --keep-going y"
FEATURES="${FEATURES} distcc splitdebug -test"
#ccache is reported to cause problems.
#FEATURES="ccache buildpkg getbinpkg nostrip"
#FEATURES="${FEATURES} -collision-protect"
USE_SYSTEM="-systemd -consolekit elogind -doc multislot eselect ccache pch dbus timezone syslog unicode nls icu rcc"
USE_GENERAL="utils tools script scripts scripting extensions extras applet plugins importers imaging rendering stream video audio sound encode printsupport extra archive"
USE_CONSOLE="ncurses bash-completion fish-completion zsh-completion"
USE_DEVEL="python -ruby -fortran profile profiling systemtap nptl threads ithreads ipc libffi exceptions pcre16 graphite jit vala glib introspection"
USE_SECURITY="gpg ssl openssl gnutls pkcs11 crypt gcrypt cryptsetup pam caps caps-ng policykit"
USE_NETWORK="-avahi -snmp ipv6 network iproute2 portmon nscd curl ssh rdesktop vnc telepathy nfsv4 nfsv41 samba ntlm googledrive"
USE_WEB="thunderbird smime nntp smtp imap rss webkit firefox-bookmarks nsplugin idn"
USE_HARDWARE="-ios smp udev hwdb hal fuse aio rtc dmi bluetooth wifi usb udisks mtp gphoto2 fam inotify pulseaudio alsa esd v4l v4l2 cups ppds xprint"
USE_MATH="math fftw sparse gmp metis lapack volpack gsl graphviz gnuplot plotutils"
USE_OFFICE="collab grammar thesaurus spell latex xetex pdf pdfimport openxml xps wordperfect ots libgda djvu"
USE_FORMATS="iso zip 7zip bzip2 szip lzo lzma xml xsl xslt json"
USE_GRAPHICS="gd imlib imagemagick gimp exif jpeg jpeg2k jbig tiff gif png apng webp wmf emf xpm svg mng -openexr raw hdri contrast lcms lqr autotrace"
USE_SOUND="-lastfm audacious lame cdparanoia cdio cdda cddb faad fdk aac ogg flac mad vorbis mp3 sndfile wma audiofile wavpack aften tta ao musepack playlist cue libsamplerate"
USE_ID3="id3 taglib id3tag musicbrainz"
USE_VIDEO="-libav -lirc mplayer gstreamer sdl ffmpeg avcodec mpeg mpeg2 mp4 xvid webm vpx x264 x265 matroska theora dirac schroedinger mjpeg win32codecs bluray dvd dvdread a52 postproc"
USE_SUBTITLES="subtitles srt libass"
USE_STREAMING="youtube vlm nas upnp upnp-av rtmp zrtp live ilbc gsm amr"
USE_X11="glamor X xorg xcb evdev xinerama xrandr xcomposite tslib xv xvmc dga xvfb fontconfig cairo truetype opengl libkms xa egl gbm glitz pixman osmesa nvidia nvenc vaapi vdpau"
USE_DESKTOP="-kde -networkmanager -upower gui gtk gtk3 qt5 qt3support libnotify startup-notification gnome gnome-keyring vte nautilus sendto"
USE_WEBSRV="apache2 mysql mysqli sqlite http"
USE_GEO="fits geos gml hdf hdf5 netcdf ogdi garmin gps mapnik gdal openstreetmap"
USE_EMU="qemu kvm vde spice usbredir rdp"
USE_MON="iostats hddtemp weather-metar weather-xoap"
USE="$USE $USE_SYSTEM $USE_GENERAL $USE_MATH $USE_OFFICE $USE_GEO $USE_MON $USE_WEBSRV $USE_FORMATS $USE_SOUND $USE_X11 $USE_WEB $USE_VIDEO $USE_SUBTITLES $USE_EMU $USE_HARDWARE $USE_NETWORK $USE_DEVEL $USE_SECURITY $USE_DESKTOP $USE_CONSOLE $USE_GRAPHICS $USE_STREAMING $USE_ID3"
ACCEPT_LICENSE="*"
LINGUAS="en de ru"
VIDEO_CARDS="fbdev vesa nv nvidia"
#VIDEO_CARDS="fbdev vesa nv radeon amdgpu nvidia"
INPUT_DEVICES="evdev keyboard mouse"
ENLIGHTENMENT_MODULES="applications dialogs display edgebindings interaction intl keybindings menus paths performance randr shelves theme window-manipulation window-remembers access backlight battery clock comp connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot startsyscon systray tasks temperature tiling winlist wizard xkbswitch conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers start syscon"
APACHE2_MODULES="actions alias asis access_compat auth_basic auth_digest authn_anon authn_dbd authn_core authn_alias authn_anon authn_dbm authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio macro cache_disk mime mime_magic negotiation proxy proxy_ajp slotmem_shm proxy_balancer proxy_connect proxy_http proxy_ftp substitute rewrite setenvif so speling status unique_id userdir usertrack vhost_alias socache_shmcb cgi cgid unixd mem_cache"
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"
#PYTHON_SINGLE_TARGET="python2_7"
#PHP_INI_VERSION="production"
PHP_TARGETS="php5-6"
RUBY_TARGETS="ruby25"
CONFIG_PROTECT="/usr/share/X11/app-defaults /usr/share/mc /usr/share/mc.46"
#PKGDIR=/usr/portage/packages.emul
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/ /Image/My/DarkLin/portage/ $PORTDIR_OVERLAY"
#PORTAGE_TMPDIR="/var/tmp/"
#GENTOO_MIRRORS="http://gentoo.intergenia.de"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp --no-check-certificate -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
|