Skip to content

Instantly share code, notes, and snippets.

@JustCauseWhyNot
Created March 24, 2024 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JustCauseWhyNot/2135891f60d51a83ad75f3ff5f698231 to your computer and use it in GitHub Desktop.
Save JustCauseWhyNot/2135891f60d51a83ad75f3ff5f698231 to your computer and use it in GitHub Desktop.
/etc/portage/make.conf
# Built-time functionality
# ========================
INPUT_DEVICES="libinput"
RUBY_TARGETS="ruby32"
USE="adns asm dbus drm egl elogind ffmpeg flac fontconfig jpeg jpeg2k jpegxl ktls libglvnd lm_sensors lto numa nvdec nvenc nvidia openal opengl openssl pgo pipewire png policykit qml qt6 redis savedconfig svg threads tiff truetype udev vaapi vpx vulkan X zsh-completions \ -geoip -ipv6 -libtirpc -md5 -samba -systemd -wayland"
VIDEO_CARDS="nvidia"
# Host and optimization settings
# ==============================
COMMON_FLAGS="-O3 -fno-plt -fno-semantic-interposition -frecord-gcc-switches -march=native -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
MAKEOPTS="-j16"
# Advandec Masking
# ================
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"
# Portage Directories
# ===================
PORTAGE_LOGDIR="/var/log/portage"
# Fetching files
# ==============
source /usr/share/fetchcommandwrapper/make.conf
# Advanced Features
# =================
CLEAN_DELAY=0
EMERGE_DEFAULT_OPTS="-a --ask-enter-invalid --autounmask=n --columns -D --quiet-build=y --quiet-fail=y -v --with-bdeps=y"
FEATURES="parallel-install split-elog split-log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment