Requirements and Setup to Build Driver Compiler
November 19, 2025 ยท View on GitHub
Linux Requirements
Ensure the following components are available on your system before building Driver Compiler.
-
Hardware:
- Minimum 32 GB RAM required
-
Software:
- CMake 3.22.1 for Ubuntu 22.04 (version 3.13 or higher)
- GCC 11.4.0 for Ubuntu 22.04 (version 7.5 or higher)
- Python 3.9 - 3.12
- Git for Linux (required for
git lfs) - Ninja
- Additional dependency to build with CMake Presets:
- ccache (Download latest version of ccache binaries or build from source)
Note: The build options defined in the
CMakePresets.jsonrequire ccache, and it must be installed to use the default presets. If installation is not possible, remove or update the relevant entries in CMakePresets.json accordingly.
- ccache (Download latest version of ccache binaries or build from source)
Note: 32GB RAM is recommended, but not strictly required. For systems with smaller RAM, you can compensate by reducing the number of build threads or increasing swap memory.
Windows Requirements
Ensure the following components are available on your system before building Driver Compiler. Make sure they are added to your system PATH after installation.
-
Hardware:
- Minimum 40 GB of disk space required
-
Software:
- CMake 3.13 or higher
- Microsoft Visual Studio 2022
Note: Windows SDK and spectre libraries are required to build OpenVINO and NPU-Plugin. Install them from Microsoft Visual Studio Installer: Modify -> Individual components -> Search components: "Windows SDK" and "Spectre x64/x86 latest".
- SDK (install from Microsoft Visual Studio or here) and WDK. Ensure the versions match your Windows system.
- Python 3.9 - 3.12
- Git for Windows (required for
git lfs) - Ninja
- Additional dependency to build with CMake Presets:
- ccache (Download latest version of ccache binaries or build from source)
Note: The build options defined in the CMakePresets.json require ccache, and it must be installed to use the default presets. If installation is not possible, the relevant entries in CMakePresets.json should be removed and updated accordingly.
- ccache (Download latest version of ccache binaries or build from source)
Next Steps
Pre-build Preparation:
Linux: build with CMake Options (Recommended for the first Driver Compiler build):
Linux: build with CMake Presets:
Windows: build with CMake Options (Recommended for the first Driver Compiler build):
Windows: build with CMake Presets: