more fixes

This commit is contained in:
Fangjun Kuang 2022-08-16 22:09:43 +08:00
parent 66f0bc35b4
commit c3739782de

View File

@ -8,7 +8,9 @@ source:
build:
number: 0
string: cpu_py{{ environ.get('KALDIFEAT_PYTHON_VERSION') }}_torch{{ environ.get('KALDIFEAT_TORCH_VERSION') }}
script: {{ PYTHON }} setup.py install --single-version-externally-managed --record=record.txt
script: conda install -y -q -c pytorch pytorch={{ environ.get('KALDIFEAT_TORCH_VERSION') }} cpuonly & {{ PYTHON }} setup.py install --single-version-externally-managed --record=record.txt
features:
- cpuonly # [not osx]
requirements:
build:
@ -17,16 +19,15 @@ requirements:
host:
- anaconda-client
- conda-build
- cmake
- cmake=3.18
- python
- pytorch={{ environ.get('KALDIFEAT_TORCH_VERSION') }}
- gcc_linux-64=7 # [linux]
- cpuonly
run:
- python
- pytorch={{ environ.get('KALDIFEAT_TORCH_VERSION') }}
- numpy
about:
home: https://github.com/csukuangfj/kaldifeat