summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-16 10:14:31 +0100
committerSam James <sam@gentoo.org>2024-06-16 10:16:18 +0100
commit46543de67f3685f0fe35c00a04b0cdd4e058a1fb (patch)
tree475fe0c1d3b73c63bb06c57cbdc971a73defce07 /app-arch/xz-utils
parentapp-arch/xz-utils: fix typo in Solaris comment (diff)
downloadgentoo-46543de67f3685f0fe35c00a04b0cdd4e058a1fb.tar.gz
gentoo-46543de67f3685f0fe35c00a04b0cdd4e058a1fb.tar.bz2
gentoo-46543de67f3685f0fe35c00a04b0cdd4e058a1fb.zip
app-arch/xz-utils: PGO touchups
* Improve logging during PGO runs * Add '-e' and '--x86 --lzma2-preset=6e' runs Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/xz-utils')
-rw-r--r--app-arch/xz-utils/xz-utils-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild
index 75c13d51474e..e2ebfa2e077d 100644
--- a/app-arch/xz-utils/xz-utils-9999.ebuild
+++ b/app-arch/xz-utils/xz-utils-9999.ebuild
@@ -158,11 +158,14 @@ multilib_src_compile() {
# Our own variants
''
+ '-e'
'-9e'
+ "$(usev extra-filters '--x86 --lzma2=preset=6e')"
"$(usev extra-filters '--x86 --lzma2=preset=9e')"
)
local test_variant
for test_variant in "${test_variants[@]}" ; do
+ einfo "Testing '${test_variant}' variant"
"${BUILD_DIR}"/src/xz/xz -c ${test_variant} xz-pgo-test-01.tar | "${BUILD_DIR}"/src/xz/xz -c -d - > /dev/null
assert "Testing '${test_variant}' variant failed"
done