-
Notifications
You must be signed in to change notification settings - Fork 204
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
NuGet package with binary deps for linux x64 #25
Comments
Hi |
It's working for me in Ubuntu Focal and Ubuntu Jammy docker container. It's just taking the binaries used to produce the docker images to produce a NuGet package instead. Dockerfile:
PaddleInference.runtime.linux-x64.csproj:
And then build it with: And when one uses the package, it's necessary to add runtimes/linux-x64/native dir to LD_LIBRARY_PATH. |
Actually in my |
In my opinion, it's not necessary to support a raw linux machine with the nuget package. But it should enable developers on linux to use the library more easily. Otherwise, it's necessary to somehow setup a docker environment for development. If there's a script to produce the package already, that's great. Do you think you could publish that package as part of the release procedure? In a similar manner as the windows one. |
Yes I can publish the Linux nuget package, however I believe a lots of client will be very hard to understand a nuget package isn't enough to run LOL, they will very likely choose docker to run in Linux. |
@lejsekt please checkout the nuget package and have a test, please tell me if there is any question: Please note that linux is linking some dynamic libraries with symlinks, however it's does not supported in NuGet, so I made a few copies(which isn't very efficient): NuGet/Home#10734 |
Thanks, I'll give it a try. |
Works as expected, thanks. Looking forward to a release version of the package. |
I think I shouldn't make a release version because it seems not make sense by hard copy these linked .so files. |
Hey,
I haven't found a NuGet package containing the binary dependencies for linux x64 platform. I've created one (based on the provided Dockerfile) for internal use as the provided docker images are sufficient for deployment, but not development scenarios. I'm now dockerizing the build of the package. Would you be interested in a PR? What are you thoughts on this?
The text was updated successfully, but these errors were encountered: