Last active
April 5, 2025 23:08
-
-
Save jaredallard/4b06f9178be4df005b57b42188d1ad26 to your computer and use it in GitHub Desktop.
gentoo.rgst.io binhost make.conf(s)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set language=bash; | |
CHOST="aarch64-unknown-linux-gnu" | |
# Optimization flags. | |
WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" | |
COMMON_FLAGS="-march=armv8.6-a+fp16+simd+crypto+i8mm -mtune=native -O2 -pipe -flto ${WARNING_FLAGS}" | |
CFLAGS="${COMMON_FLAGS}" | |
CXXFLAGS="${COMMON_FLAGS}" | |
FCFLAGS="${COMMON_FLAGS}" | |
FFLAGS="${COMMON_FLAGS}" | |
RUSTFLAGS="-C target-cpu=native" | |
USE="pulseaudio pipewire qt6 -qt5 wayland gles2 screencast networkmanager audio lto" | |
# This sets the language of build output to English. | |
# Please keep this setting intact when reporting bugs. | |
LC_MESSAGES=C | |
# Note: MAKEOPTS is unset to have it default to the value | |
# of $(nproc). | |
MAKEOPTS="-j8" | |
# GENTOO_MIRRORS is the mirros to use for emerge sources. The author | |
# hosts one on R2, which should be fast enough for most usecases. | |
GENTOO_MIRRORS="https://gentoo.rgst.io/gentoo" | |
# EMERGE_DEFAULT_OPTS is the options to use for emerges. We use -j3 here to | |
# enable compiling at most 3 packages at the same time. This also makes logs not spam | |
# our screen everytime. It's nice :) | |
EMERGE_DEFAULT_OPTS="--jobs 3" | |
# VIDEO_CARDS is the video card (gpu) we're using. We use "asahi" for the mesa package provided | |
# by the asahi-overlay. | |
VIDEO_CARDS="asahi" | |
GRUB_PLATFORMS="efi-64" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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. | |
WARNING_FLAGS="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing" | |
COMMON_FLAGS="-mcpu=cortex-a72+crc -ftree-vectorize -O2 -pipe -fomit-frame-pointer -flto ${WARNING_FLAGS}" | |
CFLAGS="${COMMON_FLAGS}" | |
CXXFLAGS="${COMMON_FLAGS}" | |
FCFLAGS="${COMMON_FLAGS}" | |
FFLAGS="${COMMON_FLAGS}" | |
RUSTFLAGS="-C target-cpu=native" | |
# WARNING: Changing your CHOST is not something that should be done lightly. | |
# Please consult https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before changing. | |
CHOST="aarch64-unknown-linux-gnu" | |
# NOTE: This stage was built with the bindist USE flag enabled | |
# This sets the language of build output to English. | |
# Please keep this setting intact when reporting bugs. | |
LC_MESSAGES=C.utf8 | |
GENTOO_MIRRORS="https://gentoo.rgst.io/gentoo" | |
MAKEOPTS="-j5 -l4" | |
EMERGE_DEFAULT_OPTS="--jobs=5 --load-average=4" | |
USE="pi4 lto" | |
VIDEO_CARDS="v3d vc4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment