Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
post your make.conf
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 19, 20, 21, 22  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
alicela1n
n00b
n00b


Joined: 26 Mar 2021
Posts: 14

PostPosted: Sun Aug 29, 2021 6:05 pm    Post subject: Reply with quote

I don't have that exciting of a make.conf
Code:

# CFLAGS and other stuff specific to my CPU
COMMON_FLAGS="-march=skylake -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j7"
VIDEO_CARDS="intel i965 iris"
INPUT_DEVICES="wacom libinput"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"

# USE flags
USE="-gnome -ppp -screencast wayland X xinerama bluetooth pulseaudio networkmanager \
     qt5 kde dvd cdr avahi Xvaapi sound vim-syntax x264 \
     zsh-completion udev ios gphoto2"

# Build a binary package that I can distribute to other machines
FEATURES="buildpkg"
PORTAGE_NICENESS=14
L10N="en en-US"

# Set targets for certain packages
ADA_TARGET="gnat_2021"
QEMU_SOFTMMU_TARGETS="arm aarch64 alpha i386 x86_64 sparc sparc64 ppc ppc64 riscv32 riscv64 mipsel mips64el mips mips64"
QEMU_USER_TARGETS="x86_64 i386 aarch64 arm"
GRUB_PLATFORMS="efi-64 pc"

# Accept all licenses, except those with a EULA
ACCEPT_LICENSE="* -@EULA"

# Set default emerge options
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --jobs 4 --usepkg-exclude 'sys-kernel/gentoo-sources virtual/*'"

# Portage directories
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
CCACHE_DIR="/var/cache/ccache"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
GENTOO_MIRRORS="https://mirrors.advancedhosters.com/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirrors.rit.edu/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo"

_________________
emerchu -uDN world • gentoo girl
Back to top
View user's profile Send private message
apophysis
n00b
n00b


Joined: 16 Sep 2021
Posts: 8

PostPosted: Wed Sep 29, 2021 4:15 pm    Post subject: Reply with quote

Below is what I currently have on my system76 Gazelle laptop. I'm new to gentoo so if you notice anything I should tweak then please let me know. Not new to linux though so advanced suggestions are welcome too

Future goals include:
intel / nvidia graphics switching. currently reverted to just nvidia as bumblebee switching causes GUI to fail.
set up displaylink usb dock / dual monitors
install wine and set up the windows applications I need
install an office suite - maybe libreoffice
set up virtualbox
possibly set up openbox or other custom gui to replace kde
clean up kernel and system from bloat (leftovers from troubleshooting issues / also if I keep kde then replace meta with only applications I actually use etc)
tweak portage flags for more optimization etc
wipe out the sd card on my raspberry pi and install gentoo for more fun


system info:
Code:

bbruce@gentoo76 ~ $ neofetch
         -/oyddmdhs+:.                bbruce@gentoo76
     -odNMMMMMMMMNNmhy+-`             ---------------
   -yNMMMMMMMMMMMNNNmmdhy+-           OS: Gentoo/Linux x86_64
 `omMMMMMMMMMMMMNmdmmmmddhhy/`        Host: Gazelle gaze15
 omMMMMMMMMMMMNhhyyyohmdddhhhdo`      Kernel: 5.10.61-gentoo
.ydMMMMMMMMMMdhs++so/smdddhhhhdm+`    Uptime: 33 mins
 oyhdmNMMMMMMMNdyooydmddddhhhhyhNd.   Packages: 1280 (emerge)
  :oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh   Shell: bash 5.1.8
    .:+sydNMMMMMNNNmmmdddhhhhhhmMmy   Resolution: 1920x1080
       /mMMMMMMNNNmmmdddhhhhhmMNhs:   DE: Plasma 5.22.5
    `oNMMMMMMMNNNmmmddddhhdmMNhs+`    WM: KWin
  `sNMMMMMMMMNNNmmmdddddmNMmhs/.      Theme: Breeze Dark [Plasma], Breeze [GTK2/3]
 /NMMMMMMMMNNNNmmmdddmNMNdso:`        Icons: [Plasma], breeze-dark [GTK2/3]
+MMMMMMMNNNNNmmmmdmNMNdso/-           Terminal: konsole
yMMNNNNNNNmmmmmNNMmhs+/-`             CPU: Intel i7-10750H (12) @ 5.000GHz
/hMMNNNNNNNNMNdhs++/-`                GPU: Intel CometLake-H GT2 [UHD Graphics]
`/ohdmmddhys+++/:.`                   GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M
  `-//////:--.                        Memory: 1232MiB / 15707MiB

                                                             



Profile:
Code:

bbruce@gentoo76 ~ $ eselect profile show
Current /etc/portage/make.profile symlink:
  default/linux/amd64/17.1/desktop/plasma



portage tmpfs:
Code:

bbruce@gentoo76 ~ $ grep portage /etc/fstab
tmpfs   /var/tmp/portage        tmpfs   size=4G,uid=portage,mode=775,nosuid,noatime,nodev       0       0



make.conf
Code:

bbruce@gentoo76 ~ $ cat /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.
CHOST="x86_64-pc-linux-gnu"
COMMON_FLAGS="-march=skylake -mtune=skylake -O2 -pipe -fomit-frame-pointer"
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 sse sse2 sse3 sse4_1 sse4_2 ssse3"
MAKEOPTS="-j8"
ACCEPT_LICENSE="*"
INPUT_DEVICES="libinput"
VIDEO_CARDS="nvidia"

# NOTE: This stage was built with the bindist Use flag enabled
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

GENTOO_MIRRORS="https://gentoo.osuosl.org/ https://mirrors.rit.edu/gentoo/ https://mirror.rackspace.com/gentoo/"

USE="-bindist -cdda -cdr -dvd -dvdr -gnome -systemd alsa bluetooth dbus elogind gnutls lvm kde nvme offensive policykit pulseaudio qt5 udev udisks uefi X xinerama xvmc"

GRUB_PLATFORMS="efi-64"

#For Raspberry Pi
QEMU_SOFTMMU_TARGETS="aarch64"
QEMU_USER_TARGETS="aarch64"


world
Code:

bbruce@gentoo76 ~ $ cat /var/lib/portage/world                     
app-admin/conky
app-admin/keepass
app-admin/logrotate
app-admin/mcelog
app-admin/sudo
app-admin/sysklogd
app-editors/gvim
app-editors/nano
app-emulation/qemu
app-eselect/eselect-repository
app-misc/neofetch
app-misc/screen
app-portage/cpuid2cpuflags
app-portage/genlop
app-portage/gentoolkit
app-portage/repoman
dev-vcs/git
games-action/minecraft-launcher
games-misc/fortune-mod
games-util/steam-meta
kde-apps/kde-apps-meta
kde-plasma/plasma-meta
mail-client/thunderbird
media-sound/alsa-utils
media-sound/pavucontrol-qt
media-sound/spotify
media-video/vlc
net-misc/dhcpcd
net-misc/electrum
net-misc/ntp
net-wireless/iw
net-wireless/wpa_supplicant
sys-apps/busybox
sys-apps/fwupd
sys-apps/hwids
sys-apps/mlocate
sys-apps/nvme-cli
sys-apps/pciutils
sys-boot/grub:2
sys-boot/os-prober
sys-firmware/intel-microcode
sys-fs/dosfstools
sys-fs/lvm2
sys-fs/ntfs3g
sys-kernel/gentoo-sources
sys-kernel/linux-firmware
sys-process/cronie
sys76/system76-acpi-module
sys76/system76-driver
sys76/system76-io-module
sys76/system76-module
www-client/firefox
www-client/links
x11-apps/mesa-progs
x11-base/xorg-drivers
x11-drivers/nvidia-drivers


package.use
Code:

bbruce@gentoo76 ~ $ cat /etc/portage/package.use/*
media-plugins/alsa-plugins ffmpeg pulseaudio
sys-apps/busybox static -pam
app-admin/conky -ipv6 truetype vim-syntax
sys-boot/grub device-mapper
sys-fs/lvm2 static -udev
dev-lang/mono minimal
sys-libs/ncurses -gpm
x11-drivers/nvidia-drivers tools -uvm -kms
sys-libs/pam static
app-emulation/qemu static-user
media-video/vlc qt5 gnutls live lua matroska rtsp theora upnp vcdx vorbis vpx
# required by app-misc/neofetch-7.1.0::gentoo[X]
# required by app-misc/neofetch (argument)
>=www-client/w3m-0.5.3_p20210102 imlib
# required by x11-libs/pango-1.48.7-r1::gentoo
# required by sys-apps/fwupd-1.5.9-r1::gentoo
# required by sys-apps/fwupd (argument)
>=media-libs/freetype-2.11.0-r1 harfbuzz
# required by sys-fs/lvm2-2.02.188-r2::gentoo[static]
# required by sys-fs/cryptsetup-2.3.6-r2::gentoo
# required by sys-libs/libblockdev-2.25::gentoo[cryptsetup]
# required by sys-fs/udisks-2.9.3::gentoo
# required by sys-apps/fwupd-1.5.9-r1::gentoo[uefi]
# required by sys-apps/fwupd (argument)
>=dev-libs/libaio-0.3.112 static-libs
# required by sys-fs/lvm2-2.02.188-r2::gentoo[static]
# required by sys-fs/cryptsetup-2.3.6-r2::gentoo
# required by sys-libs/libblockdev-2.25::gentoo[cryptsetup]
# required by sys-fs/udisks-2.9.3::gentoo
# required by sys-apps/fwupd-1.5.9-r1::gentoo[uefi]
# required by sys-apps/fwupd (argument)
>=sys-apps/util-linux-2.37.2-r1 static-libs
# required by sys-apps/busybox-1.32.1-r1::gentoo[static]
# required by sys-apps/busybox (argument)
>=virtual/libcrypt-1-r1 static-libs
# required by x11-drivers/nvidia-drivers-470.63.01::gentoo[X]
# required by x11-drivers/nvidia-drivers (argument)
>=media-libs/libglvnd-1.3.3 abi_x86_32
# required by x11-libs/libXext-1.3.4::gentoo
# required by x11-libs/libXtst-1.2.3-r2::gentoo
# required by app-accessibility/at-spi2-core-2.40.3::gentoo[X]
# required by app-accessibility/at-spi2-atk-2.38.0::gentoo
# required by x11-libs/gtk+-3.24.29::gentoo[X]
# required by x11-themes/adwaita-icon-theme-40.1.1::gentoo
>=x11-libs/libX11-1.7.2 abi_x86_32
# required by media-libs/libglvnd-1.3.3::gentoo[X]
# required by x11-drivers/nvidia-drivers-470.63.01::gentoo[tools,-wayland]
# required by x11-drivers/nvidia-drivers (argument)
>=x11-libs/libXext-1.3.4 abi_x86_32
# required by x11-libs/libX11-1.7.2::gentoo
# required by media-libs/libepoxy-1.5.5::gentoo[X]
# required by x11-libs/gtk+-3.24.29::gentoo
# required by x11-themes/adwaita-icon-theme-40.1.1::gentoo
>=x11-libs/libxcb-1.14 abi_x86_32
# required by x11-libs/libxcb-1.14::gentoo
# required by x11-libs/libX11-1.7.2::gentoo
# required by media-libs/libepoxy-1.5.5::gentoo[X]
# required by x11-libs/gtk+-3.24.29::gentoo
# required by x11-themes/adwaita-icon-theme-40.1.1::gentoo
>=x11-libs/libXau-1.0.9-r1 abi_x86_32
# required by x11-libs/libxcb-1.14::gentoo
# required by x11-libs/libX11-1.7.2::gentoo
# required by media-libs/libepoxy-1.5.5::gentoo[X]
# required by x11-libs/gtk+-3.24.29::gentoo
# required by x11-themes/adwaita-icon-theme-40.1.1::gentoo
>=x11-libs/libXdmcp-1.1.3 abi_x86_32
# required by x11-libs/libxcb-1.14::gentoo
# required by x11-libs/libX11-1.7.2::gentoo
# required by media-libs/libepoxy-1.5.5::gentoo[X]
# required by x11-libs/gtk+-3.24.29::gentoo
# required by x11-themes/adwaita-icon-theme-40.1.1::gentoo
>=x11-base/xcb-proto-1.14.1 abi_x86_32
# required by sys-boot/os-prober-1.78::gentoo
# required by sys-boot/os-prober (argument)
>=sys-boot/grub-2.06-r1 mount
# required by games-action/minecraft-launcher-928-r4::gentoo
# required by games-action/minecraft-launcher (argument)
>=net-misc/curl-7.79.1 adns
# required by gnome-base/gnome-keyring-40.0::gentoo
# required by virtual/secret-service-0::gentoo
# required by app-crypt/libsecret-0.20.4-r1::gentoo
# required by games-action/minecraft-launcher-928-r4::gentoo
# required by games-action/minecraft-launcher (argument)
>=app-crypt/gcr-3.40.0 gtk
# required by games-util/steam-launcher-1.0.0.71::steam-overlay[steamruntime]
# required by games-util/steam-meta-0-r20160817::steam-overlay
# required by games-util/steam-meta (argument)
>=virtual/opengl-7.0-r2 abi_x86_32
# required by virtual/opengl-7.0-r2::gentoo
# required by games-util/steam-client-meta-0-r20210804::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay
# required by games-util/steam-meta (argument)
>=media-libs/mesa-21.1.7 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=dev-libs/expat-2.4.1 abi_x86_32
# required by sys-devel/llvm-12.0.1::gentoo
# required by media-libs/mesa-21.1.7::gentoo[-video_cards_radeon,-opencl,-video_cards_radeonsi,llvm,gallium,-video_cards_r600]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=sys-libs/zlib-1.2.11-r4 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo[gallium,xvmc]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=x11-libs/libXvMC-1.0.12-r1 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo[wayland]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=dev-libs/wayland-1.19.0 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=x11-libs/libdrm-2.4.107 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo[X]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=x11-libs/libxshmfence-1.3-r2 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo[X]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=x11-libs/libXxf86vm-1.1.4-r2 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo[X]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=x11-libs/libXfixes-6.0.0 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo[zstd]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=app-arch/zstd-1.5.0 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo[-video_cards_radeon,-opencl,-video_cards_radeonsi,llvm,gallium,-video_cards_r600]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=sys-devel/llvm-12.0.1 abi_x86_32
# required by media-libs/mesa-21.1.7::gentoo[X]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=x11-libs/libXrandr-1.5.2 abi_x86_32
# required by dev-libs/wayland-1.19.0::gentoo
# required by media-libs/mesa-21.1.7::gentoo[wayland]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=dev-util/wayland-scanner-1.19.0 abi_x86_32
# required by x11-libs/libXrandr-1.5.2::gentoo
# required by media-libs/mesa-21.1.7::gentoo[X]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=x11-libs/libXrender-0.9.10-r2 abi_x86_32
# required by sys-devel/llvm-12.0.1::gentoo[libffi]
# required by media-libs/mesa-21.1.7::gentoo[-video_cards_radeon,-opencl,-video_cards_radeonsi,llvm,gallium,-video_cards_r600]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=dev-libs/libffi-3.3-r2 abi_x86_32
# required by sys-devel/llvm-12.0.1::gentoo[ncurses]
# required by media-libs/mesa-21.1.7::gentoo[-video_cards_radeon,-opencl,-video_cards_radeonsi,llvm,gallium,-video_cards_r600]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=sys-libs/ncurses-6.2-r1 abi_x86_32
# required by sys-devel/llvm-12.0.1::gentoo[xml]
# required by media-libs/mesa-21.1.7::gentoo[-video_cards_radeon,-opencl,-video_cards_radeonsi,llvm,gallium,-video_cards_r600]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=dev-libs/libxml2-2.9.12-r5 abi_x86_32
# required by dev-libs/libxml2-2.9.12-r5::gentoo[icu]
# required by dev-libs/wayland-1.19.0::gentoo
# required by media-libs/mesa-21.1.7::gentoo[wayland]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=dev-libs/icu-69.1-r1 abi_x86_32
# required by x11-libs/libXvMC-1.0.12-r1::gentoo
# required by media-libs/mesa-21.1.7::gentoo[gallium,xvmc]
# required by games-util/steam-games-meta-0-r20210323::steam-overlay
# required by games-util/steam-meta-0-r20160817::steam-overlay[steamruntime]
# required by games-util/steam-meta (argument)
>=x11-libs/libXv-1.0.11-r2 abi_x86_32
# required by mail-client/thunderbird-78.13.0::gentoo[system-libvpx]
# required by mail-client/thunderbird (argument)
>=media-libs/libvpx-1.10.0 postproc
# required by app-emulation/qemu-6.0.0-r3::gentoo[-static,static-user]
# required by app-emulation/qemu (argument)
>=dev-libs/glib-2.68.3-r1 static-libs
# required by app-emulation/qemu-6.0.0-r3::gentoo[-static,static-user]
# required by app-emulation/qemu (argument)
>=sys-libs/zlib-1.2.11-r4 static-libs
# required by app-emulation/qemu-6.0.0-r3::gentoo[-static,static-user,xattr]
# required by app-emulation/qemu (argument)
>=sys-apps/attr-2.5.1 static-libs
# required by dev-libs/glib-2.68.3-r1::gentoo
# required by app-emulation/qemu-6.0.0-r3::gentoo[-static]
# required by app-emulation/qemu (argument)
>=dev-libs/libpcre-8.45 static-libs
Back to top
View user's profile Send private message
trilithium
n00b
n00b


Joined: 18 Nov 2019
Posts: 43

PostPosted: Wed Sep 29, 2021 7:01 pm    Post subject: Reply with quote

apophysis wrote:
Code:
COMMON_FLAGS="-march=skylake -mtune=skylake -O2 -pipe -fomit-frame-pointer"

Since -march=skylake also enables -mtune=skylake by default and -O2 (or -O1) enables -fomit-frame-pointer you can shorten this to:

Code:
COMMON_FLAGS="-march=skylake -O2 -pipe"
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5236
Location: Bavaria

PostPosted: Wed Sep 29, 2021 9:59 pm    Post subject: Reply with quote

apophysis wrote:
Below is what I currently have on my system76 Gazelle laptop. I'm new to gentoo so if you notice anything I should tweak then please let me know.

If you want you can shorten your Use-flags because some are already set by your plasma-profile. These you have "doubled":
Code:
USE="alsa bluetooth dbus elogind kde policykit pulseaudio qt5 udev udisks X"

For sure do an "emerge --info" before and after you deleted these ;-)
Back to top
View user's profile Send private message
apophysis
n00b
n00b


Joined: 16 Sep 2021
Posts: 8

PostPosted: Thu Sep 30, 2021 2:50 am    Post subject: Reply with quote

trilithium wrote:
apophysis wrote:
Code:
COMMON_FLAGS="-march=skylake -mtune=skylake -O2 -pipe -fomit-frame-pointer"

Since -march=skylake also enables -mtune=skylake by default and -O2 (or -O1) enables -fomit-frame-pointer you can shorten this to:

Code:
COMMON_FLAGS="-march=skylake -O2 -pipe"


pietinger wrote:
apophysis wrote:
Below is what I currently have on my system76 Gazelle laptop. I'm new to gentoo so if you notice anything I should tweak then please let me know.

If you want you can shorten your Use-flags because some are already set by your plasma-profile. These you have "doubled":
Code:
USE="alsa bluetooth dbus elogind kde policykit pulseaudio qt5 udev udisks X"

For sure do an "emerge --info" before and after you deleted these ;-)



thanks, I'll try both of these. learning more about how gentoo and portage work each time I log in
Back to top
View user's profile Send private message
GandalfPotter13
n00b
n00b


Joined: 01 Oct 2021
Posts: 1
Location: 123 Fake st.

PostPosted: Fri Oct 01, 2021 2:42 am    Post subject: Reply with quote

Code:
# 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="-O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

MAKEOPTS="-j8"
USE="pipewire bluetooth jack unicode X -kde -gnome -systemd elogind"
ACCEPT_LICENSE="*"
VIDEO_CARDS="amdgpu"
INPUT_DEVICES="libinput synaptics"

# NOTE: This stage was built with the bindist Use flag enabled
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

GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.utah.edu/"

_________________
Yesterday, I woke up sucking on a lemon.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Fri Oct 01, 2021 3:26 am    Post subject: Reply with quote

GandalfPotter13 wrote:
...

Did this work?
No declared CHOST, no CPU optimization. Probably the most common would be:
Code:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"

_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
xgivolari
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2021
Posts: 102

PostPosted: Wed Oct 20, 2021 10:35 pm    Post subject: Reply with quote

Code:
NTHREADS="8"
source /etc/portage/make.conf.lto
CFLAGS="-march=native ${CFLAGS} -pipe -fcf-protection=full -mshstk -D_FORTIFY_SOURCE=2 -Werror=format-security -fstack-clash-protection -D_GLIBCXX_ASSERTIONS"
CXXFLAGS="${CFLAGS}"
FCFLAGS="${CFLAGS}"
FFLAGS="${CFLAGS}"
LDFLAGS="${CFLAGS} ${LDFLAGS} -Wl,-O2 -Wl,-z,relro,-z,now"
MAKEOPTS="-j8"
CMAKE_MAKEFILE_GENERATOR=ninja
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
LC_MESSAGES=C
ACCEPT_LICENSE="*"
VIDEO_CARDS="intel i965 iris"
RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C embed-bitcode=no -Clinker-plugin-lto"
USE="a52 aac acl acpi alsa amd64 archive blake2 bluetooth boost branding brotli bzip2 cacert cairo cet cjk clang cli crypt cups curl dbus device-mapper dhcpcd dri drm dts egl eglfs elogind emboss encode exif expat ffmpeg flac fluidsynth fontconfig fontforge fortran gbm gcrypt gdbm gegl gif git gles1 gles2 gmp gnutls grub gstreamer gtk gtk2 gtk3 gui iconv icu idn ipv6 iwd jack jemalloc jit jpeg jpeg2k kms ladspa layers lcms ldap libcaca libgig libglvnd libkms libnotify libtirpc llvm-libunwind lm-sensors logrotate lto lv2 lvm lz4 lzma lzo mad metric midi mng modern-top mp3 mp4 mpeg mtp multilib multitarget ncurses networkmanager nfs nftables nls nptl ogg opengl openh264 openmp opus pango pcre pdf pgo pipewire pkcs11 pkcs7 png ppds pulseaudio qt5 rar readline resolvconf samba sasl scanner sctp sdl seccomp session snmp sound split-usr ssl startup-notification svg syslog threads tiff tk truetype udev unicode upower usb user-session v4l vaapi vim-syntax vorbis vpx vulkan wayland webengine webp widgets wifi wxwidgets x264 x265 xattr xcb xfce xml xv xvid zeroconf zip zlib zsh-completion zstd -cdda -dvd -gnome -kde -passwdqc -smartcard -spell -tcl -tcpd -vdpau hardened pie ssp -gpm"
ACCEPT_KEYWORDS="~amd64"
INPUT_DEVICES="libinput"
CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3"
RUBY_TARGETS="ruby30"
L10N="en en-US en-GB de fr"
FEATURES="cgroup parallel-install"
SANE_BACKENDS="net"

For Clang:
Code:
CC="clang"
CXX="clang++"
NTHREADS="8"
source /etc/portage/make.conf.lto
CFLAGS="-O3 -march=native -flto=thin -fcf-protection=full -mshstk -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Werror=format-security -fstack-clash-protection -D_GLIBCXX_ASSERTIONS -fPIC"
CXXFLAGS="${CFLAGS}"
LDFLAGS="${CFLAGS} -Wl,-O2 -Wl,--as-needed -Wl,--lto-O3 -Wl,--thinlto-jobs=8 -Wl,-z,relro,-z,now -pie"
AR="llvm-ar"
NM="llvm-nm"
RANLIB="llvm-ranlib"

My hardening flags are mostly taken from the Fedora wiki. I considered just switching to gentoo-hardened, but -stack-protector-all is a little too much for me. -fcf-protection and -mshstk are for enabling intel control flow enforcement technology. Surprisingly, my rather exotic assortment of compiler flags only breaks three packages: GCC, glibc and libvpx.
Back to top
View user's profile Send private message
spica
Guru
Guru


Joined: 04 Jun 2021
Posts: 331

PostPosted: Wed Oct 20, 2021 11:36 pm    Post subject: Reply with quote

My make.conf
Code:
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

USE="networkmanager pulseaudio vaapi wayland screencast -qt5 -kde -gnome -samba -desktop-portal -semantic-desktop"

MAKEOPTS="-j8"

PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

LC_MESSAGES=C

FEATURES="buildpkg binpkg-multi-instance"

GENTOO_MIRRORS="https://mirror.netcologne.de/gentoo/"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"

VIDEO_CARDS="i965 intel nvidia modesetting"
INPUT_DEVICES="libinput"
MICROCODE_SIGNATURES="-s 0x000906e9"

QEMU_USER_TARGETS="x86_64"
QEMU_SOFTMMU_TARGETS="x86_64"

L10N=""

INSTALL_MASK="/etc/sysctl.d/
             /etc/systemd/
             /lib/systemd/
             -/lib/systemd/systemd-udevd
             /usr/lib/sysctl.d/
             /usr/lib/systemd/"
Back to top
View user's profile Send private message
keremCozin
n00b
n00b


Joined: 18 Sep 2017
Posts: 23

PostPosted: Tue Mar 08, 2022 8:39 pm    Post subject: post your make.conf Reply with quote

Resurrecting this very old thread :lol:

Code:
### Gentoo Linux Rolling Release (multilib) ###
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
ABI_X86="32 64"

### Global Compiler Options (Intel i7-960 "Nehalem") ###
### System Compiler: GCC-11 ###
NTHREADS="8"
COMMON_FLAGS="-march=native -O2 -pipe -falign-functions=32"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
RUSTFLAGS="-C target-cpu=native -C opt-level=3"
MAKEOPTS="-j5 -l4"

### Extra Code Generating Variables ###
PYTHON_TARGETS="python3_9 python3_10"
PYTHON_SINGLE_TARGET="python3_10"
CMAKE_MAKEFILE_GENERATOR=ninja

### Portage Variables ###
ACCEPT_LICENSE="*"
FEATURES="split-elog candy"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --ask --verbose --verbose-conflicts --keep-going --with-bdeps=y"
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
PORT_LOGDIR="/var/log/portage"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_SYSTEM="save"

### Hardware and Localization (using Nvidia's legacy proprietary driver) ###
VIDEO_CARDS="*-"
GRUB_PLATFORMS="pc"
INPUT_DEVICES="libinput"
L10N="en tr"

### Global USE Flags ###
NO_USE="-handbook"
OPTIMIZATIONS="lto pgo"
DESKTOP="ffmpeg gstreamer pipewire screencast xinerama x265"
USE="${NO_USE} ${OPTIMIZATIONS} ${DESKTOP} python xml zstd"

### Bug Reporting ###
LC_MESSAGES=C
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Wed Mar 09, 2022 3:33 am    Post subject: Re: post your make.conf Reply with quote

keremCozin wrote:
Resurrecting this very old thread :lol:
...

How is it working out for you? An accompanying "emerge --info" output would be interesting.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Leonardo.b
Guru
Guru


Joined: 10 Oct 2020
Posts: 308

PostPosted: Wed Mar 09, 2022 3:07 pm    Post subject: Reply with quote

keremCozin, VIDEO_CARDS="*-"? Did you mean "-*"?
Back to top
View user's profile Send private message
keremCozin
n00b
n00b


Joined: 18 Sep 2017
Posts: 23

PostPosted: Sat Mar 12, 2022 10:13 am    Post subject: Reply with quote

Leonardo.b wrote:
keremCozin, VIDEO_CARDS="*-"? Did you mean "-*"?


Quite probably :oops:
It was still working that way though but better to use the correct one. Thanks for the heads up!
Back to top
View user's profile Send private message
keremCozin
n00b
n00b


Joined: 18 Sep 2017
Posts: 23

PostPosted: Sat Mar 12, 2022 10:22 am    Post subject: Re: post your make.conf Reply with quote

figueroa wrote:
keremCozin wrote:
Resurrecting this very old thread :lol:
...

How is it working out for you? An accompanying "emerge --info" output would be interesting.


emerge --info incoming

Code:
Portage 3.0.30 (python 3.10.2-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.1, glibc-2.34-r10, 5.16.13-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.16.13-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7_CPU_960_@_3.20GHz-with-glibc2.34
KiB Mem:    12257820 total,  11241556 free
KiB Swap:   13631484 total,  13631484 free
Timestamp of repository gentoo: Fri, 11 Mar 2022 05:00:01 +0000
Head commit of repository gentoo: 6d8e8c5da284ac65badede25f458c54f4a50e8d8
Timestamp of repository guru: Thu, 10 Mar 2022 14:21:31 +0000
Head commit of repository guru: d42af3d03f4aefc3b04747690710f548943f4843

Timestamp of repository jmbsvicetto: Mon, 28 Feb 2022 12:22:01 +0000
Head commit of repository jmbsvicetto: 20e46f646e5fe7d20aed07bb5afae0429d04b736

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.0-r8::gentoo
dev-lang/python:           2.7.18_p14::gentoo, 3.9.10_p1::gentoo, 3.10.2_p1::gentoo
dev-lang/rust-bin:         1.59.0::gentoo
dev-util/cmake:            3.22.3::gentoo
dev-util/meson:            0.61.1::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo
sys-devel/gcc:             11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

jmbsvicetto
    location: /var/db/repos/jmbsvicetto
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/jmbsvicetto.git
    masters: gentoo

ABI="amd64"
ABI_X86="32 64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gnat_2020"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
APACHE2_MPMS="worker"
ARCH="amd64"
AUTOCLEAN="yes"
BINPKG_COMPRESS="bzip2"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_9 multilib"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -falign-functions=32"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CMAKE_MAKEFILE_GENERATOR="ninja"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COLORFGBG="15;0"
COLORTERM="truecolor"
COMMON_FLAGS="-march=native -O2 -pipe -falign-functions=32"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CXXFLAGS="-march=native -O2 -pipe -falign-functions=32"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-STKliW3vI2,guid=f7dc5e8a9a3676425a2d8122622c7370"
DEFAULT_ABI="amd64"
DESKTOP_SESSION="/usr/share/xsessions/plasma"
DESKTOP_USE="ffmpeg gstreamer pulseaudio xinerama x265 gles2 webp webengine screencast wayland"
DEV_USE="apache2 xml python mariadb sqlite php perl designer"
DISPLAY=":0"
DISTDIR="/var/cache/distfiles"
EDITOR="nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS=" --ask --verbose --verbose-conflicts --keep-going --with-bdeps=y"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-march=native -O2 -pipe -falign-functions=32"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live candy config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-march=native -O2 -pipe -falign-functions=32"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx"
GRUB_PLATFORMS="pc"
GSETTINGS_BACKEND="dconf"
GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/keremcozin/.gtkrc-2.0:/home/keremcozin/.config/gtkrc-2.0"
GTK_MODULES="canberra-gtk-module:appmenu-gtk-module"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/keremcozin/.gtkrc:/home/keremcozin/.config/gtkrc"
HOME="/home/keremcozin"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/11.2.1/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.37_p1/info:/usr/share/info"
INPUT_DEVICES="libinput"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
KDE_APPLICATIONS_AS_SCOPE="1"
KDE_FULL_SESSION="true"
KDE_SESSION_UID="1000"
KDE_SESSION_VERSION="5"
KERNEL="linux"
KONSOLE_DBUS_SERVICE=":1.33"
KONSOLE_DBUS_SESSION="/Sessions/1"
KONSOLE_DBUS_WINDOW="/Windows/1"
KONSOLE_VERSION="211203"
L10N="en tr"
LANG="en_US.utf8"
LANGUAGE=""
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_MESSAGES="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LOGNAME="keremcozin"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
LUA_SINGLE_TARGET="lua5-4"
LUA_TARGETS="lua5-1"
MAIL="/var/mail/keremcozin"
MAKEOPTS="-j8 -l4"
MANPAGER="manpager"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/11.2.1/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.37_p1/man:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/13/share/man"
MOTD_SHOWN="pam"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
NINJAFLAGS="-j8 -l4"
NO_USE="-handbook -mysql -bluetooth"
NTHREADS="8"
OFFICE_IMPLEMENTATION="libreoffice"
OPT_USE="lto pgo"
PAGER="less"
PAM_KWALLET5_LOGIN="/run/user/1000/kwallet5.socket"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin"
PHP_TARGETS="php7-4 php8-0"
PKGDIR="/var/cache/binpkgs"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 m68k mips ppc ppc-macos ppc64 ppc64-linux riscv s390 sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.10"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.10/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.10/site-packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima        security.selinux system.nfs4_acl user.apache_handler    user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
PORT_LOGDIR="/var/log/portage"
POSTGRES_TARGETS="postgres12 postgres13"
PROFILEHOME=""
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/home/keremcozin"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_10"
PYTHON_TARGETS="python3_9 python3_10"
QEMU_SOFTMMU_TARGETS="arm x86_64"
QEMU_USER_TARGETS="x86_64"
QT_AUTO_SCREEN_SCALE_FACTOR="0"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby30"
RUSTFLAGS="-C target-cpu=native -C llvm-args=-x86-branches-within-32B-boundaries -C opt-level=3"
SESSION_MANAGER="local/gentoo:@/tmp/.ICE-unix/2832,unix/gentoo:/tmp/.ICE-unix/2832"
SHELL="/bin/bash"
SHELL_SESSION_ID="799d09aa5eb449e997fbfa22047a849a"
SHLVL="1"
SSH_ASKPASS="/usr/bin/ksshaskpass"
SYMLINK_LIB="no"
SYSROOT="/"
SYS_USE="threads zstd icu system-png system-ffmpeg"
TERM="xterm-256color"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UBUNTU_MENUPROXY="1"
UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock"
USE="X a52 aac acl acpi activities alsa amd64 apache2 branding bzip2 cairo cdda cdr cli crypt cups dbus declarative designer dri dts dvd dvdr elogind encode exif ffmpeg flac fortran gdbm gif gles2 gpm gstreamer gtk gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc lto mad mariadb mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl pgo php plasma png policykit ppds pulseaudio python qml qt5 readline screencast sdl seccomp semantic-desktop spell split-usr sqlite ssl startup-notification svg system-ffmpeg system-png threads tiff truetype udev udisks unicode upower usb vorbis wayland webengine webp widgets wxwidgets x264 x265 xattr xcb xinerama xml xv xvid zlib zstd" ABI_X86="32 64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en tr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_9 python3_10" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
USER="keremcozin"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="bionic Cygwin Darwin glibc mingw musl SunOS Winnt"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="nvidia"
VISUAL="nano"
WINDOWID="12582919"
XAUTHORITY="/home/keremcozin/.Xauthority"
XCURSOR_SIZE="24"
XCURSOR_THEME="breeze_cursors"
XDG_CONFIG_DIRS="/home/keremcozin/.config/kdedefaults:/etc/xdg"
XDG_CURRENT_DESKTOP="KDE"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_RUNTIME_DIR="/run/user/1000"
XDG_SEAT="seat0"
XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"
XDG_SESSION_CLASS="user"
XDG_SESSION_DESKTOP="KDE"
XDG_SESSION_ID="1"
XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session1"
XDG_SESSION_TYPE="x11"
XDG_VTNR="7"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
enable_year2038="no"


Also my last make.conf

Code:
 ### Gentoo Linux Rolling Release (multilib) ###
CHOST="x86_64-pc-linux-gnu"
ACCEPT_KEYWORDS="~amd64"
ABI_X86="32 64"
### Global Compiler Options (Intel i7-960 "Nehalem") ###
### System Compiler: GCC-11 ###
### Per-package Alternative Compiler: Clang-13 ###
NTHREADS="8"
COMMON_FLAGS="-march=native -O2 -pipe -falign-functions=32"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
RUSTFLAGS="-C target-cpu=native -C llvm-args=-x86-branches-within-32B-boundaries -C opt-level=3"
#MAKEOPTS="-j4 -l4"
MAKEOPTS="-j8 -l4"
CMAKE_MAKEFILE_GENERATOR=ninja
NINJAFLAGS="${MAKEOPTS}"
### Development ###
RUBY_TARGETS="ruby30"
PYTHON_TARGETS="python3_9 python3_10"
PYTHON_SINGLE_TARGET="python3_10"
LUA_SINGLE_TARGET="lua5-4"
APACHE2_MPMS="worker"
#NGINX_MODULES_HTTP="fastcgi"
### Portage Variables ###
ACCEPT_LICENSE="*"
FEATURES="split-elog candy"
EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --ask --verbose --verbose-conflicts --keep-going --with-bdeps=y"
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
PORT_LOGDIR="/var/log/portage"
### Hardware and Localization ###
GRUB_PLATFORMS="pc"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="libinput"
L10N="en tr"
### Virtualization ###
QEMU_SOFTMMU_TARGETS="arm x86_64"
QEMU_USER_TARGETS="x86_64"
### Global USE Flags ###
NO_USE="-handbook -mysql -bluetooth"
OPT_USE="lto pgo"
SYS_USE="threads zstd icu system-png system-ffmpeg"
DEV_USE="apache2 xml python mariadb sqlite php perl designer"
DESKTOP_USE="ffmpeg gstreamer pulseaudio xinerama x265 gles2 webp webengine screencast wayland"
USE="${NO_USE} ${OPT_USE} ${SYS_USE} ${DEV_USE} ${DESKTOP_USE}"
### Bug Reporting ###
LC_MESSAGES=C
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_SYSTEM="save"
Back to top
View user's profile Send private message
keremCozin
n00b
n00b


Joined: 18 Sep 2017
Posts: 23

PostPosted: Sat Mar 12, 2022 10:32 am    Post subject: Reply with quote

Is it possible make these posts with dropdown list? So it won't pollute the screen with long text.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20521

PostPosted: Sat Mar 12, 2022 4:17 pm    Post subject: Reply with quote

This version of phpbb does not have that feature. The forum does have a limit on length of post, so that would somewhat mitigate excessively long posts. wgetpaste (app-text/wgetpaste) may be a suitable alternative. Otherwise I would guess that people participating in this thread would expect somewhat long output.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
keremCozin
n00b
n00b


Joined: 18 Sep 2017
Posts: 23

PostPosted: Sun Mar 13, 2022 11:21 am    Post subject: Reply with quote

pjp wrote:
This version of phpbb does not have that feature. The forum does have a limit on length of post, so that would somewhat mitigate excessively long posts. wgetpaste (app-text/wgetpaste) may be a suitable alternative. Otherwise I would guess that people participating in this thread would expect somewhat long output.


Ok thank you, I'll consider it on my next posts.
_________________
Kerem Caner Özin
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1386
Location: Tri-Cities, WA USA

PostPosted: Mon Jul 25, 2022 4:22 pm    Post subject: Reply with quote

vibrokatana wrote:
wow you have alot of video cards in that machine ^^


Thank you!

Note: I cwc posted this by mistake
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Tue Jul 26, 2022 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20521

PostPosted: Mon Jul 25, 2022 6:48 pm    Post subject: Reply with quote

cwc wrote:
vibrokatana wrote:
wow you have alot of video cards in that machine ^^


Thank you!
That post was from 2007... that's quite a delayed response, and even more so as it was referring to a post by a user other than yourself.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
ian.au
l33t
l33t


Joined: 07 Apr 2011
Posts: 606
Location: Australia

PostPosted: Tue Jul 26, 2022 6:04 am    Post subject: Reply with quote

pjp wrote:
cwc wrote:
vibrokatana wrote:
wow you have alot of video cards in that machine ^^


Thank you!
That post was from 2007... that's quite a delayed response, and even more so as it was referring to a post by a user other than yourself.

Even ignoring the bizarre breakpoint for the reply, the post isn't consistent with our user 'cwc', something lurks there imo..
Back to top
View user's profile Send private message
sprmcell
n00b
n00b


Joined: 26 Jul 2022
Posts: 4
Location: /bin/bash

PostPosted: Tue Jul 26, 2022 9:01 am    Post subject: Re: post your make.conf Reply with quote

quite a "normie" make.conf
Code:
# This is made for 64 bit system using EFI
# If you want do edit COMMON_FLAGS refer to the handbook
# Native seems to work the best for most systems

COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# MAKEOPTS tells the system how many cores it uses to compile packages
# If your system has more cores set jobs to a higher number
# jobs (-j) should be core count + 2 for a faster install
# you can edit this file whenever
# USE flags are just there to install as much packages as needed
# Remove flags you dont need
# -packagename means we dont install it, without the - we install it
# ACCEPT_LICENSE tells us what packages to accept
# ACCEPT_KEYWORDS tells us what system we run, prevents bloat
# INPUT_DEVICES is mainly for laptop users
# ABI gives us 32 bit support, if not needed you can remove this

MAKEOPTS="-j8"
USE="X xorg opengl gtk dhcpcd mesa dbus dotenv -acl -wayland"
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"
# INPUT_DEVICES="synaptics libinput"
ABI_X86="32 64"

# Remove what cards you dont have
# If you run of Intel Graphics, refer to the handbook, each Gen has their own code
# Please dont use nouveau, its so bad
# nvidia radeon amdgpu intel nouveau

VIDEO_CARDS="nvidia"

# Only edit these if needed
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
LC_MESSAGES=C

# GRUB PLATFORMS
# If want to use a bootloader that isnt grub, remove this line and refer to the handbook

GRUB_PLATFORMS="efi-64"
# GENTOO MIRRORS, tells the system where to grab packages from
# I removed GENTOO MIRRORS, to add them run the command "mirrorselect -i -o >> /etc/portage/make.conf"
GENTOO_MIRRORS="http://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://ftp.wh2.tu-dresden
    .de/gentoo https://ftp.gwdg.de/pub/linux/gentoo/ http://ftp.gwdg.de/pub/linux/gentoo/ ftp://ftp.gwdg.de/pub/linux/gentoo/ rsync://ftp.gwd
    g.de/gentoo/"


made it a while ago

https://github.com/sprmcell/gentoo
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 170
Location: Spain

PostPosted: Sat Aug 13, 2022 12:10 pm    Post subject: Reply with quote

Code:
#------------------
# Gentoo Linux 2.8
#------------------
# Última edición 13 agosto de 2022

#----------------------------------
# Opciones Globales de compilación
#----------------------------------
# (Ryzen™ 7 Desktop Processors)  #
# Compilador del sistema: GCC-11 # 
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j8 -l16"
CMAKE_MAKEFILE_GENERATOR=ninja
NINJAFLAGS="${MAKEOPTS}"
RUSTFLAGS="-C target-cpu=native"

#------------------------           
# Directorios de Portage
#------------------------
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
PORT_LOGDIR="/var/log/portage"
PORTAGE_TMPDIR="/tmp"

#-----------------------------------           
# Idioma de las aplicaciones y logs
#-----------------------------------
LC_MESSAGES=C
L10N="es es-ES ca ca-ES en en-US"

#--------------------           
# Portage paqueteria
#--------------------
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="-* @FREE"
BINPKG_FORMAT="gpkg"
BINPKG_COMPRESS="zstd"
BINPKG_COMPRESS_FLAGS="-9"
CLEAN_DELAY="-8"
COLLISION_IGNORE=""
CONFIG_PROTECT=""
CONFIG_PROTECT_MASK=""
ABI_X86="32 64"

#----------------------           
# Variables de portage
#----------------------
BINPORT="${FEATURES} buildpkg binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live"
EXPERIMENTALPORT="${FEATURES} fixlafiles protect-owned"
PROTECCIONPORT="${FEATURES} collision-protect ipc-sandbox mount-sandbox network-sandbox pid-sandbox sandbox userfetch"
SIEMPREPORT="${FEATURES} candy cgroup clean-logs config-protect-if-modified fail-clean merge-sync multilib-strict parallel-fetch parallel-install preserve-libs split-elog"
FEATURES="${BINPORT} ${EXPERIMENTALPORT} ${FEATURES} ${PROTECCIONPORT} ${SIEMPREPORT}" 
ALERTA="${EMERGE_DEFAULT_OPTS} --alert"
ALFABETICO="${EMERGE_DEFAULT_OPTS} --alphabetical"
ENTER="${EMERGE_DEFAULT_OPTS} --ask-enter-invalid"
CONFIGURA="${EMERGE_DEFAULT_OPTS} --autounmask-write=y"
BINARIOS="${EMERGE_DEFAULT_OPTS} --buildpkg"
CAMBIOS="${EMERGE_DEFAULT_OPTS} --changed-deps=y"
CAMBIOSUSE="${EMERGE_DEFAULT_OPTS} --changed-use"
GRAFICO="${EMERGE_DEFAULT_OPTS} --complete-graph=y"
LIMPIEZA="${EMERGE_DEFAULT_OPTS} --fail-clean=y"
TRABAJOS="${EMERGE_DEFAULT_OPTS} --jobs=4"
CONTINUA="${EMERGE_DEFAULT_OPTS} --keep-going=y"
LEER="${EMERGE_DEFAULT_OPTS} --load-average=16"
DEPENDE="${EMERGE_DEFAULT_OPTS} --with-bdeps=y"
ACTIVAS="${EMERGE_DEFAULT_OPTS} --autounmask-use=y --binpkg-respect-use=y --color=y --complete-graph-if-new-use=y --complete-graph"
EMERGE_DEFAULT_OPTS="${ACTIVAS} ${ALERTA} ${ALFABETICO} ${BINARIOS} ${CANBIOS} ${CANBIOSUSE} ${CONFIGURA} ${CONTINUA} ${DEPENDE}  \
                                               ${EMERGE_DEFAULT_OPTS} ${GRAFICO} ${ENTER} ${LEER} ${LIMPIEZA} ${TRABAJOS}"
 

#--------------           
# USE Globales
#--------------
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"
ALGORITMOS="${USE} lzo zstd"
DOCUMENTOS="${USE} eps epub odf office pdf pdfimport"
HARDWARE="${USE} bluetooth bluray cryptsetup cups frei0r hwaccel jumbo-build lm-sensors mtp nvenc opencl opengl pipewire pulseaudio \
                   scanner usb v4l vdpau vulkan wayland xwayland"
MULTIMEDIA="${USE} a52 aac ao apng cdda cddb cdr dav1d dts dv dvb dvd exif fdk fftw flac gif gstreamer heif imagemagick jpeg jpeg2k lame \
                      modplug multimedia ogg openh264 png quicktime raw sound svg theora twolame vcd video vlc vorbis vpx wavpack webp x264 x265 xvid"
NOSOPORTE="${USE} -elogind -kde -gnome"
RED="${USE} ipv6 nfs openssl samba sftp ssh"
SOFTWARE="${USE} ffmpeg inkjar java jit lua luajit npm openexr perl rar ruby sdl2 sudo vim-pager webengine"
SOPORTE="${USE} archive encode gui handbook harfbuzz libass logrotate postproc systemd speech tiff truetype utils xcb xml xpm"
USE="${ALGORITMOS} ${DOCUMENTOS} ${HARDWARE} ${MULTIMEDIA} ${NOSOPORTE} ${RED} ${SOFTWARE} ${SOPORTE} ${USE}"

#----------           
# Hardware         
#----------
SANE_BACKENDS="pixma net"
INPUT_DEVICES="keyboard mouse libinput"
VIDEO_CARDS="nvidia"

#----------           
# Software         
#----------
QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64"
QEMU_USER_TARGETS="x86_64 i386 aarch64"
GRUB_PLATFORMS="efi-64 pc"
CALLIGRA_FEATURES="karbon sheets stage words"
LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"

#----------           
# Mirrors         
#----------
GENTOO_MIRRORS="http://mirrors.soeasyto.com/distfiles.gentoo.org/ \
    http://ftp.free.fr/mirrors/ftp.gentoo.org/ \
    http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/"
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 3007
Location: Edge of marsh USA

PostPosted: Sat Aug 13, 2022 3:30 pm    Post subject: Reply with quote

elover
Nicely organized and commented.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
ebray187
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 122
Location: Al otro lado de la pantalla

PostPosted: Sat Aug 13, 2022 6:43 pm    Post subject: Reply with quote

Thanks for sharing @elover. I'm installing a new system so I take the chance to update the format of my make.conf and your post has helped me a lot. I just want to point out two typos in your shared code:
elover wrote:
Code:
CAMBIOS="${EMERGE_DEFAULT_OPTS} --changed-deps=y"
CAMBIOSUSE="${EMERGE_DEFAULT_OPTS} --changed-use"

EMERGE_DEFAULT_OPTS="${ACTIVAS} ${ALERTA} ${ALFABETICO} ${BINARIOS} ${CANBIOS} ${CANBIOSUSE} ${CONFIGURA} ${CONTINUA} ${DEPENDE}  \

Check CANBIOS and CANBIOSUSE.

Regards
_________________
# emerge -C world >> 9/8
A flower?!
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 170
Location: Spain

PostPosted: Wed Aug 17, 2022 5:38 pm    Post subject: Reply with quote

@ebray187 thanks for showing me the error
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3 ... 19, 20, 21, 22  Next
Page 20 of 22

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum