From c3739782de0c588177a5f36816c2f1dc48f1bf7a Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Tue, 16 Aug 2022 22:09:43 +0800 Subject: [PATCH] more fixes --- scripts/conda-cpu/kaldifeat/meta.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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