| Flag | Description | Packages |
|---|---|---|
| "${IUSE_TARGETS[@]/amdgpu_targets_/amdgpu_targets_}" | 2 | |
| "( | 4 | |
| ( | 8 | |
| ) | 6 | |
| )" | 4 | |
| X | Build the XCB platform plugin and enable X11 integration | 8 |
| audio | Pull <pkg>sci-ml/torchaudio</pkg> for the audio nodes (audio encoders, audio VAE). torchaudio must match your installed <pkg>sci-ml/pytorch</pkg> — it currently lags the 2.12 stack, so this may not resolve yet | 2 |
| avahi | Build with <pkg>net-dns/avahi</pkg>:3 | 2 |
| avif | 2 | |
| cli | Install the optional MCP CLI (pulls dev-python/typer + python-dotenv) | 3 |
| cpu_flags_x86_avx | 2 | |
| cpu_flags_x86_sse2 | 2 | |
| cuda | Enable NVIDIA Cuda computations support (Experimental!) | 18 |
| cudnn | Enable support for nVidia cuDNN library | 2 |
| cups | 3 | |
| cusparselt | Enable support for nVidia cuSPARSELt library | 2 |
| dbus | Build bindings for the QtDBus module | 5 |
| debug | Enables debug messages | 16 |
| designer | Build QtDesigner and QtUiTools modules | 3 |
| doc | Install doxygen documentation | 39 |
| examples | Pull in <pkg>dev-python/jupyter</pkg> to run the bundled starter notebooks | 16 |
| extra | Add support for extra TeXLive packages | 2 |
| ffmpeg | Enable audio transcoding via media-video/ffmpeg (allows non-WAV input) | 3 |
| gfx1100 | 2 | |
| gfx1101 | 2 | |
| gfx1103 | 2 | |
| gfx1150 | 2 | |
| gfx1151 | 2 | |
| gfx1200 | 2 | |
| gfx1201 | 2 | |
| gfx908 | 2 | |
| gfx90a | 2 | |
| gfx942 | 3 | |
| gfx950 | 3 | |
| gles2-only | Build QtGui "QOpenGL*" classes | 8 |
| gphoto2 | 2 | |
| gpu | Enable support for CUDA with <pkg>dev-util/nvidia-cuda-toolkit</pkg> | 2 |
| gstreamer | Enable <pkg>media-libs/gstreamer</pkg> support | 3 |
| gtk | Build the GTK platform theme plugin | 4 |
| gtk3 | Enable <pkg>x11-libs/gtk+</pkg>:3 support | 12 |
| gui | Build QtGui module | 9 |
| hdf5 | Support the standard representation (HDF5) | 4 |
| hip | Build a HIP (ROCm) backend | 2 |
| image | Pull in media-libs/opencv for image-tokenization support (mistral_common[image] extra) | 3 |
| introspection | Generate GObject Introspection .gir/.typelib files so Gwyddion's libraries can be consumed from bindings (Python, JavaScript, Vala). Required for USE=python. | 2 |
| java | Build the Java bindings | 4 |
| jpeg | 3 | |
| jpeg2k | 3 | |
| jpegxl | Enable JPEG XL image format support via <pkg>media-libs/libjxl</pkg> | 2 |
| json | Enable the JSON API of Fossil's wiki | 2 |
| keyring | 2 | |
| l10n_ | 3 | |
| lapack | 2 | |
| libnotify | Enable desktop notifications support | 2 |
| luajittex | Add support for LuaJitTeX: LuaTeX based on LuaJIT which is usually faster. | 2 |
| mcp | Install the Model Context Protocol server (<pkg>dev-python/mcp</pkg>) | 2 |
| mkl | Use <pkg>sci-libs/mkl</pkg> for blas, lapack and sparse blas routines | 2 |
| nls | 3 | |
| numa | Enable NUMA support using <pkg>sys-process/numactl</pkg> (NUMA kernel support is also required) | 2 |
| numpy | Build with support for <pkg>dev-python/numpy</pkg> | 5 |
| ocamlopt | 5 | |
| openblas | Build an OpenBLAS backend | 3 |
| opencl | Build vendored OpenCL runtime | 11 |
| openexr | 4 | |
| opengl | Build bindings for the QtOpenGL module | 7 |
| openmp | Use OpenMP for parallel code | 9 |
| openrc | Install OpenRC init.d/conf.d files for a supervise-daemon-managed service | 6 |
| openssl | Use <pkg>dev-libs/openssl</pkg> as TLS backend | 2 |
| png | 4 | |
| profiler | Install the NVIDIA CUDA profiler (nvprof) and the related libraries | 2 |
| python | Build SWIG bindings for Python | 10 |
| qml | Build QtQml module | 5 |
| qt5 | Build against Qt5 (matches upstream sources). | 4 |
| qt6 | Build against Qt6 via a local port patch. | 6 |
| rocm | Build for AMD ROCm inference (VLLM_TARGET_DEVICE=rocm); pull HIP libs + torch{audio,vision} | 8 |
| roctracer | Enable roctracer (roctx) marker | 5 |
| sdl | Enable video output of dec265 via <pkg>media-libs/libsdl2</pkg> | 3 |
| source | 4 | |
| spell | 2 | |
| ssl | 4 | |
| static-libs | 7 | |
| systemd | Install a systemd service unit (qdrant.service) | 6 |
| test | Build and run unit tests | 72 |
| tiff | Enable TIFF image support via <pkg>dev-python/tifffile</pkg> | 5 |
| tk | 2 | |
| tools | Build PySide Tools | 3 |
| udev | 2 | |
| ui | Build and embed the Svelte web UI (pulls <pkg>net-libs/nodejs</pkg>; runs npm at build time, requires network access during compile). | 2 |
| vulkan | Enable Vulkan GPU backend | 10 |
| wayland | Provide <pkg>dev-qt/qtwayland</pkg> to ensure Qt applications can be run as Wayland clients | 4 |
| webp | Enable WebP image export via <pkg>media-libs/libwebp</pkg> | 6 |
| webui | Build the embedded llama-server web UI. Fetches prebuilt assets from the upstream Hugging Face bucket at configure time; disable for a server binary with only the HTTP API. | 2 |
| widgets | Build bindings for the QtWidgets module | 7 |
| xml | Build QtXml module | 5 |
| Flag | Description | Packages |
|---|---|---|
| bash-completion | Install the bash-completion script for the <pkg>app-shells/bash-completion</pkg> framework. | 2 |
| zsh-completion | Install the zsh completion function (_portconf) into <pkg>app-shells/zsh</pkg>'s site-functions directory. | 2 |
| Flag | Description | Packages |
|---|---|---|
| xetex | Add support for XeTeX macros (<pkg>dev-texlive/texlive-xetex</pkg>) | 2 |
| Flag | Description | Packages |
|---|---|---|
| bluetooth | Build QtBluetooth module | 2 |
| help | Build QtHelp module | 2 |
| multimedia | Build bindings for the QtMultimedia module | 3 |
| network | Build bindings for the QtNetwork module | 3 |
| nfc | Build QtNfc module | 2 |
| pdfium | Build QtPdf module | 2 |
| positioning | Build QtPositioning module | 2 |
| printsupport | Build bindings for the QtPrintSupport module | 3 |
| pyqt6 | To install required libraries for pyqt6 support | 3 |
| pyside | To install required libraries for pyside support | 2 |
| python_targets_python2_7 | Enable Python-compatible libs (python2_7 only) | 8 |
| quick | Build QtQuick and QtQuickWidgets modules | 2 |
| quick3d | Build QtQuick3D and QtQuickWidgets modules | 2 |
| remoteobjects | Pull in bindings for the QtRemoteObjects module | 2 |
| scxml | Pull in bindings for the QtScXml module | 2 |
| sensors | Build QtSensors module | 2 |
| serialport | Pull in bindings for the QtSerialPort module | 2 |
| spatialaudio | Pull in bindings for the QtSpatialAudio module | 2 |
| speech | Build QtTextToSpeech module | 2 |
| speed | To install optional libraries that speed up some functionalities | 2 |
| sql | Build QtSql module | 3 |
| svg | Build bindings for the QtSvg module | 3 |
| testlib | Build bindings for the QtTest module | 3 |
| webchannel | Build QtWebChannel module | 2 |
| webengine | Build QtWebEngine and QtWebEngineWidgets modules | 2 |
| websockets | Build QtWebSockets module | 2 |
| wx | To install required libraries for wx support | 2 |
| Flag | Description | Packages |
|---|---|---|
| heif | Enable HEIF/HEIC image support via <pkg>media-libs/libheif</pkg> | 2 |
| Flag | Description | Packages |
|---|---|---|
| cpu_flags_arm_neon | 2 | |
| xine | 2 |
| Flag | Description | Packages |
|---|---|---|
| gtk2 | Build the GTK2 variant of the plugin | 10 |
| Flag | Description | Packages |
|---|---|---|
| benchmark | Build and install benchmark binaries | 11 |
| fortran | 2 | |
| hipblaslt | Use <pkg>sci-libs/hipBLASLt</pkg> for some non-batched and strided batched problems | 2 |
| sparse | Build hipSOLVER with sparse functionality (<pkg>sci-libs/cholmod</pkg>) | 2 |
| Flag | Description | Packages |
|---|---|---|
| avx | 2 | |
| avx2 | 2 | |
| avx512f | 2 | |
| avx512vbmi | 2 | |
| blis | Build a BLIS backend | 2 |
| bmi2 | 2 | |
| f16c | 2 | |
| flexiblas | Build a FlexiBLAS backend | 2 |
| fma3 | 2 | |
| sse4_2 | 2 | |
| wmma | Use rocWMMA to enhance flash attention performance | 2 |
| Flag | Description | Packages |
|---|---|---|
| api | Install FastAPI / uvicorn HTTP-server bindings (gaia.api) | 2 |
| torch | Enable PyTorch integration (safetensors model loading) | 2 |
| Flag | Description | Packages |
|---|---|---|
| bzip2 | 2 | |
| fits | Enable FITS image import via <pkg>sci-libs/cfitsio</pkg> | 2 |
| sourceview | Enable support for <pkg>x11-libs/gtksourceview</pkg> | 2 |
| Flag | Description |
|---|---|
| blas | Enable OpenBLAS-accelerated matrix operations via the BLAS backend |
| sdl2 | Build and install example applications that use media-libs/libsdl2 |
| Flag | Description |
|---|---|
| archive | Enable support for CBR and other archive formats using libarchive |
| barcode | Enable support for barcode detection/generation for mutool using zxingcpp |
| brotli | |
| javascript |
| Flag | Description |
|---|---|
| ${IUSE} | |
| context | Add support for the ConTeXt format (<pkg>dev-texlive/texlive-context</pkg>) |
| games | Add typesetting support for games (chess, etc.) (<pkg>dev-texlive/texlive-games</pkg>) |
| graphics | Add support for several graphics packages (pgf, tikz,...) |
| humanities | Add LaTeX support for the humanities (<pkg>dev-texlive/texlive-humanities</pkg>) |
| l10n_${X} | |
| luatex | Install TeX Live packages that require luatex |
| metapost | Add support for metapost: A tool for creating graphics in scalable PostScript |
| music | Add support for music typesetting (<pkg>dev-texlive/texlive-music</pkg>) |
| pdfannotextractor | Add <pkg>dev-tex/pdfannotextractor</pkg> support, for extracting annotations from PDF files |
| pstricks | Add pstricks packages (<pkg>dev-texlive/texlive-pstricks</pkg>) |
| publishers | Add support for publishers (<pkg>dev-texlive/texlive-publishers</pkg>) |
| science | Add typesetting support for natural and computer sciences (<pkg>dev-texlive/texlive-mathscience</pkg>) |
| tex4ht | Add support for <pkg>dev-tex/tex4ht</pkg> (for converting (La)TeX to (X)HTML, XML and OO.org) |
| texi2html | Add support for <pkg>app-text/texi2html</pkg> which converts texi files to HTML |
| Flag | Description |
|---|---|
| cjk | |
| xindy | Add support for Xindy: A general-purpose index processor. |
| Flag | Description |
|---|---|
| vicious | Require vicious plugin |
| Flag | Description |
|---|---|
| expat | Use dev-libs/expat instead of dev-libs/libxml2 to parse XML |
| gnutls |
| Flag | Description |
|---|---|
| iconv |
| Flag | Description |
|---|---|
| compress-xz | Compress firmware using xz (<pkg>app-arch/xz-utils</pkg>) before installation |
| compress-zstd | Compress firmware using zstd (<pkg>app-arch/zstd</pkg>) before installation |
| Flag | Description |
|---|---|
| hyperspy | Enable the HyperSpy converter (<pkg>dev-python/hyperspy</pkg>) |
| nsid | Enable the pyNSID reader backend (<pkg>dev-python/pyNSID</pkg>) |
| Flag | Description |
|---|---|
| matplotlib | Enable matplotlib-based plotting helpers |
| phonopy-reader | Enable reading of phonopy HDF5/YAML output |
| Flag | Description |
|---|---|
| gui-jupyter | To install required libraries to use the Jupyter widgets GUI elements |
| gui-traitsui | To install required libraries to use the GUI elements based on traitsui |
| learning | To install required libraries for some machine learning features |
| mrcz | To install the mrcz plugin |
| Flag | Description |
|---|---|
| i18n | Enable internationalization support via <pkg>dev-python/babel</pkg> |
| Flag | Description |
|---|---|
| dashboard | Pull in dev-python/flask for the optional dashboard webapp under mpire/dashboard/ |
| dill | Pull in dev-python/multiprocess so the dill-based fork backend in mpire/context.py is usable |
| Flag | Description |
|---|---|
| threads |
| Flag | Description |
|---|---|
| libffi |
| Flag | Description |
|---|---|
| advanced | Enable advanced numerical backends (llvmlite, numba, pyfftw, pywavelets) for faster/large-scale operators |
| Flag | Description |
|---|---|
| declarative | Build bindings for the QtQml and QtQuick modules and enable the qmlscene plugin |
| x11extras | Build bindings for the QtX11Extras module |
| Flag | Description |
|---|---|
| ${!QT_MODULES[*]} | |
| 3d | Build Qt3DCore, Qt3DAnimation, Qt3DExtras, Qt3DInput, Qt3DLogic, and Qt3DRender modules |
| charts | Build QtCharts module |
| concurrent | Build QtConcurrent module |
| core | Build QtCore module, if disable then only shiboken will be built |
| datavis | Build QtDataVisualization module (deprecated upstream as of Qt 6.6 in favour of QtGraphs; resurrected for sci-physics/sasview) |
| graphs | Build QtGraphs and QtGraphsWidgets modules (the modern successor to QtDataVisualization) |
| httpserver | Build QtHttpServer module |
| location | Build QtLocation module |
| network-auth | Build QtNetworkAuth module |
| serialbus | Build QtSerialBus modules |
| uitools | Build UITools module |
| webview | Build QtWebView module |
| Flag | Description |
|---|---|
| pyqt5 | Use <pkg>dev-python/pyqt5</pkg> as a Qt for Python implementation. Required for sci-physics/mantid and other Qt5-only consumers; disabled by default in ::gentoo (Qt5 deprecation policy). Set QT_API=pyqt5 at runtime to select it explicitly. |
| pyside6 | Use <pkg>dev-python/pyside</pkg> as Qt for Python implementation |
| Flag | Description |
|---|---|
| zspy | Enable ZSpy (Zarr v2-based) reader/writer |
| Flag | Description |
|---|---|
| h5pyd | Pull in dev-python/h5pyd so silx.io.h5py_utils can browse remote HSDS-served HDF5 datasets |
| Flag | Description |
|---|---|
| demo | To install all requirements demo |
| Flag | Description |
|---|---|
| cpu | Build for CPU inference (VLLM_TARGET_DEVICE=cpu); pull torchaudio + numba |
| humming | Pull dev-python/humming-kernels for the optional CUDA-only "humming" MXFP4 quantization backend (needs USE=cuda) |
| rust | Build the optional vllm-rs Rust serving frontend (opt-in at runtime via VLLM_USE_RUST_FRONTEND=1) |
| Flag | Description |
|---|---|
| icu | |
| old-kernel | Disable syscalls not available on Linux kernels older than 4.11 |
| Flag | Description |
|---|---|
| jit | |
| localstorage | Build the LocalStorage import for QtQuick (requires QtSql) |
| Flag | Description |
|---|---|
| accessibility | |
| egl | |
| eglfs | Build the EGL Full Screen/Single Surface platform plugin |
| evdev | Enable support for input devices via evdev |
| ibus | Build the IBus input method plugin |
| libinput | Enable support for input devices via <pkg>dev-libs/libinput</pkg> |
| linuxfb | Enable Linux framebuffer support for embedded devices |
| tslib | Enable support for touchscreen devices via <pkg>x11-libs/tslib</pkg> |
| tuio | Build plugin to receive touch events over the TUIO protocol |
| vnc |
| Flag | Description |
|---|---|
| alsa | |
| openal | |
| pulseaudio |
| Flag | Description |
|---|---|
| gssapi | Enable support for GSSAPI (<pkg>virtual/krb5</pkg>) |
| libproxy | Use <pkg>net-libs/libproxy</pkg> for automatic HTTP/SOCKS proxy configuration |
| sctp |
| Flag | Description |
|---|---|
| freetds | |
| mysql | |
| oci8 | |
| odbc | |
| postgres | |
| sqlite |
| Flag | Description |
|---|---|
| compositor | Enable support for the wayland compositor / server APIs |
| Flag | Description |
|---|---|
| biber | Install the unicode compatible backend processor |
| Flag | Description |
|---|---|
| video_cards_amdgpu | Build for AMD platform |
| video_cards_nvidia | Build for Nvidia platform |
| Flag | Description |
|---|---|
| debugger | Install the CUDA debugger |
| rdma | Enable infiniband support via <pkg>sys-cluster/rdma-core</pkg> |
| sanitizer | Install compute-sanitizer tool |
| Flag | Description |
|---|---|
| gfx1030 | |
| gfx1102 | |
| gfx1152 | |
| gfx1153 |
| Flag | Description |
|---|---|
| fusefs | Enable the Fuse Filesystem |
| static | |
| system-sqlite | Use the system SQLite instead of the bundled one |
| tcl | |
| tcl-private-stubs | Enable Tcl integration via private stubs mechanism |
| tcl-stubs | Enable Tcl integration via stubs library mechanism |
| th1-docs | Enable TH1 for embedded documentation pages |
| th1-hooks | Enable TH1 hooks for commands and web pages |
| Flag | Description |
|---|---|
| compile | Pull <pkg>dev-python/triton-bin</pkg> for torch.compile / inductor custom nodes and comfy_kitchen's Triton backend |
| templates | Install the bundled example-workflow template gallery (<pkg>dev-python/comfyui-workflow-templates</pkg>; ~330 MiB of preview assets) |
| Flag | Description |
|---|---|
| mesh | Pull the mesh (.glb) export stack (<pkg>dev-python/xatlas</pkg>, <pkg>dev-python/pyvista</pkg>, <pkg>dev-python/python-igraph</pkg>, <pkg>dev-python/pymeshfix</pkg>; pyvista drags in <pkg>sci-libs/vtk</pkg>). Without it only Gaussian .ply output works. |
| Flag | Description |
|---|---|
| ai | Build the optional AI subsystem (neural restore, AI object mask) using the system <pkg>sci-libs/onnxruntime</pkg> for inference |
| colord | |
| cpu_flags_x86_sse3 | |
| gamepad | Support using game controllers as input devices |
| geolocation | Enable geotagging support |
| graphicsmagick | |
| kwallet | Enable encrypted storage of passwords with <pkg>kde-frameworks/kwallet</pkg> |
| l10n_cs | |
| l10n_de | |
| l10n_es | |
| l10n_fi | |
| l10n_fr | |
| l10n_hu | |
| l10n_ja | |
| l10n_nb | |
| l10n_nl | |
| l10n_pl | |
| l10n_pt-BR | |
| l10n_ru | |
| l10n_sl | |
| l10n_sq | |
| l10n_sv | |
| l10n_uk | |
| l10n_zh-CN | |
| l10n_zh-TW | |
| lto | Enable link-time optimisations in the RawSpeed library |
| lua | |
| midi | Support using MIDI input devices such as Behringer X-Touch Mini, Arturia Beatstep or Korg nanoKONTROL2, as input devices |
| Flag | Description |
|---|---|
| icy-sixel | Enable sixel graphics output via pure-Rust icy_sixel backend |
| sixel | Enable sixel graphics output via media-libs/libsixel |
| Flag | Description |
|---|---|
| dec265 | Enable build of the dec265 example decoder program |
| enc265 | Enable build of the enc265 example encoder program; live ebuild only, upstream strips this directory from release tarballs |
| Flag | Description |
|---|---|
| frei0r | Build the module for <pkg>media-plugins/frei0r-plugins</pkg> |
| jack | |
| libsamplerate | |
| opencv | Enable image processing via <pkg>media-libs/opencv</pkg> |
| rtaudio | Builds rtaudio consumer for native audio support on multiple platforms. |
| rubberband | Enable pitch/time stretching via <pkg>media-libs/rubberband</pkg> |
| vdpau | |
| vidstab | Enable video stabilization via <pkg>media-libs/vidstab</pkg> |
| vorbis |
| Flag | Description |
|---|---|
| abi_x86_32 | |
| atlas | Use <pkg>sci-libs/atlas</pkg> for blas, lapack and sparse blas routines (Experimental!) |
| contrib | Install user contributed modules from opencv_contrib (Experimental!); in 5.x this also provides the ml (cv2.ml) and gapi (G-API) modules, which upstream moved out of the main repository |
| contribcvv | Enable CVV in contrib |
| contribdnn | Enable DNN module |
| contribfreetype | Enable Drawing UTF-8 strings with <pkg>media-libs/freetype</pkg>&<pkg>media-libs/harfbuzz</pkg> |
| contribhdf | Enable HDF module (requires <pkg>sci-libs/hdf5</pkg>) |
| contribovis | Enable OGRE vision module support (<pkg>dev-games/ogre</pkg>) |
| contribsfm | Enable SFM module (requires USE="eigen gflags glog") |
| contribxfeatures2d | Enables xfeatures2d and autodownload of samples in contrib |
| cpu_flags_x86_avx512_4fmaps | |
| cpu_flags_x86_avx512_4vnniw | |
| cpu_flags_x86_avx512er | |
| cpu_flags_x86_avx512pf | |
| cpu_flags_x86_f16c | |
| cpu_flags_x86_sse | |
| eigen | Enable usage of <pkg>dev-cpp/eigen</pkg> for computations |
| features | Enable the features module (the renamed features2d module in 5.x) |
| features2d | Enable features2d module |
| gdal | Enable support for <pkg>sci-libs/gdal</pkg> library |
| gflags | Use Google's C++ argument parsing library (<pkg>dev-cpp/gflags</pkg>) |
| gif | |
| glog | Use Google's C++ logging library (<pkg>dev-cpp/glog</pkg>) |
| ieee1394 | |
| jasper | Use <pkg>media-libs/jasper</pkg> for jpeg2k support |
| non-free | Enable non-free components |
| opencvapps | Enable compilation with opencvapps |
| openni | Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI</pkg> |
| openni2 | Adds support for Kinect-like 3D sensors devices with <pkg>dev-libs/OpenNI2</pkg> (should be preferred over openni) |
| quirc | Enable qrcode decoding via <pkg>media-libs/quirc</pkg> (5.x uses its own QR decoder) |
| spng | Use <pkg>media-libs/libspng</pkg> for png support |
| tbb | Enable multithreading with the Intel Threads Building Block (<pkg>dev-cpp/tbb</pkg>) |
| tesseract | Use Google's OCR Engine |
| testprograms | Build and install programs for testing OpenCV (performance) |
| truetype | Enable <pkg>media-libs/freetype</pkg> support for gapi module |
| v4l | |
| vaapi | |
| video_cards_intel | Enable Video Acceleration API for hardware decoding for Intel cards |
| vtk | Build new 3D visualization module viz based on <pkg>sci-libs/vtk</pkg> |
| wechat-qrcode | Enable wechat_qrcode module |
| Flag | Description |
|---|---|
| flac | |
| mp3 |
| Flag | Description |
|---|---|
| mpd | Support for mpd fetching |
| taglib | Enable support for taglib |
| Flag | Description |
|---|---|
| gpg | Enable PGP support |
| omemo | Enable OMEMO encryption |
| omemo-qrcode | Enable ability to display OMEMO QR code |
| otr | Enable Off-the-Record support (encryption) |
| spellcheck | Enable spellchecking support via app-text/enchant |
| xscreensaver | Use x11-libs/libXScrnSaver for checking idle time |
| Flag | Description |
|---|---|
| ncurses | Build Ncurses text UI |
| Flag | Description |
|---|---|
| mbedtls | Use <pkg>net-libs/mbedtls</pkg> as TLS backend |
| Flag | Description |
|---|---|
| server | Build the infinote standalone server |
| Flag | Description |
|---|---|
| executables | Install the saxs_fitter, em_fitter and rigidbody_optimizer CLI tools |
| Flag | Description |
|---|---|
| gpl | Build the GPL-licensed CHOLMOD submodules (MatrixOps, Modify, Partition, Supernodal) as a group. Disabling keeps CHOLMOD strictly LGPL; the core Cholesky submodule is always built. |
| Flag | Description |
|---|---|
| cpu_flags_x86_avx2 | |
| cpu_flags_x86_avx512f |
| Flag | Description |
|---|---|
| szip |
| Flag | Description |
|---|---|
| rocsolver | Add additional functions from <pkg>sci-libs/rocSOLVER</pkg> |
| Flag | Description |
|---|---|
| amdgpu_targets_gfx908 | |
| amdgpu_targets_gfx90a | |
| amdgpu_targets_gfx942 | |
| amdgpu_targets_gfx950 | |
| composable-kernel | Use <pkg>sci-libs/composable-kernel</pkg> for GEMM-like and reduction-like operators |
| rocblas | Build with <pkg>sci-libs/rocBLAS</pkg> support |
| Flag | Description |
|---|---|
| cxx | |
| hdf4 | Support the old HDF4 representation |
| Flag | Description |
|---|---|
| motif |
| Flag | Description |
|---|---|
| perfscripts | Install rocfft-perf performance visualization suite |
| Flag | Description |
|---|---|
| sycl | Build an Intel SYCL backend (Arc GPU, Intel CPU via oneAPI). Requires a -fsycl-capable compiler (Intel icpx or clang++ with SYCL patches) installed separately. |
| Flag | Description |
|---|---|
| webm | Support the webm audiovisual media file format |
| Flag | Description |
|---|---|
| eval | Install evaluation harness deps (anthropic, scikit-learn, reportlab) for gaia.eval benchmarks |
| talk | Pull openai-whisper (ASR) + sounddevice (audio I/O) for gaia.talk's voice pipeline; the Kokoro TTS half is unavailable until that chain lands and is not pulled by this flag |
| Flag | Description |
|---|---|
| distributed | Support distributed applications |
| fbgemm | Use <pkg>sci-ml/FBGEMM</pkg> |
| flash | Enable flash attention |
| gloo | Use <pkg>sci-ml/gloo</pkg> |
| kineto | Use<pkg>sci-ml/kineto</pkg>profiling library |
| memefficient | Enable mem efficient attention |
| mimalloc | Use <pkg>dev-libs/mimalloc</pkg> as replacement for system malloc |
| mpi | |
| nccl | Use <pkg>dev-libs/rccl</pkg> (NCCL compatible) backend for distributed operations |
| nnpack | Use <pkg>sci-ml/NNPACK</pkg> |
| onednn | Use <pkg>sci-ml/oneDNN</pkg> |
| qnnpack | Use QNNPACK |
| xnnpack | Use <pkg>sci-ml/XNNPACK</pkg> |
| Flag | Description |
|---|---|
| perf | Pull dev-python/cirron and dev-python/pympler for the evalperf-style perf-counter evaluation |
| Flag | Description |
|---|---|
| fastflowlm | Pull in <pkg>sci-ml/fastflowlm</pkg> as the NPU backend (renamed to system-fastflowlm from 11.0.0; kept for 10.10.0-r3) |
| system-fastflowlm | Reuse the system <pkg>sci-ml/fastflowlm</pkg> (/usr/bin/flm) for the FastFlowLM NPU backend instead of letting lemond auto-download the flm runtime at first NPU use |
| system-kokoro | Reuse the system <pkg>sci-ml/kokoros</pkg> (/usr/bin/koko) for the Kokoro TTS backend instead of fetching an upstream prebuilt binary at runtime |
| system-llamacpp | Reuse the system <pkg>sci-misc/llama-cpp</pkg> (/usr/bin/llama-server) for the llama.cpp backend instead of fetching an upstream prebuilt binary at runtime; build it with your preferred GPU backend (see the post-install notes) |
| system-rocm | Point lemond's ROCm runtime at the system ROCm in /usr (via ROCM_PATH) so its rocm-stable image/audio backends reuse it instead of downloading AMD's multi-GB TheRock runtime; requires a system ROCm (pulls <pkg>dev-util/hip</pkg>). Mutually exclusive with system-therock |
| system-sdcpp | Reuse the system <pkg>sci-misc/stable-diffusion-cpp</pkg> (/usr/bin/sd-server) for the stable-diffusion.cpp backend instead of fetching an upstream prebuilt binary at runtime; build it with your preferred GPU backend (see the post-install notes) |
| system-therock | Point lemond's ROCm runtime at <pkg>dev-util/therock-bin</pkg> in /opt/therock-bin (via ROCM_PATH) instead of downloading AMD's TheRock runtime; pinned to the 7.13 line whose version matches lemond's expected ROCm. Mutually exclusive with system-rocm |
| system-whispercpp | Reuse the system <pkg>app-accessibility/whisper-cpp</pkg> (/usr/bin/whisper-server) for the whisper.cpp backend instead of fetching an upstream prebuilt binary at runtime; build it with your preferred GPU backend (see the post-install notes) |
| tauri | Build the Tauri desktop app (lemonade-app) -- a native webkit2gtk window wrapping the same renderer as USE=webui. Pulls a Rust toolchain (<pkg>dev-lang/rust</pkg>) plus <pkg>net-libs/webkit-gtk</pkg>, and fetches Rust crates over the network at build time |
| Flag | Description |
|---|---|
| ifeval | Enable instruction-following evaluation tasks (leaderboard_ifeval and friends) — checks generated text against structural constraints like length limits, language hints, and required keywords. Auto-downloads the NLTK punkt_tab tokenizer at task-load time (not deferred until eval); seed ~/nltk_data ahead of time on offline hosts. |
| math | Enable math-grading tasks (minerva_math, leaderboard math, hendrycks_math, etc.) — parses LaTeX answers and verifies symbolic equality between predicted and ground-truth solutions |
| sentencepiece | Pull sci-ml/sentencepiece for tasks that tokenise via SentencePiece |
| statsmodels | Pull dev-python/statsmodels for the discrim_eval task family |
| vllm | Wire dev-python/vllm for the vLLM model backend |
| Flag | Description |
|---|---|
| portaudio | Build the example CLI tools that record/play audio (portaudio is vendored + statically linked by upstream cmake) |
| tts | Build text-to-speech support (pulls vendored espeak-ng-for-piper at build time) |
| websocket | Build the WebSocket server and client examples |
| Flag | Description |
|---|---|
| double-precision | Build with 64-bit floating point precision (default is single precision). |
| Flag | Description |
|---|---|
| jansson | Enable <pkg>dev-libs/jansson</pkg>-based JSON import/export |
| perl | |
| ruby | |
| unique | Enable single-instance support via <pkg>dev-libs/libunique</pkg> |
| zlib |
| Flag | Description |
|---|---|
| parallel | Add support for <pkg>sys-process/parallel</pkg> |
| Flag | Description |
|---|---|
| aqua | |
| vim-syntax | |
| xinerama |
| Flag | Description |
|---|---|
| curl | |
| lzma | |
| pch | |
| webkit |