From 891207f20edfeadaf7f56ff90942f45732cfd0bb Mon Sep 17 00:00:00 2001 From: archxlith <55454330+archxlith@users.noreply.github.com> Date: Wed, 16 Jun 2021 05:10:39 -0400 Subject: [PATCH] kaldi: fix building with mkl (#24338) --- var/spack/repos/builtin/packages/kaldi/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/kaldi/package.py b/var/spack/repos/builtin/packages/kaldi/package.py index c98df6aa19..0b9cdd3c12 100644 --- a/var/spack/repos/builtin/packages/kaldi/package.py +++ b/var/spack/repos/builtin/packages/kaldi/package.py @@ -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')