Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
post your make.conf
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 16, 17, 18  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Fri Mar 30, 2018 3:26 am    Post subject: Reply with quote

Code:
CFLAGS="-march=native -O2 -pipe"

# For compiling 4.15.x kernel.
#CFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk-extern"

CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j4 -l4"
EMERGE_DEFAULT_OPTS="--ask --verbose --keep-going --jobs=4 --load-average=4 --with-bdeps=y --buildpkg-exclude virtual/*"

CHOST="x86_64-pc-linux-gnu"

ACCEPT_KEYWORDS="~amd64"

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

USE="-qt4 -kde -gnome -bluetooth -ipv6 pulseaudio"

ACCEPT_LICENSE="-* @FREE CC-Sampling-Plus-1.0"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="echo save save_summary"

FEATURES="buildpkg split-elog"

INPUT_DEVICES="evdev"
LINGUAS="en en_GB"
L10N="en en-GB"

VIDEO_CARDS="intel i965"

GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ https://mirror.netcologne.de/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"

GRUB_PLATFORMS="pc"


Last edited by ayeyes on Mon Sep 09, 2019 11:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
P.Kosunen
Guru
Guru


Joined: 21 Nov 2005
Posts: 309
Location: Finland

PostPosted: Fri Mar 30, 2018 1:27 pm    Post subject: Reply with quote

Edit: Should refresh.
Back to top
View user's profile Send private message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 112

PostPosted: Tue Apr 10, 2018 9:45 am    Post subject: Reply with quote

Code:
CHOST="x86_64-pc-linux-gnu"
#CFLAGS="-march=sandybridge -mfpmath=both -mavx -maes -O2 -pipe -fomit-frame-pointer -ftree-vectorize" #safe
# +gold
#CFLAGS="-march=sandybridge -mfpmath=both -mavx -maes -O2 -pipe -fuse-ld=gold -fomit-frame-pointer -ftree-vectorize"
#beware that -fuse-ld=gold can cause troubles too (experienced segfaults). lld is faster but not widely supported now.
#also -flto flags sometimes breaks compilation (mesa,alsa,qtcore,qtwidgets)
# +gold +flto=n (where n is cpu threads) (-fuse-linker-plugin is default -fno-fat-lto-objects is default when +fuse-linker-plugin)
#CFLAGS="-march=sandybridge -mfpmath=both -mavx -maes -O2 -pipe -flto=8 -fomit-frame-pointer -ftree-vectorize"
CFLAGS="-march=sandybridge -mfpmath=both -mavx -maes -O2 -pipe -fuse-ld=gold -flto=8 -fomit-frame-pointer -ftree-vectorize"
CFLAGS_KERNEL="${CFLAGS}"
CXXFLAGS="${CFLAGS}"
CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
#EXTRA_ECONF="--with-fpmath=avx --enable-gold=default"
#also check LTO & PGO technics 4 opt

#BLEEDING EDGE
ACCEPT_KEYWORDS="~amd64"
#64 ONLY
ABI_X86="64"

# W/O DISTCC
FEATURES="candy ccache -collision-protect -distcc -distcc-pump nodoc noinfo noman parallel-fetch parallel-install userfetch webrsync-gpg"
MAKEOPTS="-j8"
# W DISTCC
#FEATURES="candy -ccache collision-protect distcc distcc-pump nodoc noinfo noman parallel-fetch parallel-install userfetch webrsync-gpg"
#MAKEOPTS="-j12 -l8"

# GPG SIGNED PACKAGE SRCS
PORTAGE_GPG_DIR="/etc/portage/gpg"
#"/var/lib/gentoo/gkeys/keyrings/gentoo/release"

# CCACHE
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"
#CCACHE_PREFIX="distcc"

QEMU_SOFTMMU_TARGETS="arm"
QEMU_USER_TARGETS="arm"

# 4MSF
# db config, in fact set in ~/.bashrc, not here
#MSF_DATABASE_CONFIG="~/.msf4/database.yml"
#RUBY_TARGETS="ruby23"
RUBY_TARGETS="ruby25"

USE="aac -abi_x86_32 -abi_x86_x32 acl acpi alsa avx bash-completion -bindist branding \
   consolekit custom-cflags custom-optimization -cups dbus dri dri3 ffmpeg \
   gif -gnome gnome-keyring glamor gstreamer gtk gtk3 -ipv6 icu \
   jemalloc jit jpeg jpeg2k -ldap libnotify libsamplerate lm_sensors lock \
   matroska mime mmx mmxext mng -modemmanager mp3 mp4 ncurses networkmanager \
   -official-branding opengl pch pclmul png popcnt policykit -pulseaudio \
   -qt4 -qt5 rdesktop -rdoc -samba sqlite session sndfile startup-notification \
   -smartcard sound socks5 sse sse2 sse3 sse4_1 sse4_2 ssse3 svg -systemd \
   system-harfbuzz system-icu system-jpeg system-libevent system-libvpx \
   system-lua system-sqlite system-bzip2 system-libwebp system-zlib \
   theora threads thunar tiff truetype udev udisks unicode upower -upnp uvm \
   vaapi vdpau vorbis vpx vulkan wifi webp wmf x264 xattr xpm xscreensaver xvid X \
   zlib"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PKG_CONFIG_DIR="/usr/lib/pkgconfig"

VIDEO_CARDS="intel i965"
#VIDEO_CARDS="intel i965 nouveau"
#VIDEO_CARDS="intel i965 nvidia"
INPUT_DEVICES="evdev synaptics"

LINGUAS="en ru ua"
L10N="en ru ua"
#LC_MESSAGES=C

XFCE_PLUGINS="brightness clock power trash"

GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ \
   ftp://mirror.yandex.ru/gentoo-distfiles/ \
   ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo \
   http://ftp.romnet.org/gentoo/ \
   http://gentoo.supp.name/ \
   http://tux.rainside.sk/gentoo/"


Last edited by n05ph3r42 on Tue Apr 24, 2018 8:22 am; edited 1 time in total
Back to top
View user's profile Send private message
keremCozin
n00b
n00b


Joined: 18 Sep 2017
Posts: 4

PostPosted: Mon Apr 23, 2018 8:11 pm    Post subject: Reply with quote

hariskar wrote:
keremCozin wrote:
I know this is a very old post. I used to visit this post since the first days i started using Gentoo GNU/Linux.

Code:
ACCEPT_KEYWORDS="~amd64"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5 -l4"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

CMAKE_MAKEFILE_GENERATOR="ninja"

EMERGE_DEFAULT_OPTS="--ask --verbose --jobs=5 --load-average=4"

VIDEO_CARDS="intel i965"
INPUT_DEVICES="libinput synaptics"
ALSA_CARDS="hda-intel"

LINGUAS="en en_US"
L10N="en en-US"

CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

USE="qt5 pulseaudio bluetooth ffmpeg openal wayland -cups -qt4 -wayland -handbook"

CALLIGRA_EXPERIMENTAL_FEATURES="stage braindump"


Code:
uname -a
Linux gentoo 4.13.1-gentoo-r1 #1 SMP Thu Sep 14 06:00:18 +03 2017 x86_64 Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz GenuineIntel GNU/Linux


You have in
Code:
USE="qt5 pulseaudio bluetooth ffmpeg openal wayland -cups -qt4 -wayland -handbook"
wayland and -wayland?


Ah yes i forgot that there, my mistake :o
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 617
Location: Sota algun pi o alzina...

PostPosted: Mon Apr 23, 2018 8:51 pm    Post subject: Reply with quote

error, post was duplicated!
_________________
--Intel i5 6600 --GA-Z170-HD3P --Ripjaws V 2x8 2400 --Radeon RX 470 G1 4G --Gentoo & Windows


Last edited by papu on Sun Jul 15, 2018 11:00 pm; edited 3 times in total
Back to top
View user's profile Send private message
siavash119
n00b
n00b


Joined: 05 Mar 2018
Posts: 3

PostPosted: Sun Jul 15, 2018 5:54 am    Post subject: Reply with quote

CPU: Ryzen 1700
GPU: AMD R9 290
compiler: gcc 7.3.0-r3
profile: default/linux/amd64/17.0
Code:
ACCEPT_KEYWORDS="~amd64"
INPUT_DEVICES="libinput"
CC="gcc"
CXX="g++"
AR="gcc-ar"
NM="gcc-nm"
RANLIB="gcc-ranlib"
#CC="clang"
#CXX="clang++"
#AR="llvm-ar"
#AS="llvm-as"
#NM="llvm-nm"
#RANLIB="llvm-ranlib"

CFLAGS="-march=native -mtune=native -O2 -pipe -flto"
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.

CPU_FLAGS_X86="avx avx2 mmx mmxext aes
sse sse2 sse3 ssse3 sse4_1 sse4_2 popcnt pclmul
fma fma3 3dnow 3dnowext 3dnowprefetch f16c"

ACCEPT_LICENSE="FraunhoferFDK google-chrome"

EMERGE_DEFAULT_OPTS="--autounmask=n"

USE="efi -systemd X wayland -gnome -kde \
   gtk gtk3 cairo \
   pgo ibus dbus icu mpi startup-notification \
   ppp v4l zsh-completion libressl -openssl \
   png gif jpeg tiff svg pango truetype pdf svg \
   video drm opengl xinerama vulkan \
   ipv6 offensive threads \
   cjk idn pulseaudio jack \
   -python_targets_python3_5 python_targets_python3_6 \
   -python_single_target_python3_5 python_single_target_python3_6"

LINGUAS="zh_CN ja"
L10N="zh-CN ja"

#LLVM_TARGETS="AMDGPU"
RUBY_TARGETS="ruby25"
VIDEO_CARDS="amdgpu radeonsi"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

MAKEOPTS="-j16"
GRUB_PLATFORMS="efi-64"
Back to top
View user's profile Send private message
saderror256
n00b
n00b


Joined: 26 Jul 2018
Posts: 13
Location: Current Directory

PostPosted: Fri Jul 27, 2018 10:17 pm    Post subject: Share your portage make.conf! Reply with quote

Was wondering if it is a good idea to start a portage config thread. So why not here!

Ill start

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"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j4"

USE="pulseaudio networkmanager emacs"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://mirror.lug.udel.edu/pub/gentoo/ http://gentoo.cs.utah.edu/"


currently mine is lonely as i just installed gentoo three days ago, so of course ill add more things as I go, but for all things, i seem to have the best results with these
_________________
FreeBSD user, but still uses and loves himself some Gentoo!

I wont judge you based on what you use, newbie or inexperienced, you are still amazing for being here B)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jul 27, 2018 10:35 pm    Post subject: Reply with quote

Merged above post.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
yagaev
n00b
n00b


Joined: 10 Jan 2017
Posts: 24

PostPosted: Mon Oct 08, 2018 5:17 pm    Post subject: Reply with quote

i5 2450m, nvidia 630m, 8G RAM
/var is moved to separate partition
/tmp is on tmpfs 4G
Code:
CFLAGS="-march=sandybridge -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE="bash-completion -bindist bzip2 -cdda consolekit dbus -egl ffmpeg -gbm glamor -gstreamer -harfbuzz idm mmx sse sse2 urandom -gtk -gnome -qt -qt3 -qt4 -qt5 -kde alsa -X unicode -bluetooth -ipv6 jpeg lock pam policykit -pulseaudio session -startup-notification thunar udev udisks upower -vdpau vaapi -libnotify -cups -test xvmc nvidia"
XFCE_PLUGINS="clock trash power"
PORTDIR="/var/portage"
DISTDIR="${PORTDIR}/distfiles"
PORTAGE_TMPDIR="/tmp"
ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"
VIDEO_CARDS="nvidia intel i915"
MAKEOPTS="-j3"
GRUB_PLATFORMS="pc"
INPUT_DEVICES="libinput synaptics"
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"
Back to top
View user's profile Send private message
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 144
Location: Michigan

PostPosted: Fri Oct 12, 2018 11:08 am    Post subject: Reply with quote

Code:
CFLAGS="-O2 -march=sandybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-mwaitx -mno-clzero -mno-pku --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=sandybridge -pipe"
MAKEOPTS="-j7"

PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
INPUT_DEVICES="synaptics evdev"
VIDEO_CARDS="intel i965 nvidia"
#CPU_FLAGS_X86="fpu mmxext vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush acpi mmx fxsr sse sse4 sse2 ss ht tm pbe syscall nx rdtscp lm pni pclmulqdq est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt aes xsave osxsave avx hypervisor"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/"
USE="dbus fftools_cws2fws zlib -systemd icu cpu_flags_x86_sse3 alsa qt ffmpeg X opengl threads tiff openal sdl fftw openexr gtk3 javafx expat jack"
FEATURES="-parallel-fetch"
QEMU_SOFTMMU_TARGETS="arm aarch64 x86_64 sparc"
QEMU_USER_TARGETS="x86_64"
PYTHON_SINGLE_TARGET="python3_6"
PYTHON_TARGETS="python2_7 python3_6"


i72670qm nvidia g540m
Back to top
View user's profile Send private message
reichmyu
n00b
n00b


Joined: 19 Oct 2015
Posts: 18

PostPosted: Tue Oct 16, 2018 11:25 pm    Post subject: Reply with quote

CPU: Dual Xeon e5620 (Soon will be updated to dual x5675 now that they are cheap)
GPU: Nvidia gt710
RAM: 24GB

Code:
CFLAGS="-O2 -pipe -march=native"
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j16"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
VIDEO_CARDS="nvidia"
USE="-gtk -gnome kde alsa pulseaudio networkmanager cdr -bindist imlib"

LINGUAS="es"
L10N="es_ES"
Back to top
View user's profile Send private message
bghoons
n00b
n00b


Joined: 04 May 2015
Posts: 43
Location: USA

PostPosted: Fri Oct 19, 2018 12:59 pm    Post subject: Reply with quote

Here it is. It works and I ain't touching it, not a durn thing.

Code:
CFLAGS="-O2 -march=native -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="i686-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="alsa cups X systemd policykit -wayland"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

MAKEOPTS="-j9"
VIDEO_CARDS="intel"
CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
INPUT_DEVICES="evdev synaptics"

GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/"
Back to top
View user's profile Send private message
brutico
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2014
Posts: 130

PostPosted: Sat Nov 03, 2018 6:53 pm    Post subject: Reply with quote

I leave mine here
Code:
#######################
# MAKE.CONF PC-ELOVER #
#######################
#
################
# COMPILAR C++ #
################
#
# NOTAS: Segun la wikipedia de gentoo -02 es la mas estable y LDFLAGS es inecesario
#
COMMON_FLAGS="-O2 -march=znver1"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
#
##########################
# DIRECTORIOS DE PORTAGE #
##########################
#
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
#
#######################
# DIRECTORIO TEMPORAL #
#######################
#
PORTAGE_TMPDIR="/tmp"
#
##############################
# IDIOMA DE LAS APLICACIONES #
##############################
#
# Nota: LC_MESSAGES=C  se utiliza para reportar bugs en ingles
LC_MESSAGES=C
LINGUAS="es es_ES ca ca_ES"
L10N="es es-ES ca ca-ES"
#
########################
# LIMPIEZA DEL SISTEMA #
########################
#
AUTOCLEAN="yes"
#
#######################
# OPCIONES DE PORTAGE #
#######################
#
EMERGE_DEFAULT_OPTS="--ask --jobs=4 --keep-going --nospinner --quiet-build --with-bdeps=y"
MAKEOPTS="-j17"
#
########################
# LINCENCIAS ACEPTADAS #
########################
#
ACCEPT_LICENSE="*"
#
############
# GRAFICOS #
############
#
VIDEO_CARDS="nvidia"
#
#####################
# BANDERAS GLOBALES #
#####################
#
AUDIO="pulseaudio"
RED="networkmanager"
PLASMA="consolekit policykit qt5"
HARDWARE="nvenc vdpau"
PERIFERICOS="v4l mtp bluetooth scanner"
FUENTES="truetype type1 cleartype corefonts"
DENEGADAS="-gnome -qt3support -qt4 -kde"
#
USE="${AUDIO} ${RED} ${PLASMA} ${HARDWARE} ${PERIFERICOS} ${FUENTES} ${DENEGADAS}"
#
CPU_FLAGS_X86=""
#
#############
# OBJETIVOS #
#############
#
RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25"
#
####################
# GENTOO INESTABLE #
####################
#
ACCEPT_KEYWORDS="~amd64"
#
###################
# SOPORTE 32 BITS #
###################
#
ABI_X86="64 32"
#
##########
# SCANER #
##########
#
SANE_BACKENDS="pixma net"
#
##########
# PYTHON #
##########
#
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"
#
#######################
# ESPEJO DE DESCARGAS #
######################
#
GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
[/quote]
Back to top
View user's profile Send private message
Dwosky
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2018
Posts: 95

PostPosted: Thu Nov 15, 2018 4:39 pm    Post subject: Reply with quote

This is my current configuration:
Code:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
CHOST="x86_64-pc-linux-gnu"
USE="avx dbus gd mmx mmxext png popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2 ssl threads truetype udev -cups -gnome -ipv6 -kde -qt4 -X"
CPU_FLAGS_X86="avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
INPUT_DEVICES="evdev"
VIDEO_CARDS="intel"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTAGE_TMPDIR="/tmp"
PHP_TARGETS="php7-2"
LINGUAS="en es"
ACCEPT_LICENSE="RAR"
PORTAGE_GPG_KEY="0xBF399D394FC87600"
MICROCODE_SIGNATURES="-S"
PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"
NGINX_MODULES_HTTP="access auth_basic browser fastcgi geo geoip grpc gzip limit_conn limit_req map memcached mirror proxy rewrite scgi upstream_keepalive userid"


Its a headless PC in case you wonder regarding the -X :D
Back to top
View user's profile Send private message
LemonCream
n00b
n00b


Joined: 09 Sep 2019
Posts: 3

PostPosted: Mon Sep 09, 2019 9:52 pm    Post subject: Reply with quote

BUMP! 2019 make.conf please!
Back to top
View user's profile Send private message
spork_kitty
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2019
Posts: 122

PostPosted: Tue Sep 10, 2019 1:10 am    Post subject: Reply with quote

Ask and ye shall receive. I'm still in the middle of a reinstall, technically, but this is more or less what I'll be putting back:

Code:

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j6"
INPUT_DEVICES="keyboard mouse evdev joystick wacom"
VIDEO_CARDS="amdgpu radeonsi radeon"
# Disable things I have no plans on using
USE="-bluetooth -systemd -udisks -upower -gpm -elogind"
# No clue what fuckery Gentoo devs are doing, but I had to do this.
USE="$USE -berkdb gdbm"
# Add things I need
USE="$USE bash-completion cups ibus opencl pulseaudio qt5 unicode xft vim-syntax"
ACCEPT_KEYWORDS="~amd64"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTAGE_BINHOST="file://${PKGDIR}"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --binpkg-respect-use=y"
PORTAGE_ELOG_CLASSES="log warn error"
PORT_LOGDIR="/var/log/portage/build"
# The developer profile includes testing; I don't need it most of the time
FEATURES="-test compress-build-logs"
CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a"
#RUBY_TARGETS="${RUBY_TARGETS} ruby24 ruby25"
PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7"
PYTHON_SINGLE_TARGET="python3_6"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.cs.utah.edu/"


It's overdue for an audit, tbh.

The reinstall will not have pulseaudio on it. It was only there for games and Firefox anyway. I got apulse to work pretty well in the past so it'll probably work now too.

EDIT: charles17 makes a good point below. Don't copy and paste these things without understanding what they do, or you'll break something. Most people build their config up over the course of years, tweaking things as they come up. Sometimes you end up with one like mine above, which might have redundant or obsolete information. Hence why I wrote that it needs an audit. :)


Last edited by spork_kitty on Thu Sep 12, 2019 12:23 am; edited 2 times in total
Back to top
View user's profile Send private message
LemonCream
n00b
n00b


Joined: 09 Sep 2019
Posts: 3

PostPosted: Tue Sep 10, 2019 1:19 am    Post subject: Reply with quote

Thank you! That was an entertaining and helpful make.conf. :)
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3270

PostPosted: Tue Sep 10, 2019 6:27 am    Post subject: Reply with quote

LemonCream wrote:
BUMP! 2019 make.conf please!

Avoid having too many settings there. This is from my https://wiki.gentoo.org/wiki/Dell_Latitude_E6430_%28CYRTRY1%29:
/etc/portage/make.conf wrote:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j8"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
MICROCODE_SIGNATURES="-S"

# LINGUAS=""
# L10N=""

INPUT_DEVICES="libinput"
VIDEO_CARDS="intel i965 nouveau"
SANE_BACKENDS="genesys"

GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
Back to top
View user's profile Send private message
LemonCream
n00b
n00b


Joined: 09 Sep 2019
Posts: 3

PostPosted: Tue Sep 10, 2019 10:54 am    Post subject: Reply with quote

Thank you charles17! Didn't know that.

charles17 wrote:

Avoid having too many settings there. This is from my https://wiki.gentoo.org/wiki/Dell_Latitude_E6430_%28CYRTRY1%29:
/etc/portage/make.conf wrote:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j8"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
MICROCODE_SIGNATURES="-S"

# LINGUAS=""
# L10N=""

INPUT_DEVICES="libinput"
VIDEO_CARDS="intel i965 nouveau"
SANE_BACKENDS="genesys"

GENTOO_MIRRORS="https://ftp.halifax.rwth-aachen.de/gentoo/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/"
Back to top
View user's profile Send private message
PrSo
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2017
Posts: 134

PostPosted: Thu Sep 26, 2019 8:05 am    Post subject: Reply with quote

LemonCream wrote:
BUMP! 2019 make.conf please!


Here you go:
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.
COMMON_FLAGS="-O3 -ftree-vectorize -pipe -march=native -fomit-frame-pointer"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# 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 and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="-bindist -gnome -gtk -systemd -consolekit -qt4 -qt3 vdpau vaapi elogind policykit udev X -wayland egl alsa dbus opengl xcb qml"
CPU_FLAGS_X86="pclmul f16c mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 avx aes sse4a popcnt"
ACCEPT_KEYWORDS="~amd64"
MAKEOPTS="-j4 -l3.6"
EMERGE_DEFAULT_OPTS="--quiet-build"
#PORTDIR="/usr/portage"
#PORTDIR_OVERLAY=/usr/local/portage
DISTDIR="/var/lib/portage/distfiles"
#DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
L10N="pl en"
LINGUAS="pl pl_PL"
VIDEO_CARDS="radeonsi amdgpu"
ALSA_CARDS="hda-intel"
LLVM_TARGETS="AMDGPU X86 BPF"
INPUT_DEVICES="evdev synaptics"
CALLIGRA_EXPERIMENTAL_FEATURES="stage"
QEMU_SOFTMMU_TARGETS="x86_64 i386"
QEMU_USER_TARGETS="x86_64 i386"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/"
CONFIG_PROTECT="/etc/conf.d/keymaps /etc/conf.d/consolefont /etc/conf.d/hwclock /etc/conf.d/xdm"
INSTALL_MASK="${INSTALL_MASK} /etc/systemd /lib/systemd /usr/lib/systemd"
RUBY_TARGETS="ruby25"
#FETCHCOMMAND="$(FETCHCOMMAND) --progres=bar:force:noscroll"
#RESUMECOMMAND="$(RESUMECOMMAND) --progres=bar:force:noscroll"


I think it's still WIP, experimenting how far I can push this Netbook (Lenovo g50-45 : AMD A6 6310 APU).

Bests,
Przemek.
Back to top
View user's profile Send private message
DigitalCorpus
Apprentice
Apprentice


Joined: 30 Jul 2007
Posts: 262

PostPosted: Thu Dec 19, 2019 11:47 pm    Post subject: Reply with quote

Building a new Gentoo box. A 3.2 GHz Q9400 on a GA-965P-DS3 w/ 8GB of DDR2 w/ spinning rust. It is being replaced with a i5-8500T on a ASRock Z390 Phantom Gaming-ITX/ac with 16GB DDR4 (one day that will be 64GB) w/ NVMe & SATA SSDs and spinning rust. Since I like to play around a bit, I run ck-sources and I'm experimenting with LTO + Graphite (not anymore!). Currently headless, but open for eGPU in the future and will function as a remote box for some compute function and as a home NAS.

Code:
#CHOST="x86_64-linux-gnu"
GRUB_PLATFORMS="efi-64"

#Compiling Options
        PORTAGE_NICENESS=10
        PORTAGE_IONICE_COMMAND="schedtool -B -n 15 \${PID}"
        CFLAGS="-march=native -pipe -O2 -falign-functions=32"
        CXXFLAGS="${CFLAGS}"
        FCFLAGS="${CFLAGS}"
        FFLAGS="${CFLAGS}"
        LDFLAGS="${CFLAGS} ${LDFLAGS} -Bdirect -Wl,--hash-style=gnu,--sort-common,-zcombreloc,-zrelro"
        MAKEOPTS="-j6"
        EMERGE_DEFAULT_OPTS="--jobs 3 --keep-going --quiet-fail y"
        CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
#Compiling Options

#Portage Configuration
        #Directory Organization
        PORTDIR="/var/db/repos/gentoo"
        DISTDIR=${PORTDIR}"/cache/distfiles"
        PKGDIR=${PORTDIR}"/cache/binpkgs"
        CCACHE_DIR="/var/cache/ccache"
        PORTAGE_LOGDIR="/var/log/portage"

        #Features, Targets, & Modules
        FEATURES="ccache clean-logs compress-build-logs compressdebug compress-index distlocks fail-clean parallel-fetch \
                parallel-install sandbox split-log splitdebug userfetch userpriv usersandbox usersync"
        ACCEPT_KEYWORDS="amd64 ~amd64"
        AUTOCLEAN="yes"
        ADA_TARGET=""
        APACHE2_MODULES=""
        CALLIGRA_FEATURES=""
        GPSD_PROTOCOLS=""
        LCD_DEVICES="ncurses text"
        LLVM_TARGETS="X86"
        NETBEANS_MODULES=""
#       PYTHON_TARGETS="python2_7 python3_7 python3_8"
#       PYTHON_SINGLE_TARGET="python3_7"
        QEMU_SOFTMMU_TARGETS="x86_64"
        QEMU_USER_TARGETS="x86_64"
        RUBY_TARGETS="ruby26 ruby27"
        XTABLES_ADDONS=""

        # Wait delay before cleaning a package
        ACCEPT_LICENSE="* -@EULA"
        CLEAN_DELAY="4"
        EMERGE_WARNING_DELAY="7"

        # High Bandwidth HTTP Mirrors
        GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ \
                        http://gentoo.mirrors.easynews.com/linux/gentoo/ \
                        http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"

        # Rsync Config
        PORTAGE_RSYNC_RETRIES="2"
#       PORTAGE_RSYNC_OPTS="--compress --compress-level=1 --delete --delete-during --force --links --perms --preallocate \
#                       --recursive --safe-links --stats --times --whole-file --temp-dir='/dev/shm' --timeout=10 \
#                       --exclude='/distfiles' --exclude='/local' --exclude='/metadata' --exclude='/packages'"
        PORTAGE_RSYNC_EXTRA_OPTS=""

        # General Use Flags
        USE=${USE}"acpi -bindist -bluetooth cairo -consolekit -cups -debug -doc elogind -fam -fortran -gpm icu initramfs -kde \
                lighttpd lzma minimal -mysql native-cflags nls nptl pcre16 -perl policykit readline rule-generator sna symlink \
                -system-mitkrb5 -test threads udev unicode upower widevine xslt"

        # Audio & Video
        USE=${USE}" alsa encode a52 aac dts exif gallium llvm -mad nsplugin mp3 ogg -sdl vorbis x264 -xvid"

        # Imaging Stuffs
        USE=${USE}" apng gif jpeg jpeg2k lcms png tiff"

        # Flags for GUI & Interoperability
        USE=${USE}" gdbm gtk gtk2 gtk3 introspection samba truetype udisks unicode X xscreensaver xv"

        # WWW, PHP, Etc
        USE=${USE}" gd php xml"

        # Languages
        L10N="en-US en"
        LINGUAS="en_US en"

        # Video & Audio Cards & Drivers
        VIDEO_CARDS="intel i965"
        ALSA_CARDS="hda-intel"
        INPUT_DEVICES="libinput keyboard mouse"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C


This mirrors my old box with some DE playing around and I need to do some trimming of the USE flags.


Last edited by DigitalCorpus on Sat Jan 25, 2020 5:23 am; edited 6 times in total
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3679
Location: Illinois, USA

PostPosted: Fri Dec 20, 2019 1:11 am    Post subject: Reply with quote

Code:
ABI_X86="64 32"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CPPFLAGS="${CFLAGS}"

MAKEOPTS="-j16"
#MAKEOPTS="-j1"

PORTAGE_RSYNC_EXTRA_OPTS="--timeout=10 --progress --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_ELOG_CLASSES="info error log"
PORTAGE_ELOG_SYSTEM="save"

PORTAGE_TMPDIR="/var/tmp"

PKGDIR="/usr/portage/packages"

#ACCEPT_LICENSE="* -@EULA"
ACCEPT_LICENSE="-* @FREE"

#first as policy no RedHat stuff
USE="-systemd -acl -avahi -perl -caps -elogind -ldap -nls -libav -mysql -orc -pam \
     -gnome -gnome-keyring -gtk3 -policykit -consolekit -udev -dbus -jack -pulseaudio  \
     -udev -udisks -upower -networkmanager -zeroconf"
#now remove other useless stuff
USE="$USE -accessibility -bluetooth -sdl -sdl2 -joystick -guile -qt4 -ipv6 -tcl -tk -vala "
#stop dumb RedHat crap
USE="$USE split-usr"
#now add stuff I want
USE="$USE alsa dvb dvd dvdr ffmpeg v4l ftp jpeg gbm \
     gstreamer python scanner sndfile samba sqlite suid tahoma truetype xpm \
     xv multislot split-usr qt5 X"


#use these flags for building on Pinnacle Ridge and Ryzen
CPU_FLAGS_X86=" aes avx avx2 f16c fma3  mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
CONFIG_PROTECT_MASK="/etc/services /etc/make.conf.example"

SANE_BACKENDS="hp"

#EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going --verbose-conflicts --exclude grub "
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going --exclude grub "
EMERGE_DEFAULT_OPTS="$EMERGE_DEFAULT_OPTS  --autounmask=n --autounmask-write=n  --buildpkg=y "

FEATURES="userpriv sandbox collision-protect protect-owned  --autounmask-keep-masks"

LINGUAS="en"
L10N="en"

VIDEO_CARDS="radeon r600"

DVB_CARDS="cx18"

INPUT_DEVICES="keyboard mouse"

LIRC_DEVICES="hauppauge hauppauge_dvb"

PORTDIR="/usr/portage"

APACHE2_MODULES="access authz_host auth auth_dbm auth_anon auth_digest authn_core authz_core unixd "
APACHE2_MODULES="$APACHE2_MODULES dir mime alias file-cache echo charset-lite cache disk-cache "
APACHE2_MODULES="$APACHE2_MODULES mem-cache ext-filter case_filter case-filter-in filter deflate mime-magic cern-meta "
APACHE2_MODULES="$APACHE2_MODULES expires headers unique_id usertrack unique-id authn_core authz_core unixd socache_shmcb"

LLVM_TARGETS="AMDGPU X86"

PHP_TARGETS="php5-6"

INSTALL_MASK="${INSTALL_MASK} /etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d"

GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://mirrors.rit.edu/gentoo/"

PALEMOON_ENABLE_UNSUPPORTED_COMPILERS=1
Back to top
View user's profile Send private message
etnull
Guru
Guru


Joined: 26 Mar 2019
Posts: 330

PostPosted: Fri Dec 20, 2019 2:47 am    Post subject: Reply with quote

Code:
COMMON_FLAGS="-march=westmere -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j11"

PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

LC_MESSAGES=C

VIDEO_CARDS="nvidia"
INPUT_DEVICES="libinput keyboard mouse wacom"
GRUB_PLATFORMS="pc"
CURL_SSL="libressl"
SANE_BACKENDS="genesys"

GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.bloodhost.ru/"

USE="aac acpi alsa cairo crypt cryptsetup curl djvu dts eme-free encode exif fam ffmpeg flac gif git glamor gpg gpm gtk gtk3 icu jpeg lcms ldap libressl mad man mng mp3 mp4 mpeg nvidia ogg opengl pango pcre16 pdf png sdl ssl svg threads tiff truetype udev unicode usb vorbis X x264 x265 xcb xft xkb xml xv xvid xvmc"
USE="${USE} -bindist -bluetooth -branding -cdda -cddb -cdr -consolekit -cups -dvd -dvdr -elogind -ftp -geoclue -geoip -geolocation -gnome -googledrive -gstreamer -inotify -ipv6 -lastfm -libav -libnotify -networkmanager -openssl -pam -policykit -pulseaudio -qt5 -qtwidgets -samba -startup-notification -systemd -udisks -upower -wayland -wxwidgets -xwidgets"

CPU_FLAGS_X86="acpi aes aperfmperf apic arat arch_perfmon bts clflush cmov constant_tsc cpuid cx8 cx16 dca de ds_cpl dtes64 dtherm dts ept est flexpriority flush_l1d fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce mmx mmxext monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmul pclmulqdq pdcm pdpe1gb pebs pge popcnt pse pse36 pti rdtscp rep_good sep smx ss ssbd sse sse2 sse3 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc vme vmx vnmi vpid xtopology xtpr"

INSTALL_MASK="/lib/systemd /usr/lib/systemd"

ACCEPT_LICENSE="-* @FREE"
ACCEPT_KEYWORDS="~amd64"
MICROCODE_SIGNATURES="-s 0x000206c2"


Last edited by etnull on Mon Jan 13, 2020 2:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
erm67
l33t
l33t


Joined: 01 Nov 2005
Posts: 619
Location: EU

PostPosted: Fri Dec 20, 2019 8:41 am    Post subject: Reply with quote

Code:
NTHREADS="2"
 
FLTO="-flto=${NTHREADS}"

GRAPHITE="-fgraphite-identity -ftree-loop-distribution -floop-nest-optimize -floop-strip-mine -floop-interchange -floop-block -ftree-loop-distribute-patterns"

CFLAGS="-O2 -march=armv8-a+crc+fp+simd+crypto -mcpu=cortex-a73.cortex-a53+crc+fp+simd+crypto -ftree-vectorize -mtune=cortex-a73.cortex-a53 ${FLTO} ${GRAPHITE} -fuse-linker-plugin -pipe --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=1024"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1,--as-needed,--hash-style=gnu,--sort-common ${CXXFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before changing.
CHOST="aarch64-unknown-linux-gnu"
VIDEO_CARDS="panfrost fbdev"
LC_MESSAGES=C
USE="arm64 alsa -X -cairo -gtk -egl -opengl gpl -consolekit -dbus png tiff jpeg gif icu sqlite"
MAKEOPTS="-j4"
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="amd64 ~arm64"
PHP_TARGETS="php7-3"
PYTHON_TARGETS="python2_7 python3_7"
PYTHON_SINGLE_TARGET="python3_7"
LINGUAS=it
L10N="it uk"
RUBY_TARGETS="ruby25 ruby26"
PORTDIR_OVERLAY="${PORTDIR_OVERLAY}  /var/db/repos/localrepo"

_________________
Ok boomer
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia

My fediverse account: @erm67@erm67.dynu.net
Back to top
View user's profile Send private message
Gatak
Apprentice
Apprentice


Joined: 04 Jan 2004
Posts: 168

PostPosted: Thu Dec 26, 2019 3:36 pm    Post subject: Reply with quote

Running on a dual-core AMD E350 APU 1.6GHz with 8GB RAM. It is used as a home server with mail, Apache, Nextcloud, Samba, Plex Media Server and Unifi Controller.

This is my new installation that is work in progress:
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.
COMMON_FLAGS="-O3 -march=native -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
PORTDIR_OVERLAY="/var/db/repos/local"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
PORT_LOGDIR="/var/log/portage"
PORT_LOGDIR_CLEAN="find \"\${PORT_LOGDIR}\" -type f ! -name \"summary.log*\" -mtime +90 -delete"
GENTOO_MIRRORS="https://mirror.mdfnet.se/gentoo"
PORTAGE_COMPRESS="pbzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
BINPKG_COMPRESS="lzip"
FEATURES="${FEATURES} parallel-fetch candy clean-logs split-log split-elog news"
MAKEOPTS="-j3 -l3"
EMERGE_DEFAULT_OPTS="--jobs 4  --load-average=3 --autounmask=n --keep-going"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
LINGUAS="en_US en_GB sv_SE en sv"
L10n="en_US en_GB sv_SE en sv"

VIDEO_CARDS="radeon r600 vesa amdgpu"
GRUB_PLATFORMS="pc"

RUBY_TARGETS="ruby25"
PHP_TARGETS="php7-3"
PYTHON_TARGETS="python3_6"
PYTHON_SINGLE_TARGET="python3_6"
APACHE2_MPMS="event"
APACHE2_MODULES="$APACHE2_MODULES http2 brotli log_forensic proxy proxy_fcgi proxy_html proxy_http proxy_http2 xml2enc"
ACCEPT_LICENSE="* -@EULA ubiquiti Oracle-BCLA-JavaSE"

USE="${USE} nptl nptlonly -muktilib pgo lto openmp threads jemalloc \
-xattr -webkit -ldap -networkmanager -cups -bluetooth -lvm -dmraid -device-mapper \
-alsa -introspection \
vhosts apache2 http2 \
pch jumbo-build bash-completion \
vdpau vpx x265 x264 btrfs \
gnutls zstd lzo lz4 lzma"
#vaapi vdpau opencl


And this is my current install. Several years old.

Code:

## Safe flags for E350
#CFLAGS="-O3 -pipe -march=btver1 -mno-xsave"

CFLAGS="-O3 -pipe -march=native -funroll-loops"

### OpenMP
#CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -fopenmp -floop-parallelize-all -floop-block -floop-interchange -floop-strip-mine  -floop-nest-optimize"

## DEBUG
#CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -g"

### LTO
#CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -flto"

###
# Graphite + LTO enabled options!
# -floop-parallelize-all is not enbabled
#CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -flto -floop-block -floop-interchange -floop-strip-mine -floop-nest-optimize -fgraphite-identity"

#CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -flto -floop-block -floop-interchange -floop-strip-mine -floop-nest-optimize -fgraphite-identity -floop-parallelize-all"

###
# GRaphite only, no LTO
#CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -floop-block -floop-strip-mine -floop-interchange -fgraphite-identity -floop-parallelize-all"

## Without -floop-parallelize-all -floop-interchange -fgraphite-identity
#CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native -msse3 -flto -floop-block -floop-strip-mine"
###

CXXFLAGS="${CFLAGS}"
#CPPFLAGS="${CFLAGS}"
#LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-no-as-needed -ljemalloc -Wl,-as-needed"
#LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags, Wl,--as-needed"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--enable-new-dtags"
#LDFLAGS=""
FCFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"


CHOST="x86_64-pc-linux-gnu"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3"

USE="-multiarch -multilib nptl nptlonly pic mmx sse sse2 sse3 ssse3 sse4a mmx mmxext popcnt 3dnowext apic acpi threads jemalloc smp linux-threads sharedmem udev dbus \
fam gd apache python idn ipv6 urandom lto pgo gmp openmp \
mysql -ldap -X -webkit lzo gpm \
crypt -sasl webp jpeg -jpeg2k png mng apng tiff bmp gif \
vhosts apache2 http2 bash-completion pch jumbo-build gnutls fuse -networkmanager \
lzma samba openexr exif truetype -bluetooth -java \
vpx xvid x265 x264 flac zstd btrfs -lvm -dmraid -device-mapper brotli \
-gtk -gtk3 elogind -alsa -cups"

#FETCHCOMMAND="/usr/bin/curl --connect-timeout 15 -# -o \${DISTDIR}/\${FILE} \${URI}"
#RESUMECOMMAND="/usr/bin/curl --connect-timeout 15 -# -C - -o \${DISTDIR}/\${FILE}\${URI}"

#distcc makeopts
#MAKEOPTS="-j20 -l3"

MAKEOPTS="-j3 -l3"
EMERGE_DEFAULT_OPTS="--jobs 4  --load-average=3 --autounmask=n --keep-going"

PORTAGE_COMPRESS="pbzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
BINPKG_COMPRESS="lzip"


##distcc features
#FEATURES="parallel-fetch candy clean-logs split-log split-elog binpkg-logs news distcc"

#default
FEATURES="parallel-fetch candy clean-logs split-log split-elog binpkg-logs news"

#special
#FEATURES="-sandbox -usersandbox parallel-fetch candy clean-logs metadata-transfer cgroup news userpriv"

ABI_X86="64"
RUBY_TARGETS="ruby25"
PHP_TARGETS="php7-3"

#USE_PYTHON="2.7 3.6 3.7"
#USE_PYTHON="3.6"
PYTHON_TARGETS="python2_7 python3_7 python3_6"
#PYTHON_TARGETS="python3_6"
PYTHON_SINGLE_TARGET="python3_6"
#PYTHON_SINGLE_TARGET="python2_7"

CURL_SSL="gnutls"

LINGUAS="en_US en_GB sv_SE en sv"
L10n="en_US en_GB sv_SE en sv"

VIDEO_CARDS="radeon r600 vesa amdgpu"

#PORTAGE_NICENESS="15"

#ACCEPT_LICENSE="@FSF-APPROVED dlj-1.1 Oracle-BCLA-JavaSE AdobeFlash-10.3 MakeMKV-EULA OPERA-2014 RAR Plex"

PORTDIR_OVERLAY="/usr/local/portage"
#PORTAGE_TMPDIR=/mnt/storageTemp/portage
PORTAGE_TMPDIR="/var/tmp"
DISTDIR="/mnt/storageTemp/portage/distfiles"
PKGDIR="/mnt/storageTemp/portage/packages"

PORT_LOGDIR="/var/log/portage"
PORT_LOGDIR_CLEAN="find \"\${PORT_LOGDIR}\" -type f ! -name \"summary.log*\" -mtime +90 -delete"


APACHE2_MPMS="event"
APACHE2_MODULES="$APACHE2_MODULES http2 brotli log_forensic proxy proxy_fcgi proxy_html proxy_http proxy_http2 xml2enc"
NGINX_MODULES_HTTP="fastcgi "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3 ... , 16, 17, 18  Next
Page 17 of 18

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum