A CLI tool that automates the process of adding libraries to Compiler Explorer.
# Clone and run
git clone https://github.com/compiler-explorer/ce-library-wizard.git
cd ce-library-wizard
./run.sh
See the Quick Start Guide for more examples.
- 🚀 Interactive CLI for adding libraries to Compiler Explorer
- 🦀 Rust - Fully automated with crate support + bulk top 100 crates
- ⚔️ C - Shared/static library support
- ⚡ C++ - Smart library type detection
- 🔧 Fortran - FPM package integration
- 🔢 Multi-version - Add multiple versions in one command
- 🔐 Multiple authentication methods
- 🍴 Automatic GitHub fork management
- 📝 Preview changes before committing
- Python 3.12+
- Git - Installation guide
- GitHub CLI (recommended) - Installation guide
- Make
Set up GitHub CLI:
gh auth login
# Interactive mode
./run.sh
# Add a Rust library
./run.sh --lang=rust --lib=serde --ver=1.0.195
# Add a C++ library with automatic type detection
./run.sh --lang=cpp --lib=https://github.com/fmtlib/fmt --ver=10.2.1
# Add a header-only C++ library
./run.sh --lang=cpp --lib=https://github.com/bobluppes/graaf --ver=v1.1.1 --type=header-only
# Preview changes first
./run.sh --verify --lang=rust --lib=tokio --ver=1.35.0
- 📚 Quick Start Guide - Get started in minutes
- 🔧 Language Support - Language-specific details
- ❓ Troubleshooting - Common issues and solutions
- 🏗️ Architecture - How it works internally
- 🚀 Advanced Usage - Automation and customization
- 🤝 Contributing - Development guide
CE Library Wizard automates the complex process of adding libraries to Compiler Explorer by:
- Managing GitHub forks and branches automatically
- Running language-specific
ce_install
commands - Updating configuration files in both required repositories
- Creating linked pull requests
See Architecture Documentation for details.
Contributions are welcome! See our Contributing Guide.
MIT