summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-31 22:57:37 +0100
committerSam James <sam@gentoo.org>2024-05-31 22:57:37 +0100
commitdcced683ec572c49cb46c52be52389aed5be1575 (patch)
tree23bd629d61d3c4e094a82e7fb6236b9005dd03f5 /app-arch
parentapp-arch/xz-utils: fix quoting for PGO (diff)
downloadgentoo-dcced683ec572c49cb46c52be52389aed5be1575.tar.gz
gentoo-dcced683ec572c49cb46c52be52389aed5be1575.tar.bz2
gentoo-dcced683ec572c49cb46c52be52389aed5be1575.zip
app-arch/xz-utils: improve PGO
Capture .libs/ so we get liblzma.so and xz. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/xz-utils/xz-utils-5.6.2.ebuild6
-rw-r--r--app-arch/xz-utils/xz-utils-9999.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/app-arch/xz-utils/xz-utils-5.6.2.ebuild b/app-arch/xz-utils/xz-utils-5.6.2.ebuild
index aa93a8f1f0cd..1a3ca64e6cc2 100644
--- a/app-arch/xz-utils/xz-utils-5.6.2.ebuild
+++ b/app-arch/xz-utils/xz-utils-5.6.2.ebuild
@@ -129,12 +129,12 @@ multilib_src_compile() {
"${tar_pgo_args[@]}" \
-cf xz-pgo-test-01.tar \
{"${S}","${BUILD_DIR}"}/**/*.[cho] \
- {"${S}","${BUILD_DIR}"}/**/*.so* \
+ {"${S}","${BUILD_DIR}"}/**/.libs/* \
{"${S}","${BUILD_DIR}"}/**/**.txt \
{"${S}","${BUILD_DIR}"}/tests/files
- stat --printf="xz-pgo-test-01.tar.tar size: %s\n" xz-pgo-test-01.tar
- md5sum xz-pgo-test-01.tar
+ stat --printf="xz-pgo-test-01.tar.tar size: %s\n" xz-pgo-test-01.tar || die
+ md5sum xz-pgo-test-01.tar || die
)
local test_variants=(
diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild
index aa93a8f1f0cd..1a3ca64e6cc2 100644
--- a/app-arch/xz-utils/xz-utils-9999.ebuild
+++ b/app-arch/xz-utils/xz-utils-9999.ebuild
@@ -129,12 +129,12 @@ multilib_src_compile() {
"${tar_pgo_args[@]}" \
-cf xz-pgo-test-01.tar \
{"${S}","${BUILD_DIR}"}/**/*.[cho] \
- {"${S}","${BUILD_DIR}"}/**/*.so* \
+ {"${S}","${BUILD_DIR}"}/**/.libs/* \
{"${S}","${BUILD_DIR}"}/**/**.txt \
{"${S}","${BUILD_DIR}"}/tests/files
- stat --printf="xz-pgo-test-01.tar.tar size: %s\n" xz-pgo-test-01.tar
- md5sum xz-pgo-test-01.tar
+ stat --printf="xz-pgo-test-01.tar.tar size: %s\n" xz-pgo-test-01.tar || die
+ md5sum xz-pgo-test-01.tar || die
)
local test_variants=(