Skip to content

hwcaps-loader: Add at v0.3.0#5463

Draft
joebonrichie wants to merge 1 commit intomainfrom
hwcaps-loader
Draft

hwcaps-loader: Add at v0.3.0#5463
joebonrichie wants to merge 1 commit intomainfrom
hwcaps-loader

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