Skip to content

hwcaps-loader: Add at v0.3.0 #5463

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

hwcaps-loader: Add at v0.3.0 #5463

wants to merge 1 commit into from

Conversation

joebonrichie
Copy link
Contributor

Summary

for x86-64-v3 optimized binaries.

Depends on getsolus/ypkg#102

Test Plan

Build lzip and gzip with avx2 enabled in package.yml, verify the binary gets loaded from the new directory.

e.g.

--- a/packages/g/gzip/pspec_x86_64.xml
+++ b/packages/g/gzip/pspec_x86_64.xml
@@ -34,6 +34,8 @@
             <Path fileType="executable">/usr/bin/zless</Path>
             <Path fileType="executable">/usr/bin/zmore</Path>
             <Path fileType="executable">/usr/bin/znew</Path>
+            <Path fileType="data">/usr/hwcaps/x86-64-v1/bin/gzip</Path>
+            <Path fileType="data">/usr/hwcaps/x86-64-v3/bin/gzip</Path>
             <Path fileType="info">/usr/share/info/gzip.info</Path>
             <Path fileType="man">/usr/share/man/man1/gunzip.1</Path>
             <Path fileType="man">/usr/share/man/man1/gzexe.1</Path>

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

Successfully merging this pull request may close these issues.

1 participant