Skip to content

Instantly share code, notes, and snippets.

View jaypeche's full-sized avatar
:octocat:
Gentoo nightly build

jay jaypeche

:octocat:
Gentoo nightly build
View GitHub Profile
This file has been truncated, but you can view the full file.
 * Package: sci-ml/ollama-0.14.2:0
 * Repository: guru
 * Maintainer: [email protected]
 * USE: abi_x86_64 amd64 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx_vnni cpu_flags_x86_bmi2 cpu_flags_x86_f16c cpu_flags_x86_fma3 cpu_flags_x86_sse4_2 cuda elibc_glibc kernel_linux mkl vulkan
 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking 'ollama-0.14.2.gh.tar.gz' to /var/tmp/notmpfs/portage/sci-ml/ollama-0.14.2/work
>>> Unpacking 'ollama-0.14.2-deps.tar.xz' to /var/tmp/notmpfs/portage/sci-ml/ollama-0.14.2/work
go mod verify
all modules verified
[107/522] /opt/cuda/bin/nvcc -forward-unknown-to-host-compiler -ccbin=/usr/x86_64-pc-linux-gnu/gcc-bin/14 -DGGML_BACKEND_BUILD -DGGML_BACKEND_DL -DGGML_BACKEND_SHARED -DGGML_COMMIT=0x0 -DGGML_CUDA_PEER_MAX_BATCH_SIZE=128 -DGGML_CUDA_USE_GRAPHS -DGGML_SHARED -DGGML_VERSION=0x0 -DNDEBUG -Dggml_cuda_EXPORTS -I/var/tmp/notmpfs/portage/sci-ml/ollama-0.14.2/work/ollama-0.14.2/ml/backend/ggml/ggml/src -I/var/tmp/notmpfs/portage/sci-ml/ollama-0.14.2/work/ollama-0.14.2/ml/backend/ggml/ggml/src/include -I/var/tmp/notmpfs/portage/sci-ml/ollama-0.14.2/work/ollama-0.14.2/ml/backend/ggml/ggml/src/ggml-cpu -I/var/tmp/notmpfs/portage/sci-ml/ollama-0.14.2/work/ollama-0.14.2/ml/backend/ggml/ggml/src/ggml-cpu/amx -I/var/tmp/notmpfs/portage/sci-ml/ollama-0.14.2/work/ollama-0.14.2/ml/backend/ggml/ggml/src/ggml-cuda/.. -I/var/tmp/notmpfs/portage/sci-ml/ollama-0.14.2/work/ollama-0.14.2/ml/backend/ggml/ggml/src/../include -isystem /opt/cuda/targets/x86_64-linux/include -O2 -g -DNDEBUG -std=c++17 -arch=all -Xcompiler=-fPIC -use_fast_
Portage 3.0.72 (python 3.13.11-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.41-r6, 6.12.41-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.12.41-gentoo-x86_64-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-13650HX-with-glibc2.41
KiB Mem: 32477088 total, 5472796 free
KiB Swap: 8191996 total, 8190204 free
Timestamp of repository gentoo: Tue, 27 Jan 2026 20:15:00 +0000
Head commit of repository gentoo: 85b789a479eceabfae82bbfbe1b0846cadb9595a
Timestamp of repository guru: Tue, 27 Jan 2026 12:30:52 +0000
Head commit of repository guru: e819a9ec86215dc9274f3889006efe3bb2024dc5
# [Gentoo mini Howto] Installation optimisée pour le rendu GPU/CPU avec des LLMs locaux Ollama
## Introduction :
Gentoo Linux est un système d'exploitation GNU/Linux hautement configurable et personnalisable qui permet d'optimiser efficacement le rendu GLU/CPU de votre système d’exploitation. L'optimisation automatisée de la compilation est un aspect clé de Gentoo, qui permet de rendre votre système plus rapide, plus stable et plus efficace.
En d'autres termes, cet article vous guidera pas à pas dans les différentes étapes de configuration, afin d'obtenir une compilation optimisée permettant de réduire considérablement le temps de traitement de vos modèles locaux Lama.
## Pré-requis :
@jaypeche
jaypeche / gist:08108df8c8b0236e351e24c6412066ef
Created November 2, 2025 20:07
ollama-bin-0.12.9 gentoo compile
These are the packages that would be merged, in order:
Calculating dependencies
* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
... done!
Dependency resolution took 3.51 s (backtrack: 0/20).
# ClamAV
<p align="center">
<img width="250" height="250" src="https://raw.githubusercontent.com/Cisco-Talos/clamav/main/logo.png" alt='Maeve, the ClamAV mascot'>
</p>
<p align="center">
ClamAV® is an open source antivirus engine for detecting trojans, viruses,
malware & other malicious threats.
</p>
Portage 3.0.68 (python 3.13.5-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.41-r5, 6.12.41-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.12.41-gentoo-x86_64-x86_64-13th_Gen_Intel-R-_Core-TM-_i7-13650HX-with-glibc2.41
KiB Mem: 15335976 total, 13099300 free
KiB Swap: 8388604 total, 8388604 free
Timestamp of repository gentoo: Sat, 20 Sep 2025 14:15:00 +0000
Head commit of repository gentoo: 1938018feb417fa2e4e4c0c8d7b7e7535d06882e
Head commit of repository pingwho-overlay: 71c1dbe7881ac9b13a4ed40768ddbcfad84ef393
sh bash 5.2_p37-r4
strix-vm /home/jay # /etc/init.d/tensorzero start
[+] Running 2/2
✘ Container tensorzero-clickhouse-1 Error 2.8s
✘ Container tensorzero-gateway-1 Error 2.8s
dependency failed to start: container tensorzero-gateway-1 exited (1)
* ERROR: tensorzero failed to start
gnome-session-binary[4053]: WARNING: Could not check if unit [email protected] is active: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
gnome-session-binary[4053]: DEBUG(+): Could not make systemd aware of QT_IM_MODULE=ibus environment variable: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[4053]: DEBUG(+): Could not make systemd aware of XMODIFIERS=@im=ibus environment variable: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[4053]: DEBUG(+): Could not make systemd aware of XDG_MENU_PREFIX=gnome- environment variable: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
gnome-session-binary[4053]: DEBUG(+): Could not make systemd aware of GNOME_SETUP_DISPLAY=:1025 environment variable: GDBus.Error:org.freede
@jaypeche
jaypeche / greeter.log
Created September 7, 2025 20:42
/var/log/gdm/greeter.log
gnome-session-binary[3503]: WARNING: Could not check if unit [email protected] is active: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
libmutter-Message: 22:42:19.926: Running GNOME Shell (using mutter 47.8.1) as a Wayland display server
(gnome-shell:3513): libmutter-WARNING **: 22:42:19.944: Failed to make thread 'KMS thread' high priority scheduled: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.RealtimeKit1" does not exist
(gnome-shell:3513): libmutter-WARNING **: 22:42:19.944: Failed to make thread 'KMS thread' high priority scheduled: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.RealtimeKit1" does not exist
libmutter-Message: 22:42:19.944: Thread 'KMS thread' will be using high priority scheduling
VMware: No 3D enabled (0, Succès).
libmutter-Message: 22:42:19.958: Added device '/dev/dri/card0' (vmwgfx) using atomic mode setting.
libmutte