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 ... 15, 16, 17  
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: 98

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

Code:
CFLAGS="-march=native -O2 -pipe -mindirect-branch=thunk"

# 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"
Back to top
View user's profile Send private message
P.Kosunen
Apprentice
Apprentice


Joined: 21 Nov 2005
Posts: 299
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: 83

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: 3

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
Guru
Guru


Joined: 25 Jan 2008
Posts: 588
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: 10124
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: 22

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
n00b
n00b


Joined: 03 Apr 2012
Posts: 67
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: 13

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: 35
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3 ... 15, 16, 17
Page 17 of 17

 
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