This repository contains Conan recipes for toolchains and command line utilities, for example the Emscripten SDK or other compilers. These recipes are maintained independently of Conan Center Index with flexible maintenance scopes.
A centralized toolchains repository provides a dedicated home for SDKs, compilers, cross-compilers, and experimental toolchains all in one place. It's a great fit for a wide range of users: beginners can easily install a toolchain alongside Conan and quickly cross-compile a project, while advanced users can integrate it into their workflow by adding it as a local recipe index and tailoring recipes as needed. It also supports bleeding-edge or niche toolchains that don't belong in the main index, offering maximum flexibility and control.
Setup conan-toolchains
as a local recipe index repository
Before adding conan-toolchains
ensure conan is installed and available in your path.
Check conan downloads page.
git clone https://github.com/conan-io/conan-toolchains.git
conan remote add conan-toolchains ./conan-toolchains
This repository is still under active development, and no Conan remote with pre-built binaries is available yet.
If you wish to contribute to conan-toolchains, follow these steps to clone the repository and install the required development dependencies.
git clone [email protected]:conan-io/conan-toolchains.git
cd conan-toolchains
# Recommended: Setup your virtual environment before installing dependencies
pip install pre-commit
We use pre-commit to enforce code style and formatting. To activate the pre-commit hooks:
pre-commit install
This will ensure that every time you commit changes, the code will be formatted and linted according to the project's standards.