3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-24 15:20:35 +01:00

Update natives to latest libdeflate and add OpenSSL 3 native compiled on Fedora 36 for ARM64

Dieser Commit ist enthalten in:
Andrew Steinborn 2022-09-11 23:54:33 -04:00
Ursprung 6547ccaa7e
Commit ece90dedfb
7 geänderte Dateien mit 6 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -84,7 +84,7 @@ public class Natives {
new NativeCodeLoader.Variant<>(NativeConstraints.LINUX_AARCH64, new NativeCodeLoader.Variant<>(NativeConstraints.LINUX_AARCH64,
copyAndLoadNative("/linux_aarch64/velocity-compress.so"), copyAndLoadNative("/linux_aarch64/velocity-compress.so"),
"libdeflate (Linux aarch64)", "libdeflate (Linux aarch64)",
LibdeflateVelocityCompressor.FACTORY), LibdeflateVelocityCompressor.FACTORY), // compiled with Fedora 36
new NativeCodeLoader.Variant<>(NativeConstraints.MACOS_AARCH64, new NativeCodeLoader.Variant<>(NativeConstraints.MACOS_AARCH64,
copyAndLoadNative("/macos_arm64/velocity-compress.dylib"), copyAndLoadNative("/macos_arm64/velocity-compress.dylib"),
"libdeflate (macOS ARM64 / Apple Silicon)", "libdeflate (macOS ARM64 / Apple Silicon)",
@ -109,8 +109,11 @@ public class Natives {
copyAndLoadNative("/linux_x86_64/velocity-cipher-ossl10x.so"), // CentOS 7 copyAndLoadNative("/linux_x86_64/velocity-cipher-ossl10x.so"), // CentOS 7
"OpenSSL 1.0.x (Linux x86_64)", NativeVelocityCipher.FACTORY), "OpenSSL 1.0.x (Linux x86_64)", NativeVelocityCipher.FACTORY),
new NativeCodeLoader.Variant<>(NativeConstraints.LINUX_AARCH64, new NativeCodeLoader.Variant<>(NativeConstraints.LINUX_AARCH64,
copyAndLoadNative("/linux_aarch64/velocity-cipher.so"), copyAndLoadNative("/linux_aarch64/velocity-cipher-ossl30x.so"),
"OpenSSL (Linux aarch64)", NativeVelocityCipher.FACTORY), "OpenSSL (Linux aarch64)", NativeVelocityCipher.FACTORY), // Fedora 36
new NativeCodeLoader.Variant<>(NativeConstraints.LINUX_AARCH64,
copyAndLoadNative("/linux_aarch64/velocity-cipher-ossl11x.so"),
"OpenSSL 1.1.x (Linux aarch64)", NativeVelocityCipher.FACTORY), // Debian 11
new NativeCodeLoader.Variant<>(NativeConstraints.MACOS_AARCH64, new NativeCodeLoader.Variant<>(NativeConstraints.MACOS_AARCH64,
copyAndLoadNative("/macos_arm64/velocity-cipher.dylib"), copyAndLoadNative("/macos_arm64/velocity-cipher.dylib"),
"native (macOS ARM64 / Apple Silicon)", "native (macOS ARM64 / Apple Silicon)",

Binäre Datei nicht angezeigt.

Binäre Datei nicht angezeigt.