https://github.com/ianrastall/stockfishcompiler
A GUI for automating the process of compiling Stockfish
https://github.com/ianrastall/stockfishcompiler
chess-engine chess-uci compiler-wrapper stockfish
Last synced: 4 months ago
JSON representation
A GUI for automating the process of compiling Stockfish
- Host: GitHub
- URL: https://github.com/ianrastall/stockfishcompiler
- Owner: ianrastall
- Created: 2025-11-20T18:44:05.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-12-10T10:24:40.000Z (6 months ago)
- Last Synced: 2025-12-10T10:49:07.725Z (6 months ago)
- Topics: chess-engine, chess-uci, compiler-wrapper, stockfish
- Language: C#
- Homepage:
- Size: 1.11 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stockfish Compiler
A WPF application for compiling Stockfish chess engine with automatic CPU architecture detection.
## Features
- 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
## Requirements
- Windows 10/11 with .NET 8 Runtime
- MSYS2 with MinGW-w64 or Clang installed
## Installation
### Install MSYS2
1. Download and install MSYS2 from https://www.msys2.org/
2. Open MSYS2 MSYS terminal and run:
```bash
pacman -Syu
pacman -S mingw-w64-x86_64-gcc make
```
### Run StockfishCompiler
1. Extract the release to a folder
2. Run `StockfishCompiler.exe`
## Usage
1. **Compiler Setup Tab**
- Click "Detect Compilers" to find installed compilers
- Click "Detect Optimal Architecture" to auto-select best CPU architecture
2. **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)
3. **Compilation Tab**
- Click "Start Build" to begin compilation
- View real-time build output
- Cancel build if needed
## Logs
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.
## License
MIT License - see LICENSE file for details
## Credits
- Stockfish: https://github.com/official-stockfish/Stockfish
- UI Framework: WPF (.NET 8)
- MVVM Toolkit: CommunityToolkit.Mvvm
- Logging: Serilog