# just a main config ... MARCH_NATIVE_GCC="-march=skylake -mabm --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144" MARCH_NATIVE_CLANG="-march=skylake -mpopcnt -mlzcnt" DEBUG_FLAGS_GCC="-g3 -ggdb" DEBUG_FLAGS_CLANG="-g -glldb" COMMON_FLAGS="-O3 -pipe" CFLAGS="${COMMON_FLAGS} ${MARCH_NATIVE_CLANG} ${DEBUG_FLAGS_CLANG} -flto=thin" CXXFLAGS="${COMMON_FLAGS} ${MARCH_NATIVE_CLANG} ${DEBUG_FLAGS_CLANG} -flto=thin" FFLAGS="${COMMON_FLAGS} ${MARCH_NATIVE_GCC} ${DEBUG_FLAGS_GCC} -flto=4" # no flang :( only gfortran FCFLAGS="${COMMON_FLAGS} ${MARCH_NATIVE_GCC} ${DEBUG_FLAGS_GCC} -flto=4" # no flang :( only gfortran # -O2 in LDFLAGS refers to binary size optimization during linking, it is NOT related to the -O levels of the compiler EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=4" MAKEOPTS="-j4" FEATURES="ccache splitdebug -nostrip compressdebug installsources" CCACHE_DIR="/var/cache/ccache" LC_MESSAGES=C.utf8 GENTOO_MIRRORS="https://mirror.dkm.cz/gentoo/" ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE" INPUT_DEVICES="libinput" VIDEO_CARDS="intel nvidia" L10N="ru uk en-GB en" USE="10bit 12bit 3d 7z 7zip X aac alsa alsa-plugin archive asan avif bluetooth bluetooth-sound bluez bluray bmp boost brightness-control brotli cairo ccache cdaudio cdda cddb cdio cdr cdrom cdsound clang cmake color-management colord corefonts cppcheck cpudetection cpuid cuda cudnn cups cxx d dbus designer djvu docker drm dts dvbpsi dvd dvda dvdarchive dvdr egl elogind epub exif firefox flac flatpak fontconfig frei0r geoclue gif git gles2 glib gmp gnome-keyring gnutls gpg graphite grub gstreamer heif help hwaccel icu image imagemagick initramfs interlaced introspection jit jpeg jpeg2k jpegxl json jupyter kde lame lapack lapacke ldac ldap libass llvm lrz lsan lsp lspclient lto lua lz4 lzip lzma lzo lzo2 markdown matroska mesh mobi mp3 mp4 mpc mpeg mpfr mpi mpris mpv msan mtp native-cflags networkmanager nss numpy nvdec nvenc nvidia nvimpager nvme ogg okular opencl opencv opengl opus panorama pcre32 pdf pgo pipewire plasma png positioning postgres pulseaudio python qml qt5 qt6 quick rar raw rustfmt screencast screensaver sddm sdl sdl2 smart sndfile sound-server sox speex sqlite srt subtitles svg taglib text theora threaded threads thunderbolt tmux truetype tsan udev usb v4l v4l2 v4lutils vaapi vdpau vim vim-pager vim-syntax vorbis vulkan wayland webcam webchannel webengine webm webp widgets wifi wireless wxwidgets x264 x265 xinerama xml yaml zip zstd -ppp"