csukuangfj / kaldifeat

Kaldi-compatible online & offline feature extraction with PyTorch, supporting CUDA, batch processing, chunk processing, and autograd - Provide C++ & Python API
https://csukuangfj.github.io/kaldifeat
Other
186 stars 35 forks source link

Prevent cmake from trying to link with system MKL #64

Closed trunglebka closed 1 year ago

trunglebka commented 1 year ago

If a computer has mkl installed in default location (/opt/intel/.../mkl) and this location is not in library search path, the build process will be failed due to pytorch cmake config. This will prevent cmake from searching for system MKL since it is installed alongside with pytorch already

This commit will solve this issue: https://github.com/csukuangfj/kaldifeat/issues/63

csukuangfj commented 1 year ago

Thanks for your contribution!