package:
  name: libastra
  version: '1.9.9.dev0'

source:
  git_url: https://github.com/astra-toolbox/astra-toolbox.git
  git_tag: master

build:
  number: 0
  string: cuda_{{ cudatoolkit }}_0 # [linux]

requirements:
  build:
    - {{ compiler('c') }}    # [win or linux]
    - {{ compiler('cxx') }}  # [linux]
    - boost # [osx]
    - automake # [osx]
    - autoconf # [osx]
    - libtool # [osx]
  host:
    - boost # [osx or linux]
    - cudatoolkit {{ cudatoolkit }} # [linux]
  run:
    # See: https://github.com/conda-forge/conda-forge.github.io/issues/687#issuecomment-460095230
    - {{ pin_compatible('cudatoolkit', max_pin='x.x') }} # [linux]

about:
  home: http://www.astra-toolbox.com
  license: GPLv3
  summary: 'The ASTRA Toolbox is a Python toolbox of high-performance GPU primitives for 2D and 3D tomography.'