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


Joined: 03 Dec 2017
Posts: 55

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


Joined: 11 Jul 2016
Posts: 59

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: 573
Location: Sota algun pi o alzina...

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

[quote="papu"][16] default/linux/amd64/17.0/desktop (stable) *

make.conf:
Code:

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j4"

ABI_X86="64 32"

ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"

CANON_PRINTERS="mg5500"
SANE_BACKENDS="pixma"

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

EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --alphabetical --autounmask-write=y --complete-graph=y --color=y --keep-going -v --verbose-conflicts --with-bdeps=y"

FEATURES="${FEATURES} candy cgroup nodoc noinfo parallel-fetch parallel-install split-elog"

DISTDIR="/mnt/sources/distfiles/"

GRUB_PLATFORMS="efi-64"

INPUT_DEVICES="libinput"

MICROCODE_SIGNATURES="-S"

L10N="ca"

LLVM_TARGETS="AMDGPU X86"

PKGDIR="/mnt/sources/packages/"

PORT_LOGDIR="/var/log/portage"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_TMPDIR="/tmp"

RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25"

positive="cacert cracklib ffmpeg fontconfig gtk3 jpeg2k libass lzma lzo mtp openal opencl openexr openssl raw sdl2 share v4l tools vdpau vulkan webp x265 sha3"
negativa="-bluetooth -geolocation -gnome -handbook -kde -kwallet -qt4 -semantic-desktop -wireless"
USE="${positive} ${negativa}"

VIDEO_CARDS="amdgpu radeonsi virgl"


:wink:
_________________
--Intel i5 6600 --GA-Z170-HD3P --Ripjaws V 2x8 2400 --Radeon RX 470 G1 4G --Gentoo & Windows
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