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: build:
number: 0 number: 0
string: cpu_py{{ environ.get('KALDIFEAT_PYTHON_VERSION') }}_torch{{ environ.get('KALDIFEAT_TORCH_VERSION') }} 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: requirements:
build: build:
@ -17,16 +19,15 @@ requirements:
host: host:
- anaconda-client - anaconda-client
- conda-build - cmake=3.18
- cmake
- python - python
- pytorch={{ environ.get('KALDIFEAT_TORCH_VERSION') }} - pytorch={{ environ.get('KALDIFEAT_TORCH_VERSION') }}
- gcc_linux-64=7 # [linux]
- cpuonly - cpuonly
run: run:
- python - python
- pytorch={{ environ.get('KALDIFEAT_TORCH_VERSION') }} - pytorch={{ environ.get('KALDIFEAT_TORCH_VERSION') }}
- numpy
about: about:
home: https://github.com/csukuangfj/kaldifeat home: https://github.com/csukuangfj/kaldifeat