Diff liburing-2.14 with a liburing-9999
| /usr/portage/sys-libs/liburing/liburing-9999.ebuild 2026-06-15 19:17:06.482175838 +0300 | ||
|---|---|---|
| 9 | 9 |
HOMEPAGE="https://github.com/axboe/liburing" |
| 10 | 10 |
if [[ "${PV}" == *9999 ]] ; then
|
| 11 | 11 |
inherit git-r3 |
| 12 |
EGIT_REPO_URI="https://github.com/axboe/liburing.git" |
|
| 12 |
EGIT_REPO_URI=" |
|
| 13 |
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/liburing.git |
|
| 14 |
https://github.com/axboe/liburing.git |
|
| 15 |
" |
|
| 13 | 16 |
S="${WORKDIR}"/liburing-${PV}
|
| 14 | 17 |
else |
| 15 | 18 |
SRC_URI=" |
| ... | ... | |
| 36 | 39 |
if ! use examples; then |
| 37 | 40 |
sed -e '/examples/d' Makefile -i || die |
| 38 | 41 |
fi |
| 39 | ||
| 40 | 42 |
if ! use test; then |
| 41 | 43 |
sed -e '/test/d' Makefile -i || die |
| 42 |
else |
|
| 43 |
local disabled_tests=( |
|
| 44 |
accept.c |
|
| 45 |
fpos.c |
|
| 46 |
io_uring_register.c |
|
| 47 |
recv-msgall-stream.c |
|
| 48 |
msg-ring.c |
|
| 49 |
wait-timeout.c # early wake up, 10192 |
|
| 50 |
conn-unreach.c # Unexpected shutdown: -107 |
|
| 51 |
io-wq-unused-exit.c # timeout waiting for iou-wrk threads (want_any=0, nr=1) |
|
| 52 |
send-zerocopy.c # submit failed, got 1 expected 1 |
|
| 53 |
) |
|
| 54 |
local disabled_test |
|
| 55 |
for disabled_test in "${disabled_tests[@]}"; do
|
|
| 56 |
sed -i "/\s*${disabled_test}/d" test/Makefile \
|
|
| 57 |
|| die "Failed to remove ${disabled_test}"
|
|
| 58 |
done |
|
| 59 | 44 |
fi |
| 60 | 45 | |
| 61 | 46 |
multilib_copy_sources |
| ... | ... | |
| 88 | 73 |
} |
| 89 | 74 | |
| 90 | 75 |
multilib_src_test() {
|
| 76 |
local disabled_tests=( |
|
| 77 |
accept.c |
|
| 78 |
conn-unreach.t |
|
| 79 |
fpos.c |
|
| 80 |
io_uring_register.c |
|
| 81 |
link-timeout.c |
|
| 82 |
read-before-exit.c |
|
| 83 |
recv-msgall-stream.c |
|
| 84 |
msg-ring.c |
|
| 85 |
wait-timeout.t |
|
| 86 |
) |
|
| 87 |
local disabled_test |
|
| 88 |
for disabled_test in "${disabled_tests[@]}"; do
|
|
| 89 |
sed -i "/\s*${disabled_test}/d" test/Makefile \
|
|
| 90 |
|| die "Failed to remove ${disabled_test}"
|
|
| 91 |
done |
|
| 92 | ||
| 91 | 93 |
emake -C test V=1 runtests |
| 92 | 94 |
} |