-
Notifications
You must be signed in to change notification settings - Fork 111
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
Add support for linux-ppc64le target #525
Conversation
Adding some context to this request -- in .NET7 announced today by Microsoft, we now have support for the ppc64le ( Linux on IBM Power) . We would like to enable the .NET applications on ppc64le to talk to Database back ends and this PR is part of that work. Appreciate consideration of this PR. |
Thank for merging this PR so quickly. What is the cadence of your releases - when is the next release scheduled for? Is there a publicly available daily build that we can use to test with? |
I plan to do a test release yet this week, and probably a full release next week. |
@janani66 Version 2.1.3-pre20221111222311 on nuget should contain your pull requests for linux-ppc64le support. Have you by chance had an opportunity to test that release and verify that it works? Thanks! |
@ericsink |
Hi @ericsink Below are the steps that I used for testing this with IdentityServer4 repository.
The IdentityServer4 build and tests works on Intel machine but on Power machine exception occurrs saying that e_sqlite3 DLL is not found. I am trying to check whats there in nuget package but Can you please have a look at the package whether it is there or not? Below is the exception log: |
The file is present in the package.
Possibly useful (or not) diagnostic questions:
|
Thanks @ericsink for the response. I will try sample program suggested by you and also trying other solutions to check what's going wrong on Power machine. I will get back to you once I get something. |
@ericsink I have built efcore on Intel machine after making above changes and then used the generated nuget packages on Power machine. After using these packages it refers to correct version 2.1.3-pre20221111222311 for each package and installs it correctly and DLL Not Found exception got resolved. The build and test suites passed on Power. @ericsink |
I can't answer anything about what needs to happen for the efcore repo. You'd have to ask them. One further thing you could verify would be to create a test project that uses efcore packages from nuget instead of using your own build of the efcore repo, but with an additional PackageReference to update SQLitePCLRaw to 2.1.3-pre20221111222311. It seems like such a test should work on Power, assuming that efcore itself did not need any changes. Something like this:
In any case, based on what you said above, it sounds like the ppc64le builds of e_sqlite3 are working okay, so I should be able to do a release version with no further changes to SQLitePCLRaw. |
@ericsink -- yes the ppc64le builds of e_sqlite3 ( 2.1.3-pre20221111222311) are working okay. Do let us know when you do a release version of this. |
@ericsink |
@alhad-deshpande I have not forgotten. I have been waiting because there is a bug fix that seemed imminent, but I had hoped that would be done by now. I may need to just go ahead and do the release. |
@alhad-deshpande Version 2.1.3 (with ppc64le) has been published to nuget.org. |
Thanks @ericsink |
This PR consists of the changes to support ppc64le target.