From 8f43fa5e6be7912df2300cdf36a030dd4170e9ed Mon Sep 17 00:00:00 2001 From: Joey Riches Date: Tue, 15 Apr 2025 18:21:27 +0100 Subject: [PATCH] hwcaps-loader: Add at v0.3.0 --- packages/h/hwcaps-loader/abi_used_libs | 1 + packages/h/hwcaps-loader/abi_used_symbols | 4 +++ packages/h/hwcaps-loader/package.yml | 22 +++++++++++++ packages/h/hwcaps-loader/pspec_x86_64.xml | 39 +++++++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 packages/h/hwcaps-loader/abi_used_libs create mode 100644 packages/h/hwcaps-loader/abi_used_symbols create mode 100644 packages/h/hwcaps-loader/package.yml create mode 100644 packages/h/hwcaps-loader/pspec_x86_64.xml diff --git a/packages/h/hwcaps-loader/abi_used_libs b/packages/h/hwcaps-loader/abi_used_libs new file mode 100644 index 000000000000..631aa1dda402 --- /dev/null +++ b/packages/h/hwcaps-loader/abi_used_libs @@ -0,0 +1 @@ +libc.so.6 diff --git a/packages/h/hwcaps-loader/abi_used_symbols b/packages/h/hwcaps-loader/abi_used_symbols new file mode 100644 index 000000000000..82dea9cf7774 --- /dev/null +++ b/packages/h/hwcaps-loader/abi_used_symbols @@ -0,0 +1,4 @@ +libc.so.6:__libc_start_main +libc.so.6:bcmp +libc.so.6:memcpy +libc.so.6:memset diff --git a/packages/h/hwcaps-loader/package.yml b/packages/h/hwcaps-loader/package.yml new file mode 100644 index 000000000000..6e7adaa82098 --- /dev/null +++ b/packages/h/hwcaps-loader/package.yml @@ -0,0 +1,22 @@ +name : hwcaps-loader +version : 0.3.0 +release : 1 +source : + - https://github.com/jrelvas-ipc/hwcaps-loader/archive/refs/tags/v0.3.0.tar.gz : 48f6268d7adc3ace4ddfeaa655f95a407cee1042bfc2ebd7d0522465a7d04e58 +homepage : https://github.com/jrelvas-ipc/hwcaps-loader +license : GPL-3.0-or-later +component : system.base +summary : hwcaps-loader is a solution for dealing with optimized binaries in Linux distributions. +description: | + Newer CPU variants bring new instructions and additional registers. The compiler can take advantage of those capabilities to generate more performant code. In particular, using vectorized code (SIMD processing in X86_64 and other architectures) can give a big performance benefit. + x86-64-v2 and x86-64-v3 processors are exceedingly common these days, and x86-64-v4 processors are also being sold, so providing optimized binaries is increasingly more important. + Typically, Linux distributions only ship a single version of every program... one with wide support for different hardware variants. This effectively means that code cannot be compiled in a way that requires newer optional CPU features. Unfortunately, this means that newer hardware often misses out on extra performance and lower latency. +networking : yes +builddeps : + - rust +setup : | + %cargo_fetch +build : | + %cargo_build +install : | + %cargo_install diff --git a/packages/h/hwcaps-loader/pspec_x86_64.xml b/packages/h/hwcaps-loader/pspec_x86_64.xml new file mode 100644 index 000000000000..ec9edc58c8a1 --- /dev/null +++ b/packages/h/hwcaps-loader/pspec_x86_64.xml @@ -0,0 +1,39 @@ + + + hwcaps-loader + https://github.com/jrelvas-ipc/hwcaps-loader + + Joey Riches + josephriches@gmail.com + + GPL-3.0-or-later + system.base + hwcaps-loader is a solution for dealing with optimized binaries in Linux distributions. + Newer CPU variants bring new instructions and additional registers. The compiler can take advantage of those capabilities to generate more performant code. In particular, using vectorized code (SIMD processing in X86_64 and other architectures) can give a big performance benefit. +x86-64-v2 and x86-64-v3 processors are exceedingly common these days, and x86-64-v4 processors are also being sold, so providing optimized binaries is increasingly more important. +Typically, Linux distributions only ship a single version of every program... one with wide support for different hardware variants. This effectively means that code cannot be compiled in a way that requires newer optional CPU features. Unfortunately, this means that newer hardware often misses out on extra performance and lower latency. + + https://sources.getsol.us/README.Solus + + + hwcaps-loader + hwcaps-loader is a solution for dealing with optimized binaries in Linux distributions. + Newer CPU variants bring new instructions and additional registers. The compiler can take advantage of those capabilities to generate more performant code. In particular, using vectorized code (SIMD processing in X86_64 and other architectures) can give a big performance benefit. +x86-64-v2 and x86-64-v3 processors are exceedingly common these days, and x86-64-v4 processors are also being sold, so providing optimized binaries is increasingly more important. +Typically, Linux distributions only ship a single version of every program... one with wide support for different hardware variants. This effectively means that code cannot be compiled in a way that requires newer optional CPU features. Unfortunately, this means that newer hardware often misses out on extra performance and lower latency. + + system.base + + /usr/bin/hwcaps-loader + + + + + 2025-04-15 + 0.3.0 + Packaging update + Joey Riches + josephriches@gmail.com + + + \ No newline at end of file