Skip to content
Thomas Klute edited this page Feb 24, 2026 · 10 revisions

Prerequisite

  • clone the conan-packages repo from github

Add a new version of a library to a recipe

  • open the conandata.yml file of the recipe you want to add a version to.
  • You may specify multiple versions in conandata.yml.
  • Add the version and the url of the new source tar.gz.
  • Manually download the source and run 'sha256sum source-file.tar.gz' in a linux shell.
  • Add the hash value from the output of sha256sum.
  • Example:
sources:
  "0.16.2":
    url: https://bitbucket.org/odedevs/ode/downloads/ode-0.16.2.tar.gz
    sha256: b26aebdcb015e2d89720ef48e0cb2e8a3ca77915f89d853893e7cc861f810f22
  "0.16.3":
    url: https://bitbucket.org/odedevs/ode/downloads/ode-0.16.3.tar.gz
    sha256: c741dbf49bfc468ce2964824e5bc3f906ea956b1ae3594c50d351c383f03c413

Build Conan packages

Building depends on your conan version. Default is Conan 2, Conan 1 is deprecated.

Clone this wiki locally