-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Arm build changes #5789
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
Arm build changes #5789
Changes from 1 commit
07acc68
b813fb9
c945a05
37ca2d7
745088b
a50ba08
f277fbf
266208a
3e27e67
0b461b2
955c40b
630e024
07e1fe0
73c3f0f
629b4e6
b207b56
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,15 @@ | |
</NativeAssemblyReference> | ||
</ItemGroup> | ||
|
||
<Copy SourceFiles = "@(NativeAssemblyReference->'%(FullAssemblyPath)')" | ||
<PropertyGroup> | ||
<ShouldCopyx64>false</ShouldCopyx64> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure I understand the value of these properties. What other target architectures do we have beside x86, x64, arm64, or arm? These properties appear to only be used in the below Copy, and as far as I can tell, that condition is always true. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, I see now, this is to support copying There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct. I figured we could also use this same pattern when we get to blazer WASM. Though I guess we can't really copy any native files there... so maybe this was a bit overkill. |
||
<ShouldCopyx64 Condition="'$(TargetArchitecture)' == 'x86' Or '$(TargetArchitecture)' == 'x64'">true</ShouldCopyx64> | ||
<ShouldCopyArm>false</ShouldCopyArm> | ||
<ShouldCopyArm Condition="('$(TargetArchitecture)' == 'arm64' Or '$(TargetArchitecture)' == 'arm') And %(NativeAssemblyReference.Item) == %(TargetsArm.Identity)">true</ShouldCopyArm> | ||
</PropertyGroup> | ||
|
||
<Copy Condition="$(ShouldCopyx64) or $(ShouldCopyArm)" | ||
SourceFiles = "@(NativeAssemblyReference->'%(FullAssemblyPath)')" | ||
DestinationFolder="$(OutDir)" | ||
OverwriteReadOnlyFiles="$(OverwriteReadOnlyFiles)" | ||
Retries="$(CopyRetryCount)" | ||
|
Uh oh!
There was an error while loading. Please reload this page.