chore: drop the liburing prerequisite, which was never used
IORingGroup issues io_uring syscalls directly rather than linking liburing, so the package was never needed. Checked against the shipped IORingGroup 1.0.9 assembly: its P/Invoke targets are libc, libSystem.dylib, kernel32.dll, kernelbase.dll and ws2_32.dll. It contains no reference to liburing and no call to io_uring_queue_init, liburing's entry point -- only the raw io_uring_setup syscall. Removes it from the README, from CI, and from the three places NativeLibraryChecker asked for it (the cross-compile target text, the apt and dnf package lists, and the ldconfig fallback map). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6d81077772
commit
d55a97e7c0
3 changed files with 9 additions and 10 deletions
4
.github/workflows/build-test.yml
vendored
4
.github/workflows/build-test.yml
vendored
|
|
@ -125,10 +125,10 @@ jobs:
|
|||
dnf install -y epel-release
|
||||
if: ${{ matrix.epel }}
|
||||
- name: Install Prerequisites using dnf
|
||||
run: dnf makecache --refresh && dnf install -y findutils libicu libdeflate-devel zstd libargon2-devel liburing-devel
|
||||
run: dnf makecache --refresh && dnf install -y findutils libicu libdeflate-devel zstd libargon2-devel
|
||||
if: ${{ matrix.packageManager == 'dnf' }}
|
||||
- name: Install Prerequisites using apt
|
||||
run: apt-get update -y && apt-get install -y curl libicu-dev libdeflate-dev zstd libargon2-dev tzdata liburing-dev
|
||||
run: apt-get update -y && apt-get install -y curl libicu-dev libdeflate-dev zstd libargon2-dev tzdata
|
||||
if: ${{ matrix.packageManager == 'apt' }}
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ public static class NativeLibraryChecker
|
|||
"Linux",
|
||||
[
|
||||
".NET 10 Runtime — https://dotnet.microsoft.com/download/dotnet/10.0",
|
||||
"Debian/Ubuntu: sudo apt-get install -y libicu-dev libdeflate-dev zstd libargon2-dev liburing-dev",
|
||||
"Fedora/RHEL: sudo dnf install -y libicu libdeflate-devel zstd libargon2-devel liburing-devel",
|
||||
"Debian/Ubuntu: sudo apt-get install -y libicu-dev libdeflate-dev zstd libargon2-dev",
|
||||
"Fedora/RHEL: sudo dnf install -y libicu libdeflate-devel zstd libargon2-devel",
|
||||
"CentOS: Also requires epel-release and CRB enabled"
|
||||
]
|
||||
),
|
||||
|
|
@ -189,7 +189,7 @@ public static class NativeLibraryChecker
|
|||
private static List<PrerequisiteResult> CheckLinuxApt()
|
||||
{
|
||||
var results = new List<PrerequisiteResult>();
|
||||
var packages = new[] { "libicu-dev", "libdeflate-dev", "zstd", "libargon2-dev", "liburing-dev" };
|
||||
var packages = new[] { "libicu-dev", "libdeflate-dev", "zstd", "libargon2-dev" };
|
||||
var missing = new List<string>();
|
||||
|
||||
foreach (var package in packages)
|
||||
|
|
@ -228,7 +228,7 @@ public static class NativeLibraryChecker
|
|||
private static List<PrerequisiteResult> CheckLinuxDnf(PlatformInfo platform)
|
||||
{
|
||||
var results = new List<PrerequisiteResult>();
|
||||
var packages = new[] { "libicu", "libdeflate-devel", "zstd", "libargon2-devel", "liburing-devel" };
|
||||
var packages = new[] { "libicu", "libdeflate-devel", "zstd", "libargon2-devel" };
|
||||
var missing = new List<string>();
|
||||
|
||||
foreach (var package in packages)
|
||||
|
|
@ -291,8 +291,7 @@ public static class NativeLibraryChecker
|
|||
["libicu"] = "libicuuc",
|
||||
["libdeflate"] = "libdeflate",
|
||||
["zstd"] = "libzstd",
|
||||
["libargon2"] = "libargon2",
|
||||
["liburing"] = "liburing"
|
||||
["libargon2"] = "libargon2"
|
||||
};
|
||||
|
||||
foreach (var (name, soName) in libraries)
|
||||
|
|
|
|||
|
|
@ -87,13 +87,13 @@ dnf install -y dnf-plugins-core
|
|||
dnf config-manager --set-enabled crb
|
||||
dnf install -y epel-release
|
||||
# Prerequisites
|
||||
dnf install -y findutils libicu libdeflate-devel zstd libargon2-devel liburing-devel
|
||||
dnf install -y findutils libicu libdeflate-devel zstd libargon2-devel
|
||||
```
|
||||
|
||||
### Ubuntu, Debian, etc
|
||||
```shell
|
||||
apt-get update -y
|
||||
apt-get install -y libicu-dev libdeflate-dev zstd libargon2-dev liburing-dev
|
||||
apt-get install -y libicu-dev libdeflate-dev zstd libargon2-dev
|
||||
```
|
||||
|
||||
## OSX Requirements
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue