Skip to content

Instantly share code, notes, and snippets.

@codefionn
Last active March 19, 2020 08:36
Show Gist options
  • Save codefionn/f181040a1df2eeb9a2548d5baf0a4a85 to your computer and use it in GitHub Desktop.
Save codefionn/f181040a1df2eeb9a2548d5baf0a4a85 to your computer and use it in GitHub Desktop.
/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.
COMMON_FLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CFLAGS="${COMMON_FLAGS} -flto"
CXXFLAGS="${COMMON_FLAGS} -flto"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -flto"
CC="clang"
CXX="clang++"
MAKEOPTS="-j17"
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
L10N="en"
# Licenses
ACCEPT_LICENSE="-* @FREE"
# ccache
FEATURES="ccache"
CCACHE_DIR="/var/cache/ccache"
CCACHE_SIZE="8G"
# ... other features
FEATURES="${FEATURES} cgroup fakeroot sandbox network-sandbox ipc-sandbox mount-sandbox pid-sandbox parallel-fetch parallel-install userfetch userpriv usersandbox usersync"
# Use
USE="cryptsetup nls udisks dbus startup-notification tty-helpers gpm acl vim-syntax sqlite bindist gmp acl usb libnotify wayland bindist zsh-completion drm archive xvfb dga cgroups caps pch"
USE="${USE} tcmalloc jemalloc"
USE="${USE} openssl -libressl"
USE="${USE} -gnome -introspection -glib -vala"
# Policykit
USE="${USE} policykit pam ssh-agent"
# Programming
USE="${USE} cxx valgrind"
# Display
USE="${USE} xinerama X xcb opengl opencl vulkan"
# Terminal
USE="${USE} readline ncurses hscolour"
# Networking
USE="${USE} adns dns curl ipv6 ssl"
# SMT
USE="${USE} threads openmp mpi"
# Video Card Acceleration
USE="${USE} vaapi vdpau opencl"
# MTP
USE="${USE} mtp"
# Unicode
USE="${USE} unicode icu cjk"
# Compression algorithms/libraries
USE="${USE} lzma zstd lzo lz4"
# Audio
USE="${USE} alsa pulseaudio"
USE="${USE} ffmpeg openal"
USE="${USE} a52 aac encode wavpack vorbis flac lame"
# Font
USE="${USE} truetype xft fontconfig"
# Image
USE="${USE} jpeg png imagemagick gif xpm"
# CD/DVD/BLURAY (Note: bluray ist NOT a global use flag)
USE="${USE} cdda cddb cdparanoia cdr"
USE="${USE} dvd dvdr bluray aacs"
CURL_SSL="openssl"
INPUT_DEVICES="libinput keyboard mouse"
VIDEO_CARDS="amdgpu radeonsi"
# CPU Flags (lscpu | grep Flags)
CPU_FLAGS_X86="vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor sse3 ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate sme ssbd sev ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca"
CPU_FLAGS_X86="${CPU_FLAGS_X86} fma3 pclmul"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.leaseweb.com/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.fau.de/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.mirror.web4u.cz/ http://gentoo.modulix.net/gentoo/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment