Global USE flags

Flag Description Packages
"( 2
( 2
) 2
)" 2
X 6
clang support for <pkg>llvm-core/clang</pkg> assisted parsing 2
cpu_flags_x86_avx512f 2
cpu_flags_x86_sse2 2
cups 3
custom-cflags Keep -march, -mtune and -mcpu from CFLAGS (unsupported, known to break some components) 3
dbus 2
debug Enable DCHECK feature with severity configurable at runtime. Mostly intended for debugging and development, NOT RECOMMENDED for general use. 14
doc 9
elibc_llvm ELIBC setting for systems that use LLVM's libc 4
gtk4 Build with GTK4 headers. 2
gui Install desktop entries, icons, and GUI launcher 4
hip Build HIP runtime 3
kerberos 2
official Enable Chromium official build optimisations 2
opencl Build an OpenCL backend, so far only works on Adreno and Intel GPUs 4
openmp 3
pax-kernel Allow building on a PaX-enabled kernel 2
proprietary-codecs Enable codecs for patent-encumbered audio and video formats. 3
pulseaudio Add sound server support via media-libs/libpulse (may be PulseAudio or Pipewire, or apulse if installed) 3
python Enable PyGhidra Python 3 integration, interactive interpreter, and stubs 3
qt6 Build and install the qrenderdoc GUI 6
screencast Enable screen capture via PipeWire on Wayland 2
selinux 3
strip 2
system-harfbuzz Use system <pkg>media-libs/harfbuzz</pkg> instead of the bundled library. 3
system-zstd Use the system copy of app-arch/zstd 2
test Perform rocblas-test to compare the result between rocBLAS and system BLAS. 33
tools Build various low-level parsers 2
vaapi Enable hardware video acceleration via VA-API 3
valgrind 4
video_cards_ 2
video_cards_nvidia Build for Nvidia platform 3
vulkan Enable Vulkan graphics support 6
wayland Build the Wayland windowing support needed to capture Wayland clients. Upstream considers this experimental and unsupported; the qrenderdoc GUI itself still runs on the xcb Qt platform unless QT_QPA_PLATFORM says otherwise. 6

Category USE flags

games-emulation

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

sci-libs

Flag Description Packages
benchmark Build benchmark clients 4
roctracer Enable ROCm tracing support 2

sci-misc

Flag Description Packages
blis Build a BLIS backend 2
cuda 2
openblas Build an OpenBLAS backend 2

www-client

Flag Description Packages
pgo Build with Profile Guided Optimizations (2-stage compilation) 2
system-icu Use system <pkg>dev-libs/icu</pkg> instead of the bundled one 2

Local USE flags

app-emulation

d7vk

Flag Description
abi_x86_32
crossdev-mingw
d3d8

app-office

libreoffice

Flag Description
$(printf
${LO_EXTS})
'
'libreoffice_extensions_%s
accessibility
base
bluetooth
branding
coinmp
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
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

bun

Flag Description
system-bootstrap Use an installed dev-lang/bun to run the build scripts instead of the upstream release binary

rust

Flag Description
${ALL_LLVM_TARGETS[*]}
AArch64
AMDGPU
ARC
ARM
AVR
BPF
CSKY
DirectX
Hexagon
Lanai
LoongArch
M68k
MSP430
Mips
NVPTX
PowerPC
RISCV
SPIRV
Sparc
SystemZ
VE
WebAssembly
X86
XCore
Xtensa
big-endian
bpf
clippy Install clippy, Rust code linter
dist Install dist tarballs (used for bootstrapping)
llvm-libunwind
llvm_targets_BPF
llvm_targets_WebAssembly
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)
rustc-dev Install compiler development libraries for rustc_private consumers
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

xrt

Flag Description
npu

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

codex

Flag Description
code-mode Build codex-code-mode-host, which embeds V8. Upstream ships V8 as a library already built against musl rather than as source, so it needs what that was linked against

ghidra

Flag Description
${PYTHON_REQUIRED_USE}
bsim Enable BSim function similarity and duplicate code search engine (requires PostgreSQL support)
debugger Enable dynamic analysis and debugger subsystem (GDB, LLDB, DAP, trace modeling)
eclipse Package Eclipse plugins (GhidraDev, GhidraSleighEditor)
fidb Download and install Function ID signature databases for standard library recognition
ida Install IDA Pro loader and export plugins
jython Install Jython 2.7 legacy scripting extension
lisa Install LiSA (Library for Static Analysis) abstract interpretation engine
machine-learning Install Machine Learning function detection plugin
sarif Enable SARIF (Static Analysis Results Interchange Format) support
server Install GhidraServer multi-user collaboration daemon
z3 Enable SymbolicSummaryZ3 symbolic execution extension using Z3 SMT solver

