-
Notifications
You must be signed in to change notification settings - Fork 538
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
Support arm64 native assets for Tizen #2324
base: main
Are you sure you want to change the base?
Conversation
9fae8f4
to
232f526
Compare
I think arm64 arch build should be supported on
|
232f526
to
82869ff
Compare
Let me have a look at CI and see what is happening... |
<None Include="..\..\output\native\tizen\armel\libHarfBuzzSharp.*" Link="nuget\runtimes\tizen-armel\%(Filename)%(Extension)" /> | ||
<None Include="..\..\output\native\tizen\arm64\libHarfBuzzSharp.*" Link="nuget\runtimes\tizen-arm64\%(Filename)%(Extension)" /> | ||
<None Include="..\..\output\native\tizen\i386\libHarfBuzzSharp.*" Link="nuget\runtimes\tizen-x86\%(Filename)%(Extension)" /> | ||
<None Include="..\..\output\native\tizen\i386\libHarfBuzzSharp.*" Link="nuget\runtimes\linux-x86\%(Filename)%(Extension)" /> |
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.
Do we still need the linux-x86
runtime? I am not sure we can do this as it will replace the linux binary - and will also cause the tizen binary to run on a linux (desktop) machine.
What we can do is actually just keep the tizen-x86
version, and pack it twice in the tizen nuget.
@@ -39,11 +41,14 @@ Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release | |||
<file src="build/tizen40/HarfBuzzSharp.targets" target="buildTransitive/tizen40/HarfBuzzSharp.NativeAssets.Tizen.targets" /> | |||
|
|||
<!-- libHarfBuzzSharp.dll and other native files --> | |||
<file src="build/tizen40/arm/libHarfBuzzSharp.so" /> | |||
<file src="build/tizen40/x86/libHarfBuzzSharp.so" /> | |||
<file src="runtimes/linux-x86/native/libHarfBuzzSharp.so" /> |
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.
<file src="runtimes/linux-x86/native/libHarfBuzzSharp.so" /> | |
<file src="runtimes/tizen-x86/native/libHarfBuzzSharp.so" target="runtimes/linux-x86/native/libHarfBuzzSharp.so" /> |
<None Include="..\..\output\native\tizen\armel\libSkiaSharp.*" Link="nuget\runtimes\tizen-armel\libSkiaSharp.so" /> | ||
<None Include="..\..\output\native\tizen\arm64\libSkiaSharp.*" Link="nuget\runtimes\tizen-arm64\libSkiaSharp.so" /> | ||
<None Include="..\..\output\native\tizen\i386\libSkiaSharp.*" Link="nuget\runtimes\tizen-x86\libSkiaSharp.so" /> | ||
<None Include="..\..\output\native\tizen\i386\libSkiaSharp.*" Link="nuget\runtimes\linux-x86\libSkiaSharp.so" /> |
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.
Same as above, don't copy here, just pack twice.
@@ -40,11 +42,14 @@ Please visit https://go.microsoft.com/fwlink/?linkid=868517 to view the release | |||
<file src="build/tizen40/SkiaSharp.targets" target="buildTransitive/tizen40/SkiaSharp.NativeAssets.Tizen.targets" /> | |||
|
|||
<!-- libSkiaSharp.dll and other native files --> | |||
<file src="build/tizen40/arm/libSkiaSharp.so" /> | |||
<file src="build/tizen40/x86/libSkiaSharp.so" /> | |||
<file src="runtimes/linux-x86/native/libSkiaSharp.so" /> |
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.
<file src="runtimes/linux-x86/native/libSkiaSharp.so" /> | |
<file src="runtimes/tizen-x86/native/libSkiaSharp.so" target="runtimes/linux-x86/native/libSkiaSharp.so" /> |
Hopefully my review makes sense... I think I forgot the picture I have in my head is not really visible outside my mind... |
I tried using the latest Tizen Studio on the new main, and it appears the be missing headers. I forget now, but it was like missing math headers or something. I was able to see the arm/x86 had more headers than the arm64/x64. |
Description of Change
This PR is for arm64 support in
SkiaSharp.NativeAssets.Tizen
andHarfBuzzSahrp.NativeAssets.Tizen
.Bugs Fixed
None.
API Changes
None.
Behavioral Changes
None.
Required skia PR
None.
PR Checklist