Global USE flags

Flag Description Packages
"( 2
( 2
) 2
)" 2
X 3
bluetooth 2
cpu_flags_x86_sse2 2
cuda Enable NVIDIA CUDA support 3
cups 2
d3d9 Enable support for DirectX 9 (d3d9.dll) 2
debug Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. 10
doc 7
gtk4 Build with GTK4 headers. 2
gui 2
hip Build HIP runtime 2
llvm Enables LLVM support, for disassembly 2
opencl Build OpenCL runtime 3
opengl 2
openmp 2
proprietary-codecs Enable codecs for patent-encumbered audio and video formats. 2
pulseaudio 2
qt6 5
test Perform rocblas-test to compare the result between rocBLAS and system BLAS. 23
tools Build various low-level parsers 2
vaapi 2
valgrind 3
video_cards_ 2
video_cards_amdgpu Build for AMD platform 2
video_cards_nvidia Build for Nvidia platform 2
vulkan Enable Vulkan graphics support 6
wayland Enable support for <pkg>dev-libs/wayland</pkg> 2
zstd 2

Category USE flags

app-emulation

Flag Description Packages
abi_x86_32 2
crossdev-mingw Use <pkg>sys-devel/crossdev</pkg> for the toolchain rather than <pkg>dev-util/mingw64-toolchain</pkg> (requires manual setting up and is mostly unsupported, try disabling if have issues) 2
strip 2

dev-libs

Flag Description Packages
python 2

games-emulation

Flag Description Packages
compatibility-list Downloads the latest compatibility list 3
cubeb Enable cubeb audio support 4
discord Enables Discord Rich Presence 4
qt5 2
sdl 5
system-vulkan Use system dev-util/vulkan-headers 3
webengine Use QtWebEngine for web applet implementation 3
webservice Enable web services (telemetry, etc.) 3

Local USE flags

app-emulation

dxvk

Flag Description
d3d10 Enable support for DirectX 10 (d3d10.dll)
d3d11 Enable support for DirectX 11 (d3d11.dll)
d3d8 Enable support for DirectX 8 (d3d8.dll)
dxgi Enable support for the DirectX Graphics Infrastructure (dxgi.dll)

vkd3d-proton

Flag Description
extras Install extra tools and demos in /usr/lib/vkd3d-proton

app-office

libreoffice

Flag Description
$(printf
${LO_EXTS})
'
'libreoffice_extensions_%s
accessibility
base
branding
coinmp
custom-cflags
dbus
eds
googledrive
gstreamer
gtk3
java
kde
ldap
mariadb
odk
pdfimport
postgres

libreoffice-l10n

Flag Description
l10n_
offlinehelp Install help files locally instead of using the LibreOffice Wiki

app-text

doxygen

Flag Description
clang support for <pkg>llvm-core/clang</pkg> assisted parsing
dot allow to create dot graphs using <pkg>media-gfx/graphviz</pkg>
doxysearch build doxyindexer and doxysearch.cgi

dev-cpp

cpp-jwt

Flag Description
examples

dev-lang

rust

Flag Description
"${ALL_LLVM_TARGETS[@]/llvm_targets_/llvm_targets_}"
"${ALL_RUST_SYSROOTS[@]/rust_sysroots_/rust_sysroots_}"
big-endian
clippy Install clippy, Rust code linter
dist Install dist tarballs (used for bootstrapping)
llvm-libunwind
lto
miri Install miri, an interpreter for Rust's mid-level intermediate representation (requires USE=nightly, sometimes is broken)
mrustc-bootstrap Use <pkg>dev-lang/mrustc</pkg> to build the bootstrap Rust sysroot from this package's source
nightly Enable nightly (UNSTABLE) features (NOTE: it does not install nightly version, just enables features marked as nightly at time of release)
parallel-compiler Build a multi-threaded rustc (experimental, not tested by upstream)
rust-analyzer Install rust-analyzer, A Rust compiler front-end for IDEs (language server)
rust-src Install rust-src, needed by developer tools and for build-std (cross)
rustfmt Install rustfmt, Rust code formatter
system-llvm Use the system LLVM installation
wasm Build support for the wasm32-unknown-unknown target

dev-libs

liborcus

