A WPF application for compiling Stockfish chess engine with automatic CPU architecture detection.
- Automatic compiler detection (MSYS2, MinGW, Clang)
- CPU architecture detection for optimal performance
- Download Stockfish source (latest stable release or master branch)
- Profile-guided optimization build
- Real-time build output and progress
- Dark-themed UI
- Windows 10/11 with .NET 8 Runtime
- MSYS2 with MinGW-w64 or Clang installed
- Download and install MSYS2 from https://www.msys2.org/
- Open MSYS2 MSYS terminal and run:
pacman -Syu pacman -S mingw-w64-x86_64-gcc make
- Extract the release to a folder
- Run
StockfishCompiler.exe
-
Compiler Setup Tab
- Click "Detect Compilers" to find installed compilers
- Click "Detect Optimal Architecture" to auto-select best CPU architecture
-
Build Configuration Tab
- Adjust parallel jobs (defaults to your CPU core count)
- Set output directory where compiled Stockfish will be saved
- Choose which Stockfish source to download (latest stable release or the master branch)
- Choose build options (download network, strip executable)
-
Compilation Tab
- Click "Start Build" to begin compilation
- View real-time build output
- Cancel build if needed
Application logs are saved to:
%LOCALAPPDATA%\StockfishCompiler\logs\app-YYYY-MM-DD.log
You can open the logs folder directly from File Explorer by pasting the path above into the address bar.
MIT License - see LICENSE file for details
- Stockfish: https://github.com/official-stockfish/Stockfish
- UI Framework: WPF (.NET 8)
- MVVM Toolkit: CommunityToolkit.Mvvm
- Logging: Serilog