Compile on Windows
This guide is about how to compile Doris source code on the Windows platform using Windows Subsystem for Linux (WSL). WSL allows you to run a Linux system on Windows to compile Doris.
tip
Currently, this is not supported in the compute-storage decoupled mode.
Prerequisitesβ
- Windows 10 version 2004 or higher (19041 or higher) or Windows 11
Compilation stepsβ
Install WSL2β
Refer to the official Microsoft WSL installation documentation for detailed instructions.
Compile Dorisβ
Once you have WSL2 up and running, you can choose any of the available compilation methods for Doris on Linux:
Noteβ
By default, the data storage drive of WSL2 distribution is the C drive. If needed, you can switch the storage drive in advance to avoid filling up the system drive.