Skip to content

Support macOS for release builds #196

@elringus

Description

@elringus

We're using NativeAOT-LLVM compiler for release builds and it doesn't provide a macOS target yet.

Afaik, the maintainers are open for PRs on that, so if anyone interested — please let them know.

Associated upstream issue: dotnet/runtimelab#2119

Once upstream is ready, we can add the macOS-related plumbing in these files:

<PackageDefinitions Condition="'$([MSBuild]::IsOSPlatform(`Windows`))' == 'true'"
Include="$(BsLlvmDir)/runtime.win-x64.microsoft.dotnet.ilcompiler.llvm">
<Name>runtime.win-x64.Microsoft.DotNet.ILCompiler.LLVM</Name>
<ResolvedPath>$(BsLlvmDir)/runtime.win-x64.microsoft.dotnet.ilcompiler.llvm</ResolvedPath>
</PackageDefinitions>
<PackageDefinitions Condition="'$([MSBuild]::IsOSPlatform(`Linux`))' == 'true'"
Include="$(BsLlvmDir)/runtime.linux-x64.microsoft.dotnet.ilcompiler.llvm">
<Name>runtime.linux-x64.Microsoft.DotNet.ILCompiler.LLVM</Name>
<ResolvedPath>$(BsLlvmDir)/runtime.linux-x64.microsoft.dotnet.ilcompiler.llvm</ResolvedPath>
</PackageDefinitions>

PACKAGES=(
"microsoft.dotnet.ilcompiler.llvm"
"runtime.browser-wasm.microsoft.dotnet.ilcompiler.llvm"
"runtime.win-x64.microsoft.dotnet.ilcompiler.llvm"
"runtime.linux-x64.microsoft.dotnet.ilcompiler.llvm"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or enhancementexternalThe issue is caused by a third-partyhelp wantedCommunity assistance is most appreciated

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions