Skip to content
Snippets Groups Projects
Commit b0407ea0 authored by Vincent POLLET's avatar Vincent POLLET Committed by Amir MOHAMMADI
Browse files

Add Jinja variables for host dependencies, pin_compatible run dependencies.

parent d94bd423
Branches
No related tags found
1 merge request!455opencv conda-forge recipe + BSD3 license
...@@ -58,41 +58,39 @@ requirements: ...@@ -58,41 +58,39 @@ requirements:
- {{ compiler('c') }} - {{ compiler('c') }}
- {{ compiler('cxx') }} - {{ compiler('cxx') }}
- {{ cdt('mesa-libgl-devel') }} # [linux] - {{ cdt('mesa-libgl-devel') }} # [linux]
- {{ cdt('mesa-libegl-devel') }} # [linux] - {{ cdt('mesa-libegl-devel') }} # [linux]
- {{ cdt('mesa-dri-drivers') }} # [linux] - {{ cdt('mesa-dri-drivers') }} # [linux]
- {{ cdt('libselinux') }} # [linux] - {{ cdt('libselinux') }} # [linux]
- {{ cdt('libxdamage') }} # [linux] - {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxfixes') }} # [linux] - {{ cdt('libxfixes') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux] - {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxau-devel') }} # [linux] - {{ cdt('libxau-devel') }} # [linux]
- {{ cdt('libxext-devel') }} # [linux] - {{ cdt('libxext-devel') }} # [linux]
host: host:
- python - python {{ python }}
- numpy - numpy {{ numpy }}
- mkl-devel {{ mkl }} # [blas_impl == 'mkl'] - mkl-devel {{ mkl }} # [blas_impl == 'mkl']
- openblas-devel {{ openblas }} # [blas_impl == 'openblas'] - openblas-devel {{ openblas }} # [blas_impl == 'openblas']
- nomkl # [blas_impl == 'openblas'] - nomkl # [blas_impl == 'openblas']
- hdf5 # [unix] - hdf5 {{ hdf5 }} # [unix]
- eigen 3.3.* - eigen 3.3.*
- jasper - jasper
- zlib - zlib {{ zlib }}
- jpeg - jpeg {{ jpeg }}
- libtiff - libtiff {{ libtiff }}
- libwebp - libwebp {{ libwebp }}
- harfbuzz # [unix] - harfbuzz {{ harfbuzz }} # [unix]
- libpng - libpng {{ libpng }}
- ffmpeg # [not win] - ffmpeg {{ ffmpeg }} # [not win]
- qt 5.9 # [not osx and not aarch64 and not ppc64le] - qt 5.9.* # [not osx and not aarch64 and not ppc64le]
# - liblapacke - freetype {{ freetype }}
- freetype - glib {{ glib }} # [unix]
- glib # [unix]
run: run:
# https://github.com/conda-forge/harfbuzz-feedstock/pull/52 - {{ pin_compatible('harfbuzz') }} # [unix]
- harfbuzz # [unix]
# Don't depend on python in the run section # Don't depend on python in the run section
# py-opencv will depend on python # py-opencv will depend on python
- qt 5.9 # [not osx and not aarch64 and not ppc64le] - qt 5.9.* # [not osx and not aarch64 and not ppc64le]
# https://github.com/conda-forge/opencv-feedstock/issues/174 # https://github.com/conda-forge/opencv-feedstock/issues/174
# Seems like the OSX ABI has changed between 2.9 and 2.10??? # Seems like the OSX ABI has changed between 2.9 and 2.10???
# That or a dependency wasn't merged in # That or a dependency wasn't merged in
...@@ -104,14 +102,12 @@ test: ...@@ -104,14 +102,12 @@ test:
- {{ compiler('c') }} - {{ compiler('c') }}
- {{ compiler('cxx') }} - {{ compiler('cxx') }}
- pkg-config # [not win] - pkg-config # [not win]
# Test with the two currently supported lapack implementatons
# One test done on different versions of python on each platform
- mkl-devel {{ mkl }} # [blas_impl == 'mkl'] - mkl-devel {{ mkl }} # [blas_impl == 'mkl']
- openblas-devel {{ openblas }} # [blas_impl == 'openblas'] - openblas-devel {{ openblas }} # [blas_impl == 'openblas']
- nomkl # [blas_impl == 'openblas'] - nomkl # [blas_impl == 'openblas']
- cmake - cmake
- ninja - ninja
- qt 5.9 # [linux64] - qt 5.9.* # [linux64]
files: files:
- CMakeLists.txt - CMakeLists.txt
- test.cpp - test.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment