diff --git a/scripts/conda-cpu/kaldifeat/meta.yaml b/scripts/conda-cpu/kaldifeat/meta.yaml index 5c0f6ad..df756f3 100644 --- a/scripts/conda-cpu/kaldifeat/meta.yaml +++ b/scripts/conda-cpu/kaldifeat/meta.yaml @@ -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