Flag Description
spreadsheet-model Enable the spreadsheet model implementation

dev-qt

qttools

Flag Description
assistant Build Qt Assistant and the QtHelp module
designer Build Qt Designer
distancefieldgenerator Build Qt Distance Field Generator
gles2-only
kmap2qmap Build tool to generate keymaps for use on Embedded Linux
linguist Build Qt Linguist tools (GUI requires USE=widgets and USE=qml)
pixeltool Build Qt Pixeltool
qdbus Build the Qt D-Bus Interface (D-Bus Viewer requires USE=widgets)
qdoc Build Qt Documentation Generator
qml Build QML/QtQuick bindings and imports
qmlls Build the QtHelp plugin for the QML language server
qtattributionsscanner Build Qt Source Code Attribution Scanner
qtdiag Build Qt Diag
qtplugininfo Build Qt Plugin Info
widgets Enable QtWidgets support

dev-util

Tensile

Flag Description
client Build and install tensile_client executable to run benchmarks and tune GPU GEMM

claude-code

Flag Description
cpu_flags_x86_avx
cpu_flags_x86_avx2

games-emulation

dolphin

Flag Description
alsa
discord-presence Enables Discord Rich Presence, show the current game on Discord
egl
evdev Enable evdev input support
ffmpeg
log Increase logging output
mgba Enables GBA controllers emulation using libmgba.
profile
systemd
telemetry
upnp

llvm-runtimes

libclc

Flag Description
spirv Build SPIRV targets
video_cards_r600
video_cards_radeonsi

media-fonts

liberation-fonts

Flag Description
fontforge Use <pkg>media-gfx/fontforge</pkg> to build fonts from source

media-libs

mesa

Flag Description
gles1 Enable GLESv1 support.
lm-sensors Enable Gallium HUD lm-sensors support.
osmesa Build the Mesa library for off-screen rendering.
sysprof
unwind
vdpau Enable the VDPAU acceleration interface for the Gallium3D Video Layer.
video_cards_nouveau
vulkan-overlay Build vulkan-overlay-layer which displays Frames Per Second and other statistics
xa Enable the XA (X Acceleration) API for Gallium3D.
zink Enable the Zink OpenGL-over-Vulkan Gallium driver

vkBasalt

Flag Description
reshade-shaders Use Reshade Fx shaders

sci-libs

rocBLAS

Flag Description
benchmark Build and install rocblas-bench.
hipblaslt Build with hipBLASLt for some non-batched and strided batched problems on gfx12.

sci-misc

llama-cpp

Flag Description
blis Build a BLIS backend
curl
openblas Build an OpenBLAS backend

sci-ml

ollama

Flag Description
avx
avx2
avx512_vnni
avx512f
avx512vbmi
avx_vnni
blas
bmi2
f16c
fma3
mkl Use <pkg>sci-libs/mkl</pkg> for blas, lapack and sparse blas routines
rocm Enable ROCm gpu computing support
sse4_2
unroll

www-client

chromium

Flag Description
bindist
bundled-toolchain Download and use the upstream binary toolchain(s) to build Chromium
cpu_flags_ppc_vsx3
cpu_flags_x86_avx512f
ffmpeg-chromium (binpkg only) Use Chromium FFmpeg fork (<pkg>media-video/ffmpeg-chromium</pkg>) rather than mainline FFmpeg (<pkg>media-video/ffmpeg</pkg>)
hangouts Enable support for Google Hangouts features such as screen sharing
headless Build Ozone only with headless backend, NOT RECOMMENDED for general use.
kerberos
official Enable Official build instead of Developer build.
pax-kernel Allow building on a PaX-enabled kernel
pgo Build with Profile Guided Optimizations (2-stage compilation)
rar Enable the Safe Browsing feature to inspect RAR files.
screencast
selinux
system-harfbuzz Use system <pkg>media-libs/harfbuzz</pkg> instead of the bundled library.
system-icu Use system <pkg>dev-libs/icu</pkg> instead of the bundled one
system-zstd Use system <pkg>app-arch/zstd</pkg> instead of the bundled one.
widevine Unsupported closed-source DRM capability (required by Netflix VOD)

x11-libs

libdrm

Flag Description
udev