View previous topic :: View next topic |
Author |
Message |
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54242 Location: 56N 3W
|
Posted: Wed May 30, 2012 6:28 pm Post subject: |
|
|
john-doe,
For which system ?
Code: | # 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.
# turn off -ftree-vectorize and see if that helps
# hald is stiil broken
# try -O2
CFLAGS= "-march=native -O2 -pipe -fno-tree-vectorize"
CXXFLAGS="-march=native -O2 -pipe -fno-tree-vectorize"
# lets play with --as-needed
LDFLAGS="-Wl,--as-needed"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="AdobeFlash-10.1 AdobeFlash-10.3 Oracle-BCLA-JavaSE PUEL dlj-1.1 googleearth"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="3dnow 3dnowext X X509 a52 aac aacs acl acpi aften alsa amr amrnb aotuv apng
archive artworkextra balsa bash-completion bluetooth bluray branding cairo cdda
cddax cddb cdio cdparanoia cdr cdrkit chroot cleartype consolekit
corefonts cpio css custom-cflags custom-cxxflags dbus deprecated
device-mapper dga dia dirac directfb divx dts dv dvb dvd dvdnav dvdr eds
enca encode evo extrafilters extras faac faad fame ffmpeg flac fontconfig
foomaticdb g3dvl galago gcj gdu geoip gif gimp git glep glib glibc-omitfp glitz
gnome gnome-keyring gnome-print gnomecd gnutls gpg graphite graphviz gs
gsm gstreamer gtk gtk3 gtkhotkey gtkspell gudev guidexml guile h323 hardcoded-tables
hddtemp hdri hpn http hwdb icons icu idea idn ieee1394 imlib iplayer iso14755
jpeg jpeg2k lame libgcrypt libgda libsamplerate lirc lm_sensors lzma lzo
mad maildir mbox mime minizip mjpeg mktemp mmap mmx mmxext mng mp2 mp3 mpeg mpi
mplayer muine musepack mysql nano-syntax nautilus net network
network-cron networking nfs nntp normalize nsplugin nss odk ogg ogg123 ogm
opengl openssl pango passwdqc pdf pipechan player playlist png policykit
posix postproc print psf pulseaudio pvr python quicktime radio radvd rar reports
romio rpm rrdcgi rtc rtmp rubrica schroedinger sdl sdl-image secure-delete
sensord sip slang smp sockets sound speex spell sqlite sse sse2 sse4a
stream subtitles subversion svg sysvipc teletext templates tga theora
threads threadsonly tiff toolbar tremor truetype twolame udev usb
uuencode v4l2 vdpau video_cards_nvidia vorbis wav wavpack wma wma-fixed
wmf wmp x264 x86emu xanim xcomposite xemacs xft xine xml xmp xpm
xscreensaver xulrunner xv xvid xvmc yv12 zip zvbi -dso -isdnlog -ldap
-networkmanager -nss -qt3 -qt4 -svgz -zeroconf"
# an as yet undocumented feature to set versions of Python installed
USE_PYTHON="2.6 2.7 3.1"
# http://mirror.gentoo.no/
#GENTOO_MIRRORS="http://gentoo.virginmedia.com/ virgin is broken
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://gentoo.tiscali.nl/
http://gentoo.mneisen.org/
http://gentoo.mirror.pw.edu.pl/
http://gentoo.prz.rzeszow.pl
http://mirror.uni-c.dk/pub/gentoo/
http://mirror.mdfnet.se/mirror/gentoo
http://ftp.gentoo.bg/
http://distfiles.gentoo.bg/
http://mirrors.ludost.net/gentoo/
http://mirror.hamakor.org.il/pub/mirrors/gentoo/
http://ftp.dei.uc.pt/pub/linux/gentoo/"
http_proxy="http://192.168.10.119:8080"
# Default: "rsync://rsync.gentoo.org/gentoo-portage"
# North America: "rsync://rsync.namerica.gentoo.org/gentoo-portage"
# South America: "rsync://rsync.samerica.gentoo.org/gentoo-portage"
# Europe: "rsync://rsync.europe.gentoo.org/gentoo-portage"
# Asia: "rsync://rsync.asia.gentoo.org/gentoo-portage"
# Australia: "rsync://rsync.au.gentoo.org/gentoo-portage"
# SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
SYNC="rsync://192.168.10.119/gentoo-portage"
# MAKEOPTS provides extra options that may be passed to 'make' when a
# program is compiled. Presently the only use is for specifying
# the number of parallel makes (-j) to perform. The suggested number
# for parallel makes is CPUs+1.
MAKEOPTS="-j8" # thats cores+2
# drop ccache from FEATURES
# fixpackages no longer used
FEATURES="buildpkg sandbox userpriv parallel-fetch"
CCACHE_SIZE="4G"
INPUT_DEVICES="evdev" # mouse keyboard" # no longer needed
VIDEO_CARDS="fbdev vesa nv nvidia v4l radeon"
SANE_BACKENDS="epson"
LINGUAS="en_GB en_US"
PORTAGE_ELOG_CLASSES="info wan error log qa"
PORT_LOGDIR=/var/log/portage/
# Virtual Machine Support
QEMU_SOFTMMU_TARGETS="i386 x86_64 ppc64 sparc sparc64"
QEMU_USER_TARGETS="i386 x86_64 ppc64 sparc sparc64"
PORTDIR_OVERLAY="/usr/local/portage"
source /usr/local/portage/layman/make.conf |
Thats for my desktop. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Thu May 31, 2012 8:38 am Post subject: |
|
|
john-doe wrote: | for all those who use 'ccache':
Quote: | using ccache makes build “10 to 5 times faster”. I’ll call this statement for what it is: bullshit |
|
Of course, mentioning a factor is stupid for modern systems, since it depends very much on your CPU (and number of CPUs) and RAM.
However, unless you have an incredible powerful CPU (or an enormous number of them) as flameeyes has on his tinderbox, you will usually have a considerable speed increase - usually not for the first installation of a package (although even then compiling of bundled libs can sometimes speed up) but usually for upgrades of the packge, provided you reserved enough space for the cache (depending on your system, 4GB may nowadays be not enough unless you set CCACHE_COMPRESS).
Everybody should judge by himself, not rely on other's benchmarks in this connection.
The remark that ccache can cause problems is pure FUD. Yes, in case of powerloss or kernel panick during compiling you might get problems with the package compiled, so in such an exceptional situation you should set CCACHE_RECACHE temporarily when reemerging the package again, but that's it. |
|
Back to top |
|
|
disi Veteran
Joined: 28 Nov 2003 Posts: 1354 Location: Out There ...
|
Posted: Thu May 31, 2012 10:06 am Post subject: |
|
|
NeddySeagoon, I am confused:
Quote: | VIDEO_CARDS="fbdev vesa nv nvidia v4l radeon" |
Can those actual coexist? You would need to enable drm stuff in the kernel to use KMS with radeon, which doesn't work with the nvidia driver?!?
Do you actual have an nvidia an an amd card in the machine? _________________ Gentoo on Uptime Project - Larry is a cow |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Thu May 31, 2012 4:30 pm Post subject: |
|
|
disi wrote: | NeddySeagoon, I am confused:
Quote: | VIDEO_CARDS="fbdev vesa nv nvidia v4l radeon" |
Can those actual coexist? |
I have a similar setting, because I am building on my "main" system for several other systems. It is no problem to build the userland tools with support for all those, because it just means that several different libraries will be built - you switch between the implementations with eselect. Actually I can even use the same kernel with the same modules.d on the different machines, since the modules recognize that the corresponding other card is not available and refuse to load. However, the latter is by experiment and I would not rely on it: Better to mask in modules.d the kernel modules for the hardware you do not have. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54242 Location: 56N 3W
|
Posted: Thu May 31, 2012 6:35 pm Post subject: |
|
|
disi,
My motherboard has a built in radeon card which has long since been disabled in the BIOS.
I did use both cards very briefly but that was in the days before radeon with KMS.
In fact, a large chunk of my make.conf originated in the middle of 2002 with my first install.
I keep adding things to it but very rarely remove anything. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
anb.clarke n00b
Joined: 05 Apr 2006 Posts: 31
|
Posted: Mon Jun 11, 2012 12:24 am Post subject: |
|
|
Here's another: Openbox on x86_64 & Portage 2.2
Code: | # Build-time functionality
# ========================
USE="64bit X aacplus aalib amr corefonts css curl curlwrappers dia e2fsprogs \
extensions extras faac faad fat fbcondecor ffmpeg ffmpegsource fltk fpx \
frei0r fuse g3dvl gcj gd gdu git glade gnome-keyring gpg graphicsmagick \
gs gstreamer gtkstyle id3tag imagemagick imlib inkjar java javascript \
justify lcdfilter mad matroska melt mms mmxext musepack nsplugin ntfs \
nvidia odf ogm opencl opengl openrc optimized-qmake pch pdfimport perl \
pgo postscript ps pulseaudio python3 quicktime rar real scanner smp sox \
sqlite sse3 sse4_1 ssse3 subject-rewrite symlink system-sqlite taglib \
templates themes theora threads threadsafe thumbnail thunar tint2conf \
tools truetype v4l vdpau vpx wmf xcf xvfb xvmc -bluetooth -cleartype \
-crashreporter -dso -gpm -gptfdisk -ipv6 -python2 -qt3support -qt4"
# Host Setting
# ============
CHOST="x86_64-pc-linux-gnu"
# Host and optimization settings
# ==============================
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${FFLAGS}"
# Advanced Masking
# ================
ACCEPT_KEYWORDS="~amd64"
# Portage Directories
# ===================
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=/usr/portage/distfiles
PKGDIR=/usr/portage/packages
PORTDIR_OVERLAY=/usr/local/portage
# Fetching files
# ==============
GENTOO_MIRRORS="http://ftp.jaist.ac.jp/pub/Linux/Gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
# Synchronizing Portage
# =====================
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTAGE_RSYNC_RETRIES="-1"
# Advanced Features
# =================
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=2.0 --with-bdeps=y --autounmask-write=y"
INSTALL_MASK="INSTALL.gz TODO.gz"
MAKEOPTS="-j3 -l2 -s"
PORTAGE_NICENESS=3
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
AUTOCLEAN="yes"
FEATURES="userpriv usersandbox"
PORTAGE_ELOG_CLASSES="log warn error info qa"
PORTAGE_ELOG_SYSTEM="save"
# User Settings
# =============
LINGUAS="en en_GB"
VIDEO_CARDS="nvidia"
ALASA_CARDS="hda-intel"
ACCEPT_LICENSE="*"
SANE_BACKENDS="epson2"
# Overlay Settings
# ================
source /var/lib/layman/make.conf |
|
|
Back to top |
|
|
pigsboss n00b
Joined: 27 Dec 2011 Posts: 20
|
Posted: Thu Jun 21, 2012 3:46 am Post subject: |
|
|
Code: | # These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
# For >gcc-4.4
# CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
# For gcc-4.5:
# CFLAGS="-march=core2 -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-size=64 --param l2-cache-size=6144 -mtune=generic -O2 -pipe -fomit-frame-pointer"
# For gcc-4.6:
# CFLAGS="-march=corei7-avx -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=corei7-avx -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
MAKEOPTS="-j17"
FEATURES="sandbox parallel-install parallel-fetch"
VIDEO_CARDS="intel nvidia"
INPUT_DEVICES="evdev synaptics"
LINGUAS="zh zh_CN en en_US en_GB"
PORTAGE_COMPRESS="pbzip2"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
# hardware:
USE="mmx sse sse2 ssse3 sse4_1 sse4_2 avx smp vaapi vdpau bluetooth"
# libs:
USE="${USE} icu lzma cjk udev X dbus fftw kde -gnome"
# media:
USE="${USE} djvu lame jpeg2k xvmc v4l ffmpeg alsa fontconfig mtp"
GENTOO_MIRRORS="http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
SYNC="rsync://rsync3.jp.gentoo.org/gentoo-portage"
source /var/lib/layman/make.conf
|
my gentoo runs on a Thinkpad W520 with i7-2720QM and 32Gigabytes mems. _________________ Pig's Boss / 猪头 |
|
Back to top |
|
|
Alexi384 n00b
Joined: 30 Oct 2011 Posts: 8
|
Posted: Thu Jul 19, 2012 2:48 am Post subject: |
|
|
For my AMD FX-8120 System with 16 GiB of RAM,
Code: | ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"
ALSA_CARDS="usb-audio"
CAMERAS="sonix"
GRAPHITE="-fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution"
CFLAGS="${GRAPHITE} -flto=8 -fno-tree-pre -fopenmp -fprefetch-loop-arrays --param prefetch-latency=300 -fsched-pressure -funroll-all-loops -march=native -minline-all-stringops -mprefer-avx128 -O3 -pipe"
#CFLAGS="${GRAPHITE} -fno-tree-pre -fopenmp -fprefetch-loop-arrays --param prefetch-latency=300 -fsched-pressure -funroll-all-loops -march=native -minline-all-stringops -mprefer-avx128 -O3 -pipe"
#CFLAGS="${GRAPHITE} -flto=8 -fno-tree-pre -fprefetch-loop-arrays --param prefetch-latency=300 -fsched-pressure -funroll-all-loops -march=native -minline-all-stringops -mprefer-avx128 -O3 -pipe"
#CFLAGS="${GRAPHITE} -fno-tree-pre -fprefetch-loop-arrays --param prefetch-latency=300 -fsched-pressure -funroll-all-loops -march=native -minline-all-stringops -mprefer-avx128 -O3 -pipe"
CPPFLAGS="${CFLAGS}"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
DVB_CARDS="usb-dib0700"
EMERGE_DEFAULT_OPTS="--complete-graph=y --deep --jobs --keep-going --with-bdeps=y"
FEATURES="-distcc fail-clean multilib-strict parallel-fetch parallel-install"
GENTOO_MIRRORS="ftp://mirror.bytemark.co.uk/gentoo/ http://mirror.bytemark.co.uk/gentoo/ rsync://mirror.bytemark.co.uk/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ rsync://rsync.mirrorservice.org/www.ibiblio.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
GPSD_PROTOCOLS="gpsclock timing"
GRUB_PLATFORMS="efi-64"
I_DEMAND_MY_CORES_LOADED="yes"
INPUT_DEVICES="evdev joystick"
LANG="en_GB.utf8"
LCD_DEVICES=""
LINGUAS="en en_GB"
LIRC_DEVICES="pctv"
MAKEOPTS="-j9"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_NICENESS="3"
PORTAGE_OVERLAY="/usr/local/portage"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_TMPDIR="/tmp"
SANE_BACKENDS="epson2"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
QEMU_SOFTMMU_TARGETS="x86_64"
QEMU_USER_TARGETS="x86_64"
USE="10bit 16k_voice 24bpp 256-color 4mb-mod 64bit Cube S3TC X aac aacs \
aalib acetamide acpi addbookmarks additions addressbook aes-ni afpacket \
aften aio all_sfx alsa animgif anonres aplaymidi apng applet archive \
artist-screen artworkextra aspell async asyncdns audio auto-completion \
autoipd autostatus avatars avx background backgrounds bash-completion \
beeper birthdayreminder bittorrent blender blink blksha1 bluetooth \
bluray bpm branding bs2b c++0x cache cairo cal3d caps cd cdda cddb cdio \
cdr cdrdao cdrom cdsound celt cg chathistory chatzilla cheese chrome \
cilk clamav clamd clamdtop cleanweb cleartype clutter cmdsubmenu cmkopt \
collectd_plugins_hddtemp collectd_plugins_libvirt \
collectd_plugins_sensors collectd_plugins_uptime color colord colordiff \
colors composer compress compress-db compressed-lumas consolekit \
contactnotes contentcache contrast corefonts cover coverage coverart \
cpudetection cron crossfade css cue cups cursors custom-cflags \
custom-cpuopts custom-optimization cvsgraph cyassl-hardening data dbus \
dcc_video dcc_voice ddcpci ddepgentry default-font deluge device-mapper \
devil dga dhcpcd dht dia directfb dns-threads drm dts dvb dvd dvdr \
dynamic dynamic-linking dynamicplugin dynscaler eds efiemu eix emoticon \
emoticons encode enscript epiphany eselect ethernet eu_epg evo exif \
extras facedetect fading-colors fam fast fastscroll fastthreading \
fasttree fat fbcon fbcondecor fbsplash fdt ffmpeg figlet filetransfer \
filters findbugs flac flash fma font-styles fontconfig foomaticdb \
force-reg fortran2003 fortune freedoom freenode fuse g3dvl gallium game \
games gbm gd gdm gdu gedit gfortran gfxnvidia ghcbootstrap gif gimp git \
glchess glib gmail gme gmthigh gnome gnome-keyring \
gnome-online-accounts gnome-print gnome-screensaver gnome-shell gnuplot \
gocr gold google goom gpu graphicsmagick graphite gstreamer gtk gtk3 \
gtkhtml gudev gui gzip gzip-el hardcoded-tables hardlinkcutter hd \
hddtemp hdri heretic hexen high-ints highlight hires-icons holidays hou \
hscolour html htmlsingle hwdb hwinfo hyphenation ical ices icons id3 \
id3tag idle image image-cache info infowidget inode inotify int64 \
introspection ioctl iplayer irc ithreads jack java6 jbootstrap jit \
joystick jpeg jpeg2k justify keyboard keymap keyscrub keyutils kqemu \
kvm large-pcap-64bit largeterminal lcdfilter led libkms libnotify \
libv4l2 libvirt libvirtd libvisual liemikuutio lights live llvm \
lm_sensors lock logrotate lto luajit lxde lyrics lzma lzo mad \
magnetgenerator man maps matroska mem-scramble memcache methodjit midi \
mikmod mmap mmxext mng mod modplug mosh-hardening mount mouse \
mousewheel mp3 mp4 mpeg mpi-threads mpi_njtree multiprocess mumble \
music musicbrainz nano-syntax native nautilus nethack networkmanager \
new-login newmousefocus no24bpp nolvmstatic normalize nptl nsplugin \
ntfs ntfsprogs ntp ntpd nvcontrol nvidia ocr offensive offlinehelp ogg \
opal openal opencl opengl openmedia openmp openrc openvg openxml \
optimization optimize optimized-qmake orc osmesa parallel-build parted \
pch pcm pcre-jit pdf pdfimport pgo pixbuf plotutils pnat png policykit \
posix povray powertop ppds pulseaudio pvr python python3 qemu qemu-ifup \
quesoglc quicktime rar real redeyes resolvconf rss rsxs rtc rtf samples \
savedconfig scanner science sdl sdl-sound sdlaudio seamless-hbars \
search secondary-wheel secure security sendto sensord shared-dricore \
shared-glapi sharedmem shm sid slang slideshow smp sndfile song-screen \
songs sound sounds spell sse sse2 sse2_4way sse2check sse4_1 sse4a \
ssse3 stars startup-notification stereo stream stroke \
strong-optimization subtitles subversion svg symlink systray taglib \
templates terminal textures themes theora thesaurus thin-splines \
threads thumbnail thumbnails thunar tiff timidity toilet tor-hardening \
totem tracker tray trayicon truetype udev uk_bleb uk_rt unicode usb v4l \
v8 vaapi vcd vde vdpau vhost-net video video_cards_nvidia videos \
virt-network vlc vlm vocoder volctrl vorbis vpx wav weather \
weather-metar weather-xoap webcam webkit webkit2 webm webphoto \
webrtc-aec webstart whiteboarding win64 wxwidgets x264 xa xatrix xattr \
xcomposite xext xface xml xorg xpfast xplanet xrender xscreensaver xv \
xvfb xvid xvmc xwax_decoders_aac xwax_decoders_cd xwax_decoders_flac \
xwax_decoders_misc xwax_decoders_mp3 xwax_decoders_ogg xz yappl youtube \
zip zsh-completion -3dnow -3dnowext -SECURITY_HAZARD -a52 \
-accessibility -afp -aim -alac -analogtv -animation-rtl -anondel \
-anonperm -anonren -apache -apache2 -apm -appletalk -ar -athena -atsc \
-be -bidi -binary-drivers -binfilter -bitmap -brnet -btrfs -canna -capi \
-capisuite-fax -cdmamodem -ch -cjk -classic -collectd_plugins_apache \
-collectd_plugins_apcups -collectd_plugins_ascent \
-collectd_plugins_battery -collectd_plugins_bind \
-collectd_plugins_conntrack -collectd_plugins_madwifi \
-collectd_plugins_wireless -cuda -cwiid -debug -debug-assert \
-debug-certificate -debug-chanman -debug-dvc -debug-freelist -debug-gdi \
-debug-kbd -debug-license -debug-malloc -debug-nego -debug-nla \
-debug-orders -debug-proto -debug-rail -debug-redir -debug-rfx \
-debug-scard -debug-serial -debug-smartcard -debug-sound \
-debug-stream-assert -debug-svc -debug-transport -debug-utils \
-debug-x11 -debug-xv -debugger -dedicated -deprecated -dnotify \
-embedded -emulation -enca -es -es_laguiatv -es_miguiatv \
-external-filters -external-filters-setuid -external-fuse -faad \
-fallback -floppy -fr -g15 -headless -hpcups -hpijs -hr -huro -i18n \
-ibam -ibus -icc -iconv -icq -icu -idn -iec61883 -ieee1394 -ifc -ifp \
-ignore-glep31 -imagemagick -infiniband -interlaced -ios -ip27 -ip28 \
-ip30 -ip32r10k -is -isdn -it -jabber -kde -laptop -lastfm \
-lastfmfingerprint -lastfmradio -lastgenre -legacy-call -libproxy \
-libusb -lightweight -linguas_bg_BG -linguas_cs_CZ -linguas_da_DK \
-linguas_de_1901 -linguas_de_CH -linguas_en_AU -linguas_fr_FR \
-linguas_ha -linguas_it_IT -linguas_ja_JP -linguas_lt_LT -linguas_mi \
-linguas_pl_PL -linguas_ru_RU -linguas_sa -linguas_sk_SK -linguas_th_TH \
-linguas_tt -linguas_ven -linuxthreads -lowmem -lowres -lvm -lvm1 \
-macosx -macosx-audio -macosx-dialog-provider -macosx-eyetv \
-macosx-qtkit -macosx-quartztext -macosx-vout -matrox -mdadm \
-modemmanager -mono -mozilla -msn -na_dd -na_dtv -nc -nforce2 -nls -no \
-no-opts -no_gf -nokia -nopie -numa -old-daemons -old-hd-rules \
-old-linux -older-kernels-compatibility -opencc -optimisememory -oss \
-pcmcia -pda -pic -ppp -pppd -pt -python2 -qt-static -quota -radio -re \
-sdl-image -serial -server -sse5 -static -static_pairalign -thinkpad \
-toolkit-scroll-bars -touchscreen -tslib -twitter -visualizer -wext \
-wicd -wifi -wiimote -wimax -win32 -wma -x264-static -xchatnogtk -xen \
-xfconf -xfs -xinerama -xrandr -yahoo -za -zfs"
VIDEO_CARDS="fbdev nouveau v4l vmware"
#WANT_MP="true"
#source /var/lib/layman/make.conf |
Last edited by Alexi384 on Thu Sep 20, 2012 11:02 pm; edited 1 time in total |
|
Back to top |
|
|
LiamOS n00b
Joined: 06 Jun 2012 Posts: 64 Location: Ireland
|
Posted: Fri Jul 20, 2012 10:09 pm Post subject: |
|
|
Mine from my netbook; might've updated a little since.
Code: |
#====================#
# Gentoo Mirrors #
#====================#
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
ACCEPT_KEYWORDS="~amd64"
#===========================#
# gcc/g++ Build Options #
#===========================#
CFLAGS="-O2 -pipe -march=native"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
#===========#
# CHOST #
#===========#
CHOST="x86_64-pc-linux-gnu"
#===============#
# USE Flags #
#===============#
SYSTEM="acpi dbus wifi mmx sse sse2"
LANGUAGES="python bash latex java html ruby perl"
EXTRAS="bash-completion vim-syntax vimmanpager unicode spell"
SECURITY="ssl"
X11="opengl gnome -kde -qt3 -qt4"
SERVICES="pdf eps postscript dvi -cups"
USE="${SYSTEM} ${LANGUAGES} ${EXTRAS} ${SECURITY} ${X11} ${SERVICES}" |
_________________ CFLAGS=" -O999999" |
|
Back to top |
|
|
dysoco n00b
Joined: 28 May 2011 Posts: 14
|
Posted: Thu Aug 02, 2012 11:42 pm Post subject: |
|
|
NeddySeagoon wrote: |
Code: |
MAKEOPTS="-j8" # thats cores+2
|
|
I wonder why you did cores+2 there, there's an improvement by adding 2 to the number of cores ? I usually do Cores+1 as suggested. |
|
Back to top |
|
|
alexcortes Apprentice
Joined: 18 Dec 2011 Posts: 205 Location: Rio de Janeiro, Brazil
|
Posted: Fri Aug 03, 2012 1:57 am Post subject: |
|
|
Code: | USE="caps custom-cflags dga ffmpeg gnutls gtk3 infinality lame lzma lzo minimal networkmanager nvidia offensive quicktime pulseaudio samba sse sse2 ssse3 syslog theora threads v4l vaapi vdpau vim-syntax vpx wavpack xmp xvmc -bluetooth -fortran -ipv6 -ldap -pch -qt4 -wxwidgets"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CFLAGS_KERNEL="${CFLAGS}"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3 -s"
ACCEPT_KEYWORDS="~amd64"
FEATURES="ccache parallel-fetch sandbox candy protect-owned fail-clean"
PORTAGE_NICENESS="6"
LINGUAS="en"
ACCEPT_LICENSE="*"
## DEVICES ##
INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="nvidia"
LIRC_DEVICES=""
ALSA_CARDS="hda-intel loopback"
CAMERAS=""
## PROXY SETTINGS ##
HTTP_PROXY="127.0.0.1:3128"
FTP_PROXY="127.0.0.1:3128"
RSYNC_PROXY="127.0.0.1:3128"
## LAYMAN CONFIG ##
source /var/lib/layman/make.conf
## RSYNC ##
PORTAGE_RSYNC_RETRIES="3"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage/"
#SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage/"
#SYNC="rsync://rsync.us.gentoo.org/gentoo-portage/"
#SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage/"
## MIRRORS ##
GENTOO_MIRRORS="
ftp://gentoo.c3sl.ufpr.br/gentoo/
http://gentoo.c3sl.ufpr.br/
ftp://ftp.las.ic.unicamp.br/pub/gentoo/
http://www.las.ic.unicamp.br/pub/gentoo/
ftp://ftp.free.fr/mirrors/ftp.gentoo.org/
http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
"
# Avoids python.eclass to compile stuff for Python 3
USE_PYTHON="2.7"
PYTHON_TARGETS="python2_7" |
Last edited by alexcortes on Mon Oct 15, 2012 12:23 am; edited 2 times in total |
|
Back to top |
|
|
anyNiXwilldo Apprentice
Joined: 20 Feb 2004 Posts: 176 Location: US
|
Posted: Fri Aug 10, 2012 1:09 am Post subject: |
|
|
ACCEPT_LICENSE="-* @FREE"
ALSA_CARDS="hda-intel"
CALLIGRA_FEATURES="krita sheets stage words"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
FEATURES="buildpkg -config-protect-if-modified"
INPUT_DEVICES="evdev"
LINGUAS="en"
MAKEOPTS="-j4"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
#PORTAGE_NICENESS="15"
QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="arm i386 x86_64"
USE="3dnow 3dnowext X a52 aac alsa branding consolekit dbus declarative -doc dri ffmpeg gphoto2 -gtk -gnome gstreamer -ipv6 jit kde kipi mmx mmxext mp3 mpeg nptl nsplugin -okular ogg opengl phonon plasma policykit qt3support sdl semantic-desktop shout stream svg threads truetype vorbis xcomposite xinerama xscreensaver"
VIDEO_CARDS="fbdev vesa radeon" _________________ Of course you can have my root password. I'm on Hardened! |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Fri Aug 10, 2012 8:01 am Post subject: |
|
|
Comments are completely changed for this posting, and also paths like /mypath are changed for privacy reasons.
Code: | CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -msse3 -mssse3 -O2 -fno-ident -pipe"
# Usually, the OPT*FLAGS are added to *FLAGS by /etc/portage/bashrc
# but not always (I have many filters on a per-package basis):
# They can severely break things, of course, but also optimize quite well,
# and -fstack-protector is a good security measurement, slowing not as much
# as the hardened default -fstack-protector-all.
# If strange problems arise, I first recompile without adding OPT*
OPTCFLAGS="-fstack-protector"
OPTCFLAGS="${OPTCFLAGS} -fomit-frame-pointer"
OPTCFLAGS="${OPTCFLAGS} -fno-common"
OPTCFLAGS="${OPTCFLAGS} -ffast-math"
OPTCFLAGS="${OPTCFLAGS} -fmerge-all-constants"
OPTCFLAGS="${OPTCFLAGS} -fgcse-sm -fgcse-las"
OPTCFLAGS="${OPTCFLAGS} -frename-registers"
OPTCFLAGS="${OPTCFLAGS} -fweb"
OPTCFLAGS="${OPTCFLAGS} -finline-functions"
OPTCFLAGS="${OPTCFLAGS} -fgcse-after-reload"
OPTCFLAGS="${OPTCFLAGS} -fpredictive-commoning"
OPTCFLAGS="${OPTCFLAGS} -fdirectives-only"
OPTCFLAGS="${OPTCFLAGS} -ftree-switch-conversion"
OPTCFLAGS="${OPTCFLAGS} -fgraphite"
OPTCFLAGS="${OPTCFLAGS} -fgraphite-identity"
OPTCFLAGS="${OPTCFLAGS} -floop-interchange"
OPTCFLAGS="${OPTCFLAGS} -floop-strip-mine"
OPTCFLAGS="${OPTCFLAGS} -floop-block"
OPTCFLAGS="${OPTCFLAGS} -flto"
OPTCFLAGS="${OPTCFLAGS} -flto-partition=none"
OPTCFLAGS="${OPTCFLAGS} -fwhole-program"
OPTCFLAGS="${OPTCFLAGS} -fuse-linker-plugin"
CXXFLAGS="${CFLAGS}"
OPTCXXFLAGS="${OPTCFLAGS}"
OPTCXXFLAGS="${OPTCXXFLAGS} -fvisibility-inlines-hidden"
OPTCXXFLAGS="${OPTCXXFLAGS} -fno-enforce-eh-specs"
CPPFLAGS=""
OPTCPPFLAGS="-D_FORTIFY_SOURCE=2"
OPTCPPFLAGS="${OPTCPPFLAGS} -DNDEBUG -DG_DISABLE_ASSERT -DNO_DEBUG"
FFLAGS="${CFLAGS}"
FCFLAGS="${FFLAGS}"
LDFLAGS="-Wl,--hash-style=gnu"
LDFLAGS="${LDFLAGS} -Wl,--sort-common"
LDFLAGS="${LDFLAGS} -Wl,-O9"
LDFLAGS="${LDFLAGS} -Wl,--enable-new-dtags"
OPTLDFLAGS="-Wl,-z,now"
OPTLDFLAGS="${OPTLDFLAGS} -Wl,-z,relro"
OPTLDFLAGS="${OPTLDFLAGS} -Wl,-z,noexecstack"
OPTLDFLAGS="${OPTLDFLAGS} -Wl,-z,combreloc"
OPTLDFLAGS="${OPTLDFLAGS} -Wl,--relax"
OPTLDFLAGS="${OPTLDFLAGS} -Wl,--as-needed"
OPTLDFLAGS="${OPTLDFLAGS} -flto"
OPTLDFLAGS="${OPTLDFLAGS} -flto-partition=none"
OPTLDFLAGS="${OPTLDFLAGS} -fwhole-program"
OPTLDFLAGS="${OPTLDFLAGS} -fuse-linker-plugin"
PORTAGE_STRIP_FLAGS="${PORTAGE_STRIP_FLAGS} --strip-all"
PORTAGE_STRIP_FLAGS="${PORTAGE_STRIP_FLAGS} --discard-all"
PORTAGE_STRIP_FLAGS="${PORTAGE_STRIP_FLAGS} -R .comment"
PORTAGE_STRIP_FLAGS="${PORTAGE_STRIP_FLAGS} -R .note"
# Some paths are changed for this posting...
PORTDIR=/mypath/portage
DISTDIR=/mypath/distdir/distfiles
# I clean my DISTDIR by scripts, so live ebuild data should be elsewhere
ESCM_STORE_DIR="${DISTDIR}/../vcs-data"
ECVS_TOP_DIR="${ESCM_STORE_DIR}"
EBZR_STORE_DIR="${ESCM_STORE_DIR}"
ECVS_STORE_DIR="${ESCM_STORE_DIR}"
EGIT_STORE_DIR="${ESCM_STORE_DIR}"
EHG_STORE_DIR="${ESCM_STORE_DIR}"
EMTN_STORE_DIR="${ESCM_STORE_DIR}"
ESVN_STORE_DIR="${ESCM_STORE_DIR}"
PKGDIR=/mypath/gentoo/x86_64
PORT_LOGDIR=/var/log/portage
PORTDIR_OVERLAY="${PORTDIR}/local/myoverlay"
# Unfortunately, ${PORTDIR} cannot be used in the "source" command:
source /mypath/portage/local/layman/make.conf
FETCHCOMMAND="trickyfetch \"\${URI}\" \"\${DISTDIR}\" \"\${FILE}\""
TRICKYLOG="/var/tmp/portage/trickyfetch.log"
DELTA_EXCLUDE="/etc/portage/delta_excludes"
# Manually removed for this posting
GENTOO_MIRRORS=
SYNC=
MY_RSYNC_EXCLUDEFROM="/etc/portage/rsync_excludes"
PORTAGE_RSYNC_EXTRA_OPTS="${PORTAGE_RSYNC_EXTRA_OPTS} -P"
PORTAGE_RSYNC_EXTRA_OPTS="${PORTAGE_RSYNC_EXTRA_OPTS} --exclude=/.unionfs"
PORTAGE_RSYNC_EXTRA_OPTS="${PORTAGE_RSYNC_EXTRA_OPTS} --exclude=.fuse_hidden*"
PORTAGE_RSYNC_EXTRA_OPTS="${PORTAGE_RSYNC_EXTRA_OPTS} --exclude-from=${MY_RSYNC_EXCLUDEFROM}"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --verbose"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --nospinner"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --quiet=n"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --quiet-build=n"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --ask-enter-invalid"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --unordered-display"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --misspell-suggestions=n"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --depclean-lib-check=n"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --with-bdeps=y"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --complete-graph-if-new-ver=y"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --package-moves=y"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --autounmask-write=n"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --binpkg-respect-use=n"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --use-ebuild-visibility=y"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --dynamic-deps=y"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --keep-going=y"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --select=n"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --rebuilt-binaries=n"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --usepkg=n"
# I want neither the systemd nonsense nor use bash interactively (zsh is much better)
INSTALL_MASK="${INSTALL_MASK}
/usr/share/bash-completion
/usr/lib/systemd/system"
MAKEOPTS="-j3"
MAKEOPTS="${MAKEOPTS} --no-print-directory"
PORTAGE_NICENESS=9
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
# An mainly redundant FEATURES list, but a portage update should not be
# able to change the defaults which I want. Important is e.g. ccache,
# since on my system it gives a huge speedup on average.
FEATURES="assume-digests \
-buildpkg \
-buildsyspkg \
-candy \
ccache \
collision-protect \
-compress-build-logs \
config-protect-if-modified \
-digests \
-distcc \
distlocks \
-fakeroot \
-fail-clean \
fixlafiles \
-getbinpkg \
-installsources \
-keeptemp \
-keepwork \
-lmirror \
-metadata-transfer \
-mirror \
multilib-strict \
news \
-noauto \
-noclean \
-nodoc \
-noinfo \
-noman \
-nostrip \
-notitles \
-parallel-fetch \
-prelink-checksums \
-preserve-libs \
-protect-owned \
sandbox \
-severe \
sfperms \
-skiprocheck \
-split-elog \
-split-log \
-splitdebug \
strict \
-stricter \
-suidctl \
-test \
test-fail-continue \
-unmerge-logs \
unmerge-orphans \
unknown-features-warn \
userfetch \
userpriv \
usersandbox \
usersync \
webrsync-gpg"
# Optimize CCACHE. Especially setting CCACHE_BASEDIR is important
CCACHE_SIZE="4G"
CCACHE_COMPRESS="true"
CCACHE_SLOPPINESS="file_macro,time_macros,include_file_mtime"
CCACHE_BASEDIR="${PORTAGE_TMPDIR}/portage"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_SYSTEM="echo save"
ACCEPT_LICENSE="-* @FREE -@EULA"
# List shortened for this posting
COLLISION_IGNORE="/lib/modules /usr/src"
# /mypath (path changed) is here, since I have replaced many config files
# with symlinks to this directory to get a backup of my config.
# Also, I want to be informed about changes of certain config files
# (Unfortunately, site-start.el and make.conf.example does not work,
# but I leave it here in case this will be fixed some day...)
CONFIG_PROTECT="/mypath
/usr/share/fonts/misc/fonts.alias
/usr/share/emacs/site-lisp/site-start.el
/var/lib/alsa
/usr/share/portage/config/make.conf.example"
EBEEP_IGNORE="true"
EPAUSE_IGNORE="true"
# xzbest is a local script which calls xz with best compression mode according to
# available memory
PORTAGE_COMPRESS="xzbest"
QUICKPKG_DEFAULT_OPTS="${QUICKPKG_DEFAULT_OPTS} --umask=022"
QUICKPKG_DEFAULT_OPTS="${QUICKPKG_DEFAULT_OPTS} --include-config=y"
QUICKPKG_DEFAULT_OPTS="${QUICKPKG_DEFAULT_OPTS} --include-unmodified-config=y"
LANG=C
LC_CTYPE="${LANG}"
LC_COLLATE="${LANG}"
LC_MESSAGES="${LANG}"
# I do not want that portage hides information from me:
USE_EXPAND_HIDDEN="-*"
LINGUAS="${LINGUAS} en"
LINGUAS="${LINGUAS} en_US"
LINGUAS="${LINGUAS} de"
LINGUAS="${LINGUAS} de_DE"
# I do not have ruby installed, but if it should be pulled in,
# I want modules only for newest
RUBY_TARGETS="ruby19"
LIRC_DEVICES="pctv"
INPUT_DEVICES=""
INPUT_DEVICES="${INPUT_DEVICES} evdev"
INPUT_DEVICES="${INPUT_DEVICES} keyboard"
INPUT_DEVICES="${INPUT_DEVICES} mouse"
VIDEO_CARDS=""
VIDEO_CARDS="${VIDEO_CARDS} nouveau"
VIDEO_CARDS="${VIDEO_CARDS} nv"
VIDEO_CARDS="${VIDEO_CARDS} nvidia"
VIDEO_CARDS="${VIDEO_CARDS} v4l"
VESA="no"
ALSA_CARDS=""
ALSA_CARDS="${ALSA_CARDS} seqdummy"
ALSA_CARDS="${ALSA_CARDS} serialmidi"
ALSA_CARDS="${ALSA_CARDS} virmidi"
ALSA_CARDS="${ALSA_CARDS} bt87x"
ALSA_CARDS="${ALSA_CARDS} hda-intel"
ALSA_CARDS="${ALSA_CARDS} mpu401"
ALSA_CARDS="${ALSA_CARDS} serial-u16550"
ALSA_CARDS="${ALSA_CARDS} usb-audio"
SANE_BACKENDS="mustek_pp"
FOO2ZJS_DEVICES="hpp1505"
# By default, I want to reuse the local vcs data for live ebuilds (since most of
# my rebuilds are just needed after upgrades of libraries or after minor
# kernel upgrades). If I want to update the local data to the most current
# version, I use the command
# EVCS_OFFLINE= emerge ...
EVCS_OFFLINE=1
ESCM_OFFLINE="${EVCS_OFFLINE}" |
|
|
Back to top |
|
|
Gordex n00b
Joined: 10 Jul 2008 Posts: 26
|
Posted: Mon Sep 17, 2012 1:57 am Post subject: |
|
|
Code: |
#---------------------------------------#
# General #
# default/linux/amd64/10.0/no-multilib #
#---------------------------------------#
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
LINGUAS="en"
#-----------------------#
# Features #
#-----------------------#
MAKEOPTS="-j8"
EMERGE_DEFAULT_OPTS="--jobs=8"
FEATURES="clean-logs nodoc parallel-install"
AUTOCLEAN="yes"
#-----------------------#
# Dirs #
#-----------------------#
DISTDIR="/home/distfiles"
#-----------------------#
# Use-Flags #
#-----------------------#
SYSTEM="-ipv6 ithreads -nls -acl minizip keymap auto-hinter udev threads dbus infinality fuse optimized-qmake inotify custom-cflags custom-optimization git"
LANGS="python3 c++0x -debug http"
CPUFLAGS="sse4_1 3dnowext 3dnow"
LIBRARYS="phonon gstreamer vlc alsa png ffmpeg truetype vorbis gudev hwdb ogg apng mng jpeg imlib -cups -deprecated -introspection -llvm -classic"
X11="X opengl kde qt4 -xscreensaver -gnome policykit consolekit qt3support -wallpapers"
CODECS="x264 xvid a52 aac dts dvd flac"
PLUGINS="system-sqlite -handbook -exceptions -lvm1 secure-delete -rss -holidays unlock-notify -lightning -highlight -translator -statistics oscar -contactnotes -autoreplace -addbookmarks -history -xmpp -urlpicpreview -texteffect -webdav"
KERNEL="aufs bfq bld branding ck fbcondecor reiser4"
USE="${SYSTEM} ${LANGS} ${CPUFLAGS} ${LIBRARYS} ${X11} ${CODECS} ${PLUGINS} ${KERNEL}"
#-----------------------#
# Devices #
#-----------------------#
VIDEO_CARDS="nouveau"
INPUT_DEVICES="evdev"
#-----------------------#
# URLS #
#-----------------------#
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
SYNC="rsync://rsync11.de.gentoo.org/gentoo-portage"
#-----------------------#
# Layman #
#-----------------------#
source /var/lib/layman/make.conf
|
|
|
Back to top |
|
|
augury l33t
Joined: 22 May 2004 Posts: 722 Location: philadelphia
|
Posted: Tue Nov 06, 2012 2:03 am Post subject: |
|
|
I am building for another Dell pentium4 laptop. The inspirion 8200 PP01X. I haven't finished yet.
I'll post my kernel flags when I get that nailed down.
Quote: | I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1
#source /var/lib/layman/make.conf
CFLAGS=""
CXXFLAGS=""
LDFLAGS="-Wl,-O1,--sort-common,--hash-size=8161,--enable-new-dtags,-z,now,-z,combreloc,--allow-shlib-undefined,--allow-multiple-definition,-z,muldefs" # -lgomp" #,--unresolved-symbols=ignore-all,--allow-shlib-undefined,--allow-multiple-definition,-z,muldefs -fuse-linker-plugin -fwhopr
CFLAGS="${LDFLAGS} -Wno-error -O3 -march=pentium4 -mfpmath=sse -pipe -finline-limit=4096 -O3
-fbranch-target-load-optimize2 -fdelete-null-pointer-checks -fgcse-las -fgcse-sm -fgraphite-identity -finline-functions -floop-block -floop-interchange
-floop-parallelize-all -floop-strip-mine -fomit-frame-pointer -fsched-stalled-insns-dep=2 -fsched-stalled-insns=2 -fschedule-insns2 -ftree-ccp -ftree-dce -ftree-loop-distribution -ftree-loop-ivcanon -ftree-loop-linear
-ftree-loop-optimize -ftree-pre -ftree-pta -ftree-reassoc -ftree-sink -ftree-sra -ftree-switch-conversion -ftree-ter -funit-at-a-time -funroll-loops -fpeel-loops -funswitch-loops -fvariable-expansion-in-unroller -fweb"
CFLAGS="${CFLAGS} --param l1-cache-size=8 --param l1-cache-line-size=64 --param l2-cache-size=512 --param max-vartrack-size=0 --param tracer-max-code-growth=150 --param max-vartrack-size=0 --param tracer-max-code-growth=150 --param max-grow-copy-bb-insns=16 --param max-vartrack-size=0 --param min-insn-to-prefetch-ratio=2 --param max-goto-duplication-insns=11 --param max-gcse-memory=200000000 --param max-inline-insns-single=512 --param max-inline-insns-auto=128 --param max-unrolled-insns=14 --param max-unroll-times=10 --param max-completely-peeled-insns=26 --param max-completely-peel-times=12 --param max-completely-peel-loop-nest-depth=4 --param max-unswitch-insns=18 --param max-unswitch-level=8 --param align-loop-iterations=25 --param tracer-max-code-growth=150 --param max-cse-path-length=20 --param max-cse-insns=2096 --param max-reload-search-insns=4192 --param simultaneous-prefetches=2 --param graphite-max-bbs-per-function=512"
CFLAGS="${CFLAGS} -ffast-math -fno-sched-spec-load-dangerous"
CFLAGS="${CFLAGS} -fno-ivopts"
#CFLAGS="${CFLAGS} -fopenmp" # -fwhopr -fwhole-program -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
CFLAGS="${CFLAGS} -fprefetch-loop-arrays -ftracer -fmodulo-sched"
CFLAGS="${CFLAGS} -funsafe-loop-optimizations -Wunsafe-loop-optimizations"# -fsched-spec-load-dangerous"
#CFLAGS="${CFLAGS} -fuse-linker-plugin -fwhopr -fwhole-program"
#CFLAGS="-march=pentium4 -fomit-frame-pointer -O3 --param l1-cache-size=16 --param l1-cache-line-size=256 --param l2-cache-size=2048 -mfpmath=sse "
#CFLAGS="-fomit-frame-pointer -O3 -march=pentium4 -ffast-math -mfpmath=sse -pipe"# -pipe -fsched-stalled-insns-dep=2 -fsched-stalled-insns=6 -fschedule-insns2 -ftree-ccp -funroll-loops"
#CFLAGS="${LDFLAGS} -fwhopr -march=pentium4 -U_FORTIFY_SOURCE -O3 -fno-strict-aliasing -fno-strict-aliasing -mfpmath=sse -fgcse-las -fgcse-sm -ftree-ccp -fomit-frame-pointer -fweb -funit-at-a-time -pipe -mfpmath=sse -fweb -fomit-frame-pointer -finline-functions -funswitch-loops -funroll-all-loops -finline-limit=8192 -O3 -fno-rename-registers -DTEST_FAST_MATH -ffast-math -floop-block -march=pentium4 -floop-strip-mine -fgraphite-identity -floop-parallelize-all -floop-interchange -ftree-loop-distribution -fdelete-null-pointer-checks -fpeel-loops -fmerge-all-constants"
#CFLAGS="${LDFLAGS} -Wno-error -march=pentium4 -O2 -fno-strict-aliasing -fomit-frame-pointer -pipe -mfpmath=sse"
#CFLAGS="${LDFLAGS} -U_FORTIFY_SOURCE -fno-strict-aliasing -fno-strict-aliasing -fomit-frame-pointer -march=pentium4 -fweb -funit-at-a-time -pipe -fweb -fomit-frame-pointer -fmerge-all-constants -funswitch-loops -funroll-all-loops -fno-rename-registers -DTEST_FAST_MATH -floop-block -floop-strip-mine -fgraphite-identity -floop-parallelize-all -floop-interchange -ftree-loop-distribution -fdelete-null-pointer-checks -fpeel-loops -fmerge-all-constants -fno-strict-aliasing -O3 -fno-strict-aliasing"
#CFLAGS="${LDFLAGS} -march=pentium4 -O3 -fomit-frame-pointer -pipe --param l1-cache-size=16 --param l1-cache-line-size=256 --param l2-cache-size=2048"
#CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe"
#CFLAGS="-Wl,-O1,--sort-common,--hash-size=8161,--enable-new-dtags,-z,now,-z,combreloc,--allow-shlib-undefined,--allow-multiple-definition,-z,muldefs -U_FORTIFY_SOURCE -fno-strict-aliasing -fno-strict-aliasing -fomit-frame-pointer -march=pentium4 -fweb -funit-at-a-time -pipe -fweb -fomit-frame-pointer -fmerge-all-constants -funswitch-loops -funroll-all-loops -fno-rename-registers -DTEST_FAST_MATH -floop-block -floop-strip-mine -fgraphite-identity -floop-parallelize-all -floop-interchange -ftree-loop-distribution -fdelete-null-pointer-checks -fpeel-loops -fmerge-all-constants -fno-strict-aliasing -fno-strict-aliasing -O3 -fno-strict-aliasing"
CXXFLAGS="${CFLAGS} -fabi-version=0"
#ASFLAGS="-march=pentium4"
ARCH="x86"
ACCEPT_KEYWORDS="~x86 x86"
FEATURES="buildpkg nodistlocks -stricter -strict -splitdebug -test -ccache -sandbox -autoaddcvs -usersandbox -nostrip -userpriv -unmerge-orphans"
MAKEOPTS="-j4"
MYCONF="--disable-debug --enable-final"
GCJFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
#GENTOO_MIRRORS="http://64.27.65.115/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://cudlug.cudenver.edu/gentoo/ ftp://chod.cwru.edu/gentoo"
#SYNC="rsync://gentoo.chem.wisc.edu/gentoo/"
CHOST=i686-pc-linux-gnu
#export I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1
#PORTDIR_OVERLAY="/var/lib/layman/openoffice-geki"
ACCEPT_LICENSE="*"
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
RPMDIR=${PORTDIR}/rpm
PORT_LOGDIR=/tmp
CONFIG_PROTECT="/etc /usr/share/config /usr/kde/3/share/config "
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/udev /etc/dbus-1"
FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\""
#FETCHCOMMAND="/usr/bin/wget -t 1 -v --dns-timeout=12 --progress=bar --dns-cache=on -nv --read-timeout=600 --connect-timeout=12 -P \${DISTDIR}/\${FILE} \${URI}"
RESUMECOMMAND="/usr/bin/wget -t 1 -v -c --dns-timeout=12 --progress=bar --dns-cache=on -nv --read-timeout=600 --connect-timeout=12 -P \${DISTDIR}/\${FILE} \${URI}"
NOCOLOR="false"
PORTAGE_BINHOST_CHUNKSIZE="16384"
USE_EXPAND="VIDEO_CARDS INPUT_DEVICES"
CLEAN_DELAY="1"
AUTOCLEAN="yes"
RSYNC_RETRIES="2"
RSYNC_TIMEOUT="80"
PORTAGE_NICENESS="1"
VIDEO_CARDS="nvidia"
USE="16bit 4mb-mod GAPING_SECURITY_HOLE S3TC X X509 Xaw3d a52 aac aalib
abiword abook accessibility accounting acpi activefilter adns aim
aliaschain alsa amarok amd amr analyzers ansi antlr aotuv apache aper
pch aredaredmem ares artswrappersuid artworkextra asf asm asterisk async atm
auctex audiofile authdaemond authfile automap b bash-completion bcmath
bdf beepmp big-tables bigger-fonts binary-drivers bind-mysql bindist
bittorrent bl blas blender-game bluetooth bonobo bootsplash bzip2 bzlib
c++ cairo cal cal3d calendar canna cap caps capscddb cardbus cdb cdda
gudev cddb cdf cdio cdparanoia cdr cdrom cgi charmap chasen chroot clamav
clanVoice clearpasswd clibpdf client clisp cln cluster cmucl cnamefix
codecs colors consolekit courier cpio cracklib crypto_openssl cscope css
csv ctype curl curlwrappers cursors custom-cflags custom-cpuopts
custom-optimization custreloc cvs cyrus date_time dba dbus dbx dc1394
dcc_video dcc_voice declarative dedicated devfs devfs26 device-mapper
devmap dga dhcp dict dillo dio disk-cache disk-partition distcache
distribution divx4linux djbfft dlopen dmx dnd dnsdb dpms drac dts dv dvb
dvd dvdarchive dvdchapjump dvdnav dvdr dvdread dvi dvlrecscriptaddon ecc
editor edl eix elf emf emoticon encode enscript epson erandom escreen
estraier ethereal etwin evo evo2 evolution exif exim exiscan exiscan-acl
expat ext-png ext-zlib extensions extraengine extrafilters extraicons
extramodules extras f77 faac faad facedetect faillog fam fame fastcgi fax
fb fbcon fbdev ffi ffmpeg fi fifo filesystem fla flac flash fltk fmod
font-server fontconfig fontforge fonts foomaticdb foreign-package fpx
freetds freetts freetype freewnn frlargefiles frxp fs ftp fts gb gcc
gcdmaster gcj gconf gd gdu geoip geometry gg ggi gif gifgimp gimp
gimpprint ginac git gkrellm glade glep glgd glib glibc-omitfp glut glx
gmail gmp gmtfull gmthigh gmtsuppl gmttria gnome gnome-keyring
gnome-print gnomecanvas gnomecards gnomedb gnuplot gnutls google gphoto2
gps grammar graph graphite graphviz grub gs gsl gssapi gstreamer gtk
gtkhtml gtkspell guile gzip h224 h281 h323 hbci hddtemp hdf hdf5
heterogeneous hfs high-ints hlapi howl hpcups hpijs hpn html http httpd
ical icecast icq icu ide idea idl ieee1394 ifc image imagemagick imap
imlib2 inetd infopipe inifile inline innodb insecure-drivers iostreams
ipalias ipcs iplayer ipv6arpa irc irda irmc itcl ithreads jack jack-tmpfs
java java6 javascript jce jemalloc jikes joystick jp2 jpeg jsch junit
kcal kdcraw kde kde3support kdecards kdepim kdrive kino koffice-plugin
lame languagetool lapack lcd lcms ldirectord leaf leim libcaca
libdsk libffi libgd libgda libsamplerate libssh2 libxml2 lids lighttpd
linuxthreads-tls live lm_sensors lmtp log4j long-double lpsol lto
ltsp lua lucene lufsusermount lvm lynxkeymap lzma lzo lzw lzw-tiff mad
mailbox maildir maildrop maps math matrox mbrola mcal mcve md md5 md5sum
mdb mecab mediaplayer mem-cache memoryview menubar messages mew mgetty
mha mhash migemo milter mime mimencode ming mixer mjpeg mktemp
mldonkeypango mmap mms mmx mmx2 mmxext mng modlocalizer monkey mouse
mozcalendar mozdevelop mozilla mozp3p mozsvg mozxmlterm mp3 mp3rtp
mp3tunes mp4 mp4live mpd mpeg mpeg2 mpeg4 mpg123 mpi mplayer
mpm-leader mppe-mppc mpx msdav msn mtp mule multi-tty multicall
multimedia multipleip multiprocess multislot mysql mythtv mzscheme
nagios-dns nagios-ntp nagios-ping nagios-s nagios-ssh nas native nautilus
neXt net netbeansnetboot netboot netcdf network networking neural
new-login nextaw nfs nfsv4 nis nntp nokia nomalloccheck nothreadsafe nptl
nptlonly nsplugin nss ntfs ntlm numeric nvidia objc objc++ odbc ode
offensive ofx ogdi ogg oggvorbis on-the-fly-crypt ooo-kde openal openexr
opengl openntpd opens openssh openssl openxml opie optimisememory
optimization optimized-qmake orathreads oro oscar ots pam-mysql
pam_chroot pam_timestamp pango parport parse-clocks passfile pbs pcap
pcntl pda pdf pear-db perlsuid pg-hier pg-intdatetime pg-vacuumdelayphp
phonon php physfs player plotutils plugin plugins png pnp policykit
portaudio posix postfix postgres postgresql povray ppds prelink prelude
pri print priority procmail program_options pthreads pvr pwdb python
python3 qdbm qhull qt3support qt4 quotes r128 radiusreadline raw rdesktop
real recode regex regexp reiserfs remote reportbuilder reports rhino
rogue romio rplay rrdtool rss rtc samba sametime sasl savedconfig scanner
script sdk secure-delete semantic-desktop semanticfix sendfile sendmail
serial server servlet-2.3 servlet-2.4 sguil shared sharedext sharedmem
sheep silc simplexml sip skey skk slang slp smime smp smtp smux sndfile
snortsam sockets socks5 softmmu softquota sound soundtouch source sox
spamassassin speech speedo speex spell sql sqlite sqlite3 src srp sse
ssh startup-notification stats stencil-buffer stream subject-rewrite
subp subversion svg svga svgz symlink sysfs syslog system-sqlite sysvipc
szip t1lib tabs tcc tcl tcltk tcpmd5 templates tetex tga theora thesaurus
thread threads tidy tiff timidity tk tlen tokenizer toolkit-scroll-bars
tools tos transcode translator transparent-proxy truetype trusted tslib
ttcp type1 type3 udev uim uml unicode unlock-notify unsafe unzip ups
uptimed urandom usagi usb userlocales utf8 utils uudeview uuencode v4l2
vda vdesktop vhosts video_cards_nvidia videos vidix vim vim-pager
vim-with-x virtual vlc vlm vmdbmysql vnc voice vorbis vserver wav waveout
wavpack wddx webdav webkit wifi wiki wildlsearch win32 win32codecs
withsamplescripts wma wma-fixed wmf wordperfect wpd wpg wv2 wxwidgets
wxwin wxwindows x11vnc xanim xatrix xbase xcb xchatdccserver xchattext
xcomposite xerces xface xforms xfs xft xim xine xinerama xml xml2 xmlrpc
xmms2 xosd xpm xprint xrandr xrender xscreensaver xsl xslt xv xvid xvmc
yahoo yaz yp yv12 zeo zvbi -64bit -auto-hinter -drm -dso -holidays -ipv6
-nls -qt3 -ruby g3dvl"
#-debug -libg -nls -snmp -firebird -msql -mssql
#ldap
#PORTAGE_TMPDIR=/mnt/dl/babaar/var/tmp
#PORTDIR=/usr/portage
#DISTDIR=${PORTDIR}/distfiles
#PKGDIR=/RamTemp/tmp
#RPMDIR=${PORTDIR}/rpm
#ROOT=/mnt/dl/babaar
#CFLAGS="${CFLAGS} -fno-strict-aliasing --param inline-unit-growth=165 --param tracer-max-code-growth=200 --param max-crossjump-edges=4096 --param max-delay-slot-live-search=4096 --param max-cselib-memory-locations=1024 --param max-inline-insns-single=512 --param max-inline-insns-auto=128 --param large-function-insns=16384 --param max-gcse-passes=3 --param max-gcse-memory=268435456" # 134217728
#CFLAGS="${CFLAGS} -fmodulo-sched -ftree-loop-linear -ftree-loop-im -ftree-vectorize -floop-optimize2 -fgcse-las -fgcse-sm -ftree-ccp -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename -ftree-fre -ftree-ch"
#CFLAGS="${CFLAGS} -fpeel-loops -fvariable-expansion-in-unroller -funroll-loops -fsched-stalled-insns-dep=2 -fsched-stalled-insns=6 -ftree-loop-optimize -ftree-pre -ftree-pta -ftree-reassoc -ftree-sink -ftree-sra -ftree-switch-conversion -ftree-ter -ftree-dce"
#CFLAGS="${CFLAGS} --param max-grow-copy-bb-insns=16 --param max-vartrack-size=0 --param min-insn-to-prefetch-ratio=2 --param max-goto-duplication-insns=11 --param max-gcse-memory=200000000 --param max-inline-insns-single=512 --param max-inline-insns-auto=128 --param max-unrolled-insns=14 --param max-unroll-times=10 --param max-completely-peeled-insns=26 --param max-completely-peel-times=12 --param max-completely-peel-loop-nest-depth=4 --param max-unswitch-insns=18 --param max-unswitch-level=8 --param align-loop-iterations=25 --param tracer-max-code-growth=150 --param max-cse-path-length=20 --param max-cse-insns=2096 --param max-reload-search-insns=4192 --param simultaneous-prefetches=2 --param graphite-max-bbs-per-function=512"
#CFLAGS="${CFLAGS} -ftree-loop-linear -floop-interchange -ftree-loop-ivcanon -floop-block -floop-strip-mine -fgraphite-identity -floop-parallelize-all -floop-interchange -ftree-loop-distribution -fdelete-null-pointer-checks"
|
sys-libs/glibc-2.16.0/CFLAGS
Quote: | -Wl,-O1,--sort-common,--hash-size=8161,--enable-new-dtags,-z,now,-z,combreloc,--allow-shlib-undefined,--allow-multiple-definition,-z,muldefs -U_FORTIFY_SOURCE -fno-strict-aliasing -fno-strict-aliasing -fomit-frame-pointer -march=pentium4 -fweb -funit-at-a-time -pipe -fweb -fomit-frame-pointer -fmerge-all-constants -funswitch-loops -funroll-all-loops -fno-rename-registers -DTEST_FAST_MATH -floop-block -floop-strip-mine -fgraphite-identity -floop-parallelize-all -floop-interchange -ftree-loop-distribution -fdelete-null-pointer-checks -fpeel-loops -fmerge-all-constants -fno-strict-aliasing -fno-strict-aliasing -O3 -fno-strict-aliasing -O2 -fno-strict-aliasing |
/etc/portage/package.use
Quote: | sci-libs/hdf5 -cxx -mpi -fortran -threads
app-office/libreoffice-bin -gnome
media-libs/sdl-mixer -timidity
net-misc/networkmanager gnutls -nss
dev-libs/folks vala
media-video/libav -bindist
www-client/links suid
net-misc/curl -curl_ssl_gnutl -curl_ssl_nss -ssl
>=net-libs/gtk-vnc-0.5.1 gtk3
>=net-misc/curl-7.27.0 ssl
>=media-libs/libpng-1.5.12 apng
>=media-plugins/alsa-plugins-1.0.25-r1 pulseaudio
>=sys-libs/zlib-1.2.7 minizip >=sci-libs/hdf5-1.8.9-r2 mpi
=sys-fs/udev-186 hwdb
>=dev-libs/elfutils-0.154-r1 static-libs
net-misc/wget -ntlm
net-misc/curl -adns
=sys-fs/udev-195 hwdb
dev-libs/cyrus-sasl -postgres
dev-libs/cyrus-sasl -authdaemond
net-print/cups -java
media-libs/libjpeg-turbo -java
#dev-lang/python build
media-fonts/dejavu -fontforge
net-libs/glib-networking -libproxy
virtual/ffmpeg -encode
#dev-libs/libxslt -python
# =dev-libs/libxml2-2.8* -python
|
/etc/portage/package.mask
Quote: | #dev-lang/spidermonkey
#x11-libs/gtk+
#=dev-lang/python-3.1.3
#=dev-lang/python-2.7*
#net-proxy/dante
media-video/em8300-modules
<app-portage/portato-9999
#sys-apps/portage
sys-libs/glibc
#media-libs/lensfun
#q11-libs/qt-core
x11-drivers/ati-drivers
#dev-texlive/texlive-latex
=sys-kernel/gentoo-sources-2.6.37-r1
=games-simulation/flightgear-2.0.0
=dev-games/simgear-2.0.0
sys-apps/paludis
#www-client/chromium
net-libs/xulrunner
#=gnome-extra/libgda-4.2.5-r1
media-video/lives
#x11-drivers/nvidia-drivers
#app-i18n/freewnn
#net-nntp/pan
=dev-lang/spidermonkey-1.8.7
media-video/libav
#sys-fs/lvm2
#sys-fs/udev-init-scripts
#sys-apps/kmod
|
|
|
Back to top |
|
|
fb0x n00b
Joined: 13 Sep 2012 Posts: 15
|
Posted: Tue Nov 06, 2012 4:07 pm Post subject: |
|
|
Code: | GENTOO_MIRRORS="http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
CFLAGS="-O2 -march=k8 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
SYNC="rsync://rsync.cn.gentoo.org/gentoo-portage"
MAKEOPTS="-j2"
USE="nptl nptlonly minizip fontconfig qt3support dts gtkstyle x264 xvid auto-hinter fontforge opengl truetype type1 cleartype corefonts libvisual -pulseaudio libav mpeg musepack ogg -oss v4l vcd vpx wavpack alsa gif jack mp3 wawpack a52 aac dv dvb dvd flac ffmpeg lame mms taglib theora vorbis xv ipv6 cdda gdu cups pam python sqlite cairo -fortran xa libkms unicode -gnome -kde -qt4 dbus jpeg png lock udev X svg -arts -eds -esd gstreamer gtk firefox -consolekit -policykit -udisks -upower gudev"
VIDEO_CARDS="radeon"
ACCEPT_KEYWORDS="~x86"
|
|
|
Back to top |
|
|
youvegotmoxie n00b
Joined: 17 Dec 2007 Posts: 5
|
Posted: Wed Nov 21, 2012 6:57 am Post subject: |
|
|
pc1
Code: |
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPS="-j2"
ACCEPT_KEYWORDS="~x86"
USE="-gtk -gnome -qt -kde -mysql apm hardened lm_sensors mmx sse sse2 \
sqlite ssh bash-completion zsh-completion crypt"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo"
SYNC="rsync://rsync3.us.gentoo.org/gentoo-portage"
FETCHCOMMAND="${FETCHCOMMAND} --limit-rate=100k"
|
pc2
Code: |
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="amd64"
USE="mmx sse sse2 ssse3 zsh-completion -gtk -alsa -qt -gnome jpeg png \
fontconfig acl"
MAKEOPTS="-j2"
GENTOO_MIRRORS="ftp://www.gtlib.gatech.edu/pub/gentoo"
FEATURES="parallel-fetch"
SYNC="rsync://rsync3.us.gentoo.org/gentoo-portage"
|
|
|
Back to top |
|
|
GFCCAE6xF Apprentice
Joined: 06 Aug 2012 Posts: 295
|
Posted: Wed Nov 21, 2012 11:04 am Post subject: |
|
|
Code: |
#===============================#
# GENRAL #
#===============================#
CFLAGS="-O2 -march=native -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
LINGUAS="en_GB"
VIDEO_CARDS="nvidia"
ALSA_CARDS="hda-intel"
INPUT_DEVICES="evdev"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-j4"
#===============================#
# USE FLAGS #
#===============================#
DOUSE="dbus truetype gtk gtk3 ssl sdl afterimage sse3 \
iso14755 256-color curl ffmpeg nsplugin python3 python \
webm icu xft alsa apng jpeg tiff opengl ssse3 xml mmxext \
newnet rar g3dvl vdpau imagemagick java matroska mplayer \
png zsh-completion parse-clocks gtkstyle acl git multilib \
mercurial subversion rss mpd imap cups jpeg2k hwdb threads \
theora vorbis pdf xpm smp gimp X lzma minizip ogg ldap gif \
wxwidgets mp3 \
branding svg xv lcms pango x264 xvid flac mad mpeg cairo \
exif a52 aac dts dvd startup-notification mng keymap acpi \
usb udev spell libnotify cdda xcb mp4 openrc webkkit gudev"
NOUSE="-kde -qt4 -docs -bluetooth -pulseaudio -oss -gnome \
-gvfs -gstreamer -ipv6 -systemd -consolekit -policykit -udisks \
-upower"
USE="${DOUSE} ${NOUSE}"
#===============================#
# MIRRORS/SYNC #
#===============================#
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/
http://212.219.56.132/sites/www.ibiblio.org/gentoo/
http://212.219.56.139/sites/www.ibiblio.org/gentoo/
http://212.219.56.133/sites/www.ibiblio.org/gentoo/
http://mirrors.linuxant.fr/distfiles.gentoo.org/"
#===============================#
# LAYMAN/LOCAL #
#===============================#
PORTDIR_OVERLAY="/usr/local/portage/"
source /var/lib/layman/make.conf
|
Edit: I got bored and decided to purge some garbage as well as rid myself of all systemd and *kit 'stuff'.
Last edited by GFCCAE6xF on Fri Nov 30, 2012 3:16 pm; edited 1 time in total |
|
Back to top |
|
|
LiamOS n00b
Joined: 06 Jun 2012 Posts: 64 Location: Ireland
|
Posted: Wed Nov 21, 2012 12:45 pm Post subject: |
|
|
This one's from a VM I'm screwing about with. I think the people here might enjoy it:
Code: | ACCEPT_KEYWORDS="~amd64"
CFLAGS="-O3 -march=native -flto -pipe"
CXXFLAGS="${CFLAGS}"
KCFLAGS="${CFLAGS}"
CHOST="x86-64-pc-linux-gnu"
MAKEOPTS="-j2"
USE="bootstrap mmx sse sse2"
|
_________________ CFLAGS=" -O999999" |
|
Back to top |
|
|
Cynede Retired Dev
Joined: 30 Nov 2012 Posts: 56
|
Posted: Fri Nov 30, 2012 9:26 am Post subject: |
|
|
Code: | CFLAGS="-O2 -march=native -mtune=native -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
GRAPHITE="-floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block"
MAKEOPTS="-j1 -s"
CURL_SSL="openssl"
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
LINGUAS="en en_US ru"
LC_CTYPE='en_US.UTF-8'
LANG='en_US.UTF-8'
NEN="binary
cleartype cmake
-dso
fbcondecor
git
-gtk -gnome
highlight
lodgeit-default
minizip mercurial
openssl
perl pentoo
-qt3
symlink subversion
xft xinerama
zsh-completion"
NEN_HASKELL="-ghcbootstrap hoogle -default-term"
USE="${NEN} ${NEN_HASKELL} ${NEN_LCD}"
INPUT_DEVICES="evdev"
VIDEO_CARDS="fbdev vesa virtualbox"
## PORTAGE CONFIG ##
EMERGE_DEFAULT_OPTS="--quiet-build=n -v"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="${PORTDIR_OVERLAY}
/home/gentoo-haskell /home/gentoo-kde /home/nengraphy"
RUBY_TARGETS="ruby19" |
|
|
Back to top |
|
|
xsi n00b
Joined: 23 Dec 2011 Posts: 50 Location: Ukraine, Kiev, russian language
|
Posted: Fri Nov 30, 2012 2:25 pm Post subject: |
|
|
Code: | localhost xi # cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe -march=amdfam10"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-pam -flac -gdbm -berkdb -svg -vorbis -mng -libnotify -mudflap - -spell -pulseaudio -socialweb -udisks -pango -pppd -ppds -firefox -upower -lcms -nautilus -mad -pppd -introspection -ldap -branding -cups -cdda -dri -dts -dvdr -eds -emboss -encode -evo -exif -fam -aac -a52 -introspection -gnome-online-accounts -ipv6 fbcon symlink X scim anthy m17n-lib gtk cjk immqt-bc -immqt unicode -gnome -kde -qt4 -dvd -cdr alsa -bluetooth"
MAKEOPTS="-j3"
VIDEO_CARDS="nouveau"
INPUT_DEVICES="evdev keyboard mouse"
LINGUAS="en ru jp"
ACCEPT_LICENSE="Q3AEULA LOKI-EULA"
GENTOO_MIRRORS="ftp://gentoo.kiev.ua/ http://gentoo.iteam.net.ua/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
|
_________________ Phenom X2 560
16 GB RAM
USB 3.0 SATA 3.0
SSD Crucial M4 64GB
GeForce 8400 GS
Ensoniq ES1371 audio |
|
Back to top |
|
|
LoTeK Apprentice
Joined: 26 Jul 2012 Posts: 270
|
Posted: Thu Dec 06, 2012 12:59 pm Post subject: |
|
|
from T420s:
Code: | CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 rmmod glitz alisp mmxext X dvd dts a52 hdaps cups scsi opengl alsa gtk python blas cxx sound crypt usb acpi lm_sensors cracklib vim-syntax fbcon flac mp3 mp4 gnuplot gphoto2 gsl hddtemp ipv6 latex mmap mplayer multilib ncurses pdf plotutils png policykit profile raw ssl sse3 startup-notification udev wavpack wifi xcb xml cairo pango -qt4 -kde lvm X icu sasl gjc truetype"
MAKEOPTS="-j5"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
SYNC="rsync://rsync11.de.gentoo.org/gentoo-portage"
INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="nouveau intel vesa"
ALSA_CARDS="hda-intel"
LINGUAS="en"
PORTDIR_OVERLAY=/usr/local/portage/
|
|
|
Back to top |
|
|
venkateshwaran07 n00b
Joined: 05 Dec 2012 Posts: 9 Location: India
|
Posted: Mon Dec 10, 2012 7:09 am Post subject: who has make.conf for AMD Athlon Dual Core Processor 2.70GH |
|
|
Hi , please share make.conf for the my PC configuration
Processor: AMD Athlon™ Dual Core Processor 5200B 2.70GHz
RAM: 2.00 GB (1.75 GB Usable)
Hard-disk: 149 GB
regards,
venkat |
|
Back to top |
|
|
bedtime n00b
Joined: 19 Dec 2012 Posts: 71
|
Posted: Fri Dec 28, 2012 1:11 am Post subject: |
|
|
I try to keep my profile as minimal as possible:
Code: | CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
USE="deblob minimal -a52 -bindist -bluetooth -branding -cdda -cdr -cups -dvd -dvdnav -dvdr -emboss -gpm -ipv6 -networkmanager -nls -ppds -ppp -rar"
ACCEPT_LICENSE="-* @FREE"
GRUB_PLATFORMS="pc multiboot mount"
PYTHON_TARGETS="python2_7 python3_2"
ALSA_CARDS="hda-intel"
VIDEO_CARDS="intel i915"
INPUT_DEVICES="evdev synaptics"
PORTAGE_GPG_DIR="/etc/portage/gnupg"
FEATURES="webrsync-gpg parallel-fetch userfetch userpriv usersandbox"
SYNC=""
EMERGE_DEFAULT_OPTS="--with-bdeps=y --verbose"
#SYNC="rsync://rsync4.ca.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/ http://gentoo.netnitco.net"
|
/var/lib/portage/world:
Code: | app-arch/tarsync
app-crypt/gnupg
app-editors/nano
app-editors/vim
app-portage/demerge
app-portage/eix
app-portage/gentoolkit
app-portage/mirrorselect
app-text/wgetpaste
gnome-base/gvfs
gnome-extra/polkit-gnome
lxde-base/lxterminal
media-libs/xvid
media-plugins/gst-plugins-ffmpeg
media-video/mplayer
media-video/smplayer
net-irc/xchat
net-libs/libproxy
net-misc/connman
net-misc/dhcpcd
net-p2p/qbittorrent
net-wireless/wpa_supplicant
sys-apps/lshw
sys-apps/x86info
sys-boot/grub:2
sys-boot/os-prober
sys-devel/gcc:4.6
sys-devel/libtool
sys-fs/dosfstools
sys-kernel/gentoo-sources
sys-kernel/gentoo-sources:3.5.7
sys-kernel/gentoo-sources:3.7.2
sys-kernel/vanilla-sources:3.5.7
sys-kernel/vanilla-sources:3.7.2
sys-power/acpid
sys-process/htop
sys-process/nmon
virtual/udev
www-client/firefox
www-plugins/adobe-flash
x11-apps/xclock
x11-base/xorg-server
x11-base/xorg-x11
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-synaptics
x11-drivers/xf86-video-intel
x11-misc/arandr
x11-terms/qterminal
x11-terms/terminology
x11-terms/xterm
x11-wm/enlightenment:0.17
x11-wm/twm
|
This may be simple but I've not had one discrepancy with emerge with this setup. |
|
Back to top |
|
|
youvegotmoxie n00b
Joined: 17 Dec 2007 Posts: 5
|
Posted: Tue Jul 16, 2013 3:56 pm Post subject: reviving old thread :p |
|
|
Code: |
CFLAGS="-march=corei7 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
USE="usb cups ipv6 -cryptsetup -lvm -lvm1 -gnome -gtk -kde -X \
-kdeenablefinal -ldap nls -qt3 -qt4 -qt3support userlocales \
bash-completion zsh-completion"
LINGUAS="en"
FEATURES="buildpkg ccache userfetch parallel-fetch"
CCACHE_SIZE="3G"
source /var/lib/layman/make.conf
|
|
|
Back to top |
|
|
|