-
Notifications
You must be signed in to change notification settings - Fork 144
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
ClangSharp for Gentoo #355
Comments
Because I cannot use ClangSharp, can you suggest other libraries with approximately similar functionality for me to evaluate? |
This is going to be true for any distro that doesn't have official binaries produced directly by Clang/LLVM. |
I do not know what to say. I do not expeке in Linux which I use mostly as regular user, but from my understanding I did test with Alpine in WSL and ClangSharp was not working as well because libClangSharp was not found. I assume based on RID listed in the https://github.com/dotnet/ClangSharp/tree/main/packages/libClangSharp that anything RedHat-based would not work either. |
Yes, clang is popular enough that many distros compile their own copy of the library. This is different from the official set of binaries that Clang produces itself: https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.0:
Many of these don't have official .NET binaries either and only the Arm32/Arm64 targets are "portable" today. Most of these won't work across other distros due to glibc/glibc++ version specific dependencies and need to be recompiled for each target for if a different LIBC is used (such as MUSL). This means that it requires significant effort on dotnet/clangsharp to support all possible Linux distros and that is out of scope for the project. Linux devs on other platforms can build a copy specific for their platform, which is a fairly common task for many different project types on Linux as most (outside the most popular projects) don't have official binaries let alone binaries in the respective package manager. |
I did try to run Gentoo on Linux without involving portage, just using
dotnet tool
, but I found that https://github.com/dotnet/ClangSharp/tree/main/packages/libClangSharp missing runtime package for generic Linux RID. Why? Would it be reasonable to ask for adding generic Linux RID, maybe stating that this is unsupported area?The text was updated successfully, but these errors were encountered: