Skip to content

Commit bc77e2b

Browse files
authored
Add mkl dependency to torchaudio MacOS x86 builds (#3300) (#3301)
Summary: Add mkl dependency to torchaudio MacOS x86 builds Already tested here: https://github.com/pytorch/audio/actions/runs/4878179835/jobs/8703586137 Pull Request resolved: #3300 Reviewed By: jeanschmidt, mthrok Differential Revision: D45566352 Pulled By: atalman fbshipit-source-id: a0376016506891240b2dd03d4fa4889028bf764b
1 parent 701239f commit bc77e2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packaging/torchaudio/meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ requirements:
1919
- ninja
2020
- numpy>=1.11 # [py <= 39]
2121
- numpy>=1.21.2 # [py >= 310]
22+
- mkl<=2021.4.0 # [osx and x86_64]
2223
- pytorch-mutex 1.0 {{ build_variant }} # [not osx ]
2324
{{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT', 'pytorch') }}
2425
{{ environ.get('CONDA_EXTRA_BUILD_CONSTRAINT', '') }}
@@ -29,6 +30,7 @@ requirements:
2930
- numpy>=1.11 # [py <= 39]
3031
- numpy>=1.21.2 # [py >= 310]
3132
- pytorch-mutex 1.0 {{ build_variant }} # [not osx ]
33+
- mkl<=2021.4.0 # [osx and x86_64]
3234
{{ environ.get('CONDA_PYTORCH_CONSTRAINT', 'pytorch') }}
3335
{{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT', '') }}
3436

0 commit comments

Comments
 (0)