-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Remove x86 from nuget #27124
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
Remove x86 from nuget #27124
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -28,14 +28,7 @@ | |||||
| </Link> | ||||||
| </ItemDefinitionGroup> | ||||||
|
|
||||||
| <ItemDefinitionGroup Condition="'$(PlatformTarget)' == 'x86' OR ('$(PlatformTarget)' == 'AnyCPU' AND '$(Prefer32Bit)' == 'true')"> | ||||||
| <Link> | ||||||
| <AdditionalDependencies>$(MSBuildThisFileDirectory)../../runtimes/win-x86/native/onnxruntime.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||||||
| </Link> | ||||||
| </ItemDefinitionGroup> | ||||||
|
|
||||||
| <PropertyGroup> | ||||||
| <EnginePlatform Condition="'$(Platform)' == 'Win32'">x86</EnginePlatform> | ||||||
| <EnginePlatform Condition="'$(Platform)' == 'ARM64'">arm64</EnginePlatform> | ||||||
| <EnginePlatform Condition="'$(Platform)' == 'ARM'">arm</EnginePlatform> | ||||||
| <EnginePlatform Condition="'$(Platform)' != 'Win32' AND '$(Platform)' != 'ARM64'">$(Platform)</EnginePlatform> | ||||||
|
||||||
| <EnginePlatform Condition="'$(Platform)' != 'Win32' AND '$(Platform)' != 'ARM64'">$(Platform)</EnginePlatform> | |
| <EnginePlatform Condition="'$(Platform)' != 'ARM64' AND '$(Platform)' != 'ARM'">$(Platform)</EnginePlatform> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The condition still references Win32 even though x86 platform support is being removed. After removing x86 support, this condition should be simplified since Win32 is no longer a supported platform. The condition can be changed to only check for ARM64, or the entire condition may need to be redesigned to avoid referencing Win32.