Skip to content

Do not bundle the ILCompiler (NativeAOT) on ppc64le#55051

Open
pkubaj wants to merge 1 commit into
dotnet:mainfrom
pkubaj:ppc64le-freebsd-no-nativeaot
Open

Do not bundle the ILCompiler (NativeAOT) on ppc64le#55051
pkubaj wants to merge 1 commit into
dotnet:mainfrom
pkubaj:ppc64le-freebsd-no-nativeaot

Conversation

@pkubaj

@pkubaj pkubaj commented Jun 29, 2026

Copy link
Copy Markdown

PowerPC has no NativeAOT/ILCompiler code-generation backend, so the freebsd-ppc64le ILCompiler/NativeAOT packs don't exist. Disable BundleNativeAotCompiler for ppc64le in src/Layout/Directory.Build.props so the source build doesn't try to restore them (RestoreLayout.targets keys the ILCompiler/NativeAOT/ILLink packs on this property). Part of a FreeBSD/powerpc64le (ppc64le) port. Sibling PRs: dotnet/runtime (PAL/platform), dotnet/arcade (eng/common detection), dotnet/fsharp.

I have signed (or will sign on the dnfadmin bot's prompt) the .NET Foundation CLA.

@am11 am11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After merging main to your branch, you can use the feature condition.

Comment thread src/Layout/Directory.Build.props
Comment thread src/Layout/Directory.Build.props Outdated
…4le)

Gate BundleNativeAotCompiler on the NativeAotSupported feature flag instead of
attempting to bundle the ILCompiler/NativeAOT packs on RIDs that have no
NativeAOT backend. eng/common/native/NativeAotSupported.props already excludes
ppc64le (and s390x, wasm, and the unsupported OSes), so the source build no
longer tries to restore the nonexistent freebsd-ppc64le ILCompiler packs.
@pkubaj pkubaj force-pushed the ppc64le-freebsd-no-nativeaot branch from ad18703 to 4a321ae Compare July 9, 2026 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants