meta.yaml 1.26 KB
Newer Older
1
{% set name = "kaldi" %}
Saeed SARFJOO's avatar
Saeed SARFJOO committed
2
3
{% set version = "1:5.5.164" %}
{% set git_rev = "ca32c4e2bd77544c4ad4aa0bba25f0b812ea1a61" %}
4

Milos CERNAK's avatar
Milos CERNAK committed
5
package:
6
7
  name: {{ name }}
  version: {{ version }}
Milos CERNAK's avatar
Milos CERNAK committed
8
9
10

source:
  git_url: https://github.com/kaldi-asr/kaldi.git
11
  git_rev: {{ git_rev }}
Milos CERNAK's avatar
Milos CERNAK committed
12
13
14
15
  patches:
    - conda-kaldi.patch

build:
Saeed SARFJOO's avatar
Saeed SARFJOO committed
16
  number: 0
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
17
  skip: True  # [not linux]
18
19
20
  requires_features:
    blas: {{ blas_impl }}
  run_exports:
Saeed SARFJOO's avatar
Saeed SARFJOO committed
21
    - {{ pin_subpackage(name, max_pin='x.x') }}
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
22

Milos CERNAK's avatar
Milos CERNAK committed
23
24
requirements:
  build:
25
26
27
28
29
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}

  host:
    - openfst {{ openfst }}
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
30
    - speex {{ speex }}
31
32
33
34
35
36
37
38
    - mkl-devel {{ mkl }}  # [blas_impl == 'mkl']
    - openblas-devel {{ openblas }}  # [blas_impl == 'openblas']
    - nomkl  # [blas_impl == 'openblas']

test:
  commands:
    - conda inspect linkages -p $PREFIX {{ name }}  # [not win]
    - conda inspect objects -p $PREFIX {{ name }}  # [osx]
Milos CERNAK's avatar
Milos CERNAK committed
39
40
41
42
43
44
45
46
47
48
49
50
51

about:
  home: http://kaldi-asr.org/
  license: Apache-2.0
  license_file: COPYING
  summary: 'Kaldi is a toolkit for speech recognition written in C++.'
  description: |
    Kaldi is intended for use by speech recognition researchers. It is a framework rather than a library.
  doc_url: http://kaldi-asr.org/doc
  dev_url: http://kaldi-asr.org/forums.html

extra:
  recipe-maintainers:
52
    - amohammadi