summaryrefslogtreecommitdiffstats
path: root/python/conda/libastra/meta.yaml
blob: 8906225ba9f25dd2a2a1a1a5f1c08e9d43457ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package:
  name: libastra
  version: '2.0.0'

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]
    # libstdcxx-ng 9.3 introduces extra host system requirements on glibc
    # For the older systems (debian8, debian9) we use g++ 5.4 and 7.3, resp.
    {% if cxx_compiler_version in ['5.4', '7.3'] -%}
    - libstdcxx-ng <9.3 # [linux]
    {% endif %}
  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.'