kaldi: fix building with mkl (#24338)

This commit is contained in:
archxlith 2021-06-16 05:10:39 -04:00 committed by GitHub
parent 5ec708cb48
commit 891207f20e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ def install(self, spec, prefix):
configure_args.append('--threaded-atlas')
elif '^intel-parallel-studio' in spec or '^intel-mkl' in spec:
configure_args.append('--mathlib=MKL')
configure_args.append('--mkl-root=' + spec['blas'].prefix)
configure_args.append('--mkl-root=' + spec['blas'].prefix.mkl)
if '+openmp' in spec['blas'].variants:
configure_args.append('--mkl-threading=iomp')