hip

Flag Description
video_cards_amdgpu Build for AMD platform

llvm-mingw64

Flag Description
arm64-pe Enable the aarch64-w64-mingw32 target
arm64ec-pe Enable the arm64ec-w64-mingw32 target
bin-symlinks Install the cross tools into /usr/bin, where a build system looking for <pkg>sys-devel/gcc</pkg> by its cross name finds them
i686-pe Enable the i686-w64-mingw32 target
x86-64-pe Enable the x86_64-w64-mingw32 target

games-util

heroic

Flag Description
gamescope Install a desktop entry that runs Heroic inside gui-wm/gamescope

llvm-runtimes

libclc

Flag Description
spirv Build SPIRV targets
video_cards_radeonsi

media-fonts

liberation-fonts

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

media-libs

harfbuzz

Flag Description
cairo
experimental Enable experimental APIs
glib Enable <pkg>dev-libs/glib</pkg> unicode functions
graphite Enable <pkg>media-gfx/graphite2</pkg> complementary shaper
icu
introspection
truetype

mesa

Flag Description
d3d9 Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine.
gles1 Enable GLESv1 support.
llvm Enable LLVM backend for Gallium3D.
lm-sensors Enable Gallium HUD lm-sensors support.
opengl
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
zstd

vkBasalt

Flag Description
reshade-shaders Use Reshade Fx shaders

net-im

discord

Flag Description
appindicator Enable tray icon support via dev-libs/libayatana-appindicator
bundled-electron Use the Electron bundled by upstream instead of dev-util/electron
seccomp Enable the seccomp sandbox

sci-libs

rocBLAS

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

rocFFT

Flag Description
perfscripts Install benchmark performance scripts

sci-misc

llama-cpp

Flag Description
curl
xdna Build the external AMD Ryzen AI XDNA1 NPU backend plugin

stable-diffusion-cpp

Flag Description
amx_bf16
amx_int8
amx_tile
avx
avx2
avx512_bf16
avx512_vnni
avx512f
avx512vbmi
avx_vnni
bmi2
f16c
flexiblas Build a FlexiBLAS backend
fma3
sse4_2
webm Support the webm audiovisual media file format
webp

sys-apps

keyutils

Flag Description
static
static-libs

www-client

chromium

Flag Description
bindist
bundled-toolchain Download and use the upstream binary toolchain(s) to build Chromium
cpu_flags_ppc_vsx3
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.
rar Enable the Safe Browsing feature to inspect RAR files.
widevine Unsupported closed-source DRM capability (required by Netflix VOD)

firefox

Flag Description
eme-free Disable EME (DRM plugin) capability at build time
gmp-autoupdate Allow Gecko Media Plugins (binary blobs) to be automatically downloaded and kept up-to-date in user profiles
gnome-shell Integrate with gnome-base/gnome-shell search
hardened
hwaccel Force-enable hardware-accelerated rendering (Mozilla bug 594876)
jack
jpegxl Add JPEG XL / jxl image support
jumbo-build Enable unified build - combines source files to speed up build process, but requires more memory
libproxy Enable libproxy support
openh264 Use <pkg>media-libs/openh264</pkg> for H264 support instead of downloading binary blob from Mozilla at runtime
sndio Enable support for the <pkg>media-sound/sndio</pkg> backend
system-av1 Use the system-wide <pkg>media-libs/dav1d</pkg> and <pkg>media-libs/libaom</pkg> library instead of bundled
system-jpeg Use the system-wide <pkg>media-libs/libjpeg-turbo</pkg> instead of bundled
system-libevent Use the system-wide <pkg>dev-libs/libevent</pkg> instead of bundled
system-libvpx Use the system-wide <pkg>media-libs/libvpx</pkg> instead of bundled
system-pipewire Use system <pkg>media-video/pipewire</pkg> for WebRTC and screencast instead of bundled one
system-png Use the system-wide <pkg>media-libs/libpng</pkg> instead of bundled (requires APNG patches)
system-webp Use the system-wide <pkg>media-libs/libwebp</pkg> instead of bundled
telemetry
wasm-sandbox Sandbox certain third-party libraries through WebAssembly using RLBox
wifi Enable necko-wifi for NetworkManager integration, and access point MAC address scanning for better precision with opt-in geolocation services

x11-libs

libdrm

Flag Description
udev