Wednesday, January 3, 2024

One of my Gentoo make.conf files

 Please use cation if you use this

##  Find your CPU Make and Model

https://wiki.gentoo.org/wiki/Safe_CFLAGS

grep -m1 -A3 "vendor_id" /proc/cpuinfo


##  Find number of threads that your CPU has

nproc


### Configuring compile options

nano -w /mnt/gentoo/etc/portage/make.conf


###For my AMD laptop

COMMON_FLAGS="-march=native -O2 -pipe"

CFLAGS="${COMMON_FLAGS}"

CXXFLAGS="${COMMON_FLAGS}"

FCFLAGS="${COMMON_FLAGS}"

FFLAGS="${COMMON_FLAGS}"


FEATURES = "candy parallel-fetch parallel-install"

ACCEPT_LICENSE="*"

MAKEOPTS="-j16 -l17"

INPUT_DEVICES="libinput"

VIDEO_CARDS="amdgpu radeonsi"


USE="X gtk -gnome qt5 -kde dvd alsa cdr -systemd elogind pulseaudio dbus daemon corefonts bluetooth"

No comments:

Post a Comment