Skip to content

Commit

Permalink
[mono] Link against debug version of LLVM in debug builds (dotnet#109275
Browse files Browse the repository at this point in the history
)
  • Loading branch information
akoeplinger authored Oct 29, 2024
1 parent e476b43 commit 9873d40
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/mono/llvm/llvm-init.proj
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<MonoLLVMToolsVersion Condition="'$(MonoLLVMHostOS)' == 'linux-musl'">$(runtimelinuxmuslx64MicrosoftNETCoreRuntimeMonoLLVMToolsVersion)</MonoLLVMToolsVersion>
<MonoLLVMToolsVersion Condition="'$(MonoLLVMHostOS)' == 'win'">$(runtimewinx64MicrosoftNETCoreRuntimeMonoLLVMToolsVersion)</MonoLLVMToolsVersion>
<MonoLLVMToolsVersion Condition="'$(MonoLLVMHostOS)' == 'osx'">$(runtimeosxx64MicrosoftNETCoreRuntimeMonoLLVMToolsVersion)</MonoLLVMToolsVersion>
<MonoLLVMSDKDebugSuffix Condition="'$(MonoLLVMHostOS)' == 'win' and '$(Configuration)' == 'Debug'" >.Debug</MonoLLVMSDKDebugSuffix>
</PropertyGroup>

<ItemGroup>
Expand All @@ -28,15 +29,15 @@
Version="$(MonoLLVMToolsVersion)"
PackageArch="$(BuildArchitecture)"
Condition="'$(BuildArchitecture)' != ''" />
<PackageReference Include="runtime.$(MonoLLVMHostOS)-$(TargetArchitecture).Microsoft.NETCore.Runtime.Mono.LLVM.Sdk"
<PackageReference Include="runtime.$(MonoLLVMHostOS)-$(TargetArchitecture).Microsoft.NETCore.Runtime.Mono.LLVM.Sdk$(MonoLLVMSDKDebugSuffix)"
Version="$(MonoLLVMSDKVersion)"
PackageArch="$(TargetArchitecture)"
Condition="'$(TargetArchitecture)' != ''" />
<PackageReference Include="runtime.$(MonoLLVMHostOS)-$(AotHostArchitecture).Microsoft.NETCore.Runtime.Mono.LLVM.Sdk"
<PackageReference Include="runtime.$(MonoLLVMHostOS)-$(AotHostArchitecture).Microsoft.NETCore.Runtime.Mono.LLVM.Sdk$(MonoLLVMSDKDebugSuffix)"
Version="$(MonoLLVMSDKVersion)"
PackageArch="$(AotHostArchitecture)"
Condition="'$(AotHostArchitecture)' != ''" />
<PackageReference Include="runtime.$(MonoLLVMHostOS)-$(BuildArchitecture).Microsoft.NETCore.Runtime.Mono.LLVM.Sdk"
<PackageReference Include="runtime.$(MonoLLVMHostOS)-$(BuildArchitecture).Microsoft.NETCore.Runtime.Mono.LLVM.Sdk$(MonoLLVMSDKDebugSuffix)"
Version="$(MonoLLVMSDKVersion)"
PackageArch="$(BuildArchitecture)"
Condition="'$(BuildArchitecture)' != ''" />
Expand Down

0 comments on commit 9873d40

Please sign in to comment.