Skip to content
Snippets Groups Projects
user avatar
Amir MOHAMMADI authored
compile dlib with our gcc

Closes #26

See merge request !71
6c343e86
History

Conda recipes for the bob channel

This package contains scripts and recipes for building dependencies and core Bob packages for Conda.

Dependencies

Inside the directory dependencies, you'll find the current list of dependencies for Bob, we maintain in our private channel.

To add a new recipe, either write it by hand or, if the package is a Python package available on PyPI, use conda skeleton:

$ conda skeleton pypi <package>

A few remarks:

  • Make sure you follow pinning policies already available inside other packages in this directory or in the directory recipes.
  • Clearly mark your name as maintainer of the recipe
  • If the package has some C/C++ code, add following build and run requirements into meta.yaml:
requirements:
  build:
    - toolchain 2.3.2
    - gcc 4.8.5  # [linux]
    - libgcc 4.8.5  # [linux]
  run:
    - libgcc 4.8.5  # [linux]

Testing

In order to test the recipe, you'll need to install conda-build on your conda root environment. Make sure you have the latest available version on your system.

We advise you have these two channels on the top of your channel list:

This can be achieved with the following commands:

$ conda config --add channels defaults
$ conda config --add channels http://www.idiap.ch/software/bob/conda

Once that is done, you can try to build your new recipe with:

$ CONDA_NPY=111 conda build <package>

If that works, upload your changes on this package on a branch and create a merge request and mark it as a work-in-progress, by prefixing WIP: on the MR title. Wait for the tests to pass on the MR and make sure everything completes well, by inspecting the log files (unfortunately, by default, the tests always pass). If all is good, remove the WIP: title prefix and assign the branch for merge to one of the package maintainers.