Skip to content

Commit 32edd6f

Browse files
author
José Luis Santiago
committed
Solve bad DLL naming in Windows with MTMD libraries
1 parent 63d8ce4 commit 32edd6f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

LLama/LLamaSharp.Runtime.targets

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,27 +396,27 @@
396396

397397
<None Include="$(MSBuildThisFileDirectory)runtimes/deps/noavx/mtmd.dll">
398398
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
399-
<Link>runtimes/win-x64/native/noavx/libmtmd.dll</Link>
399+
<Link>runtimes/win-x64/native/noavx/mtmd.dll</Link>
400400
</None>
401401
<None Include="$(MSBuildThisFileDirectory)runtimes/deps/avx/mtmd.dll">
402402
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
403-
<Link>runtimes/win-x64/native/avx/libmtmd.dll</Link>
403+
<Link>runtimes/win-x64/native/avx/mtmd.dll</Link>
404404
</None>
405405
<None Include="$(MSBuildThisFileDirectory)runtimes/deps/avx2/mtmd.dll">
406406
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
407-
<Link>runtimes/win-x64/native/avx2/libmtmd.dll</Link>
407+
<Link>runtimes/win-x64/native/avx2/mtmd.dll</Link>
408408
</None>
409409
<None Include="$(MSBuildThisFileDirectory)runtimes/deps/avx512/mtmd.dll">
410410
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
411-
<Link>runtimes/win-x64/native/avx512/libmtmd.dll</Link>
411+
<Link>runtimes/win-x64/native/avx512/mtmd.dll</Link>
412412
</None>
413413
<None Include="$(MSBuildThisFileDirectory)runtimes/deps/cu12.4.0/mtmd.dll">
414414
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
415415
<Link>runtimes/win-x64/native/cuda12/libmtmd.dll</Link>
416416
</None>
417417
<None Include="$(MSBuildThisFileDirectory)runtimes/deps/vulkan/mtmd.dll">
418418
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
419-
<Link>runtimes/win-x64/native/vulkan/libmtmd.dll</Link>
419+
<Link>runtimes/win-x64/native/vulkan/mtmd.dll</Link>
420420
</None>
421421

422422
<None Include="$(MSBuildThisFileDirectory)runtimes/deps/noavx/libmtmd.so">

0 commit comments

Comments
 (0)