Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0] Fix downlevel build break in TensorPrimitives #92270

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 19, 2023

Backport of #92269 to release/8.0

/cc @stephentoub

This fixes a build failure introduced by #92245 and only happening in release/8.0. As the original PR has already been approved, we can consider this tell-mode to fix the build failure.

@ghost
Copy link

ghost commented Sep 19, 2023

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #92269 to release/8.0

/cc @stephentoub

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-System.Numerics

Milestone: -

@steveisok steveisok self-requested a review September 19, 2023 14:24
Comment on lines +11 to 13
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">
<Compile Include="System.Numerics.Tensors.netcore.cs" />
</ItemGroup>
Copy link
Member

Choose a reason for hiding this comment

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

nit (only for the release/8.0 branch): The compile item's name is misleading as it applies to net7.0 and net8.0 only but net6.0 is also netcore.

Copy link
Member

Choose a reason for hiding this comment

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

Good point, since this is more in the style realm, I'll let @michaelgsharp / @stephentoub / @tannergooding consider a rename here. #92219

Copy link
Member

Choose a reason for hiding this comment

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

I'm having a hard time thinking of a better name. The suffix is really about the surface area it's targeting / being constrained to, which is the netstandard surface area. The fact that it's also being used in a build for a .NET Core TFM doesn't really matter, IMO.

Copy link
Member

Choose a reason for hiding this comment

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

Let's address this request for GA. This is blocking the RC2 snap, so I merged it as-is.

@ericstj
Copy link
Member

ericstj commented Sep 19, 2023

This is approved/tell-mode to fix the build break, just as other infra work would be. Original work was already approved and this does not materially change that original PR.

@carlossanlop carlossanlop merged commit 575843d into release/8.0 Sep 19, 2023
107 of 108 checks passed
@carlossanlop carlossanlop deleted the backport/pr-92269-to-release/8.0 branch September 19, 2023 16:15
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Numerics Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants