Сравнение liburing-2.14 с liburing-9999

/usr/portage/sys-libs/liburing/liburing-9999.ebuild 2025-10-08 18:21:10.795456274 +0300
1
# Copyright 1999-2026 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
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="
......
24 27
SLOT="0/2" # liburing.so major version
25 28

  
26 29
IUSE="examples static-libs test"
30
# fsync test hangs forever
27 31
RESTRICT="!test? ( test )"
28 32

  
29 33
# At least installed headers need <linux/*>, bug #802516
......
36 40
	if ! use examples; then
37 41
		sed -e '/examples/d' Makefile -i || die
38 42
	fi
39

  
40 43
	if ! use test; then
41 44
		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 45
	fi
60 46

  
61 47
	multilib_copy_sources
......
88 74
}
89 75

  
90 76
multilib_src_test() {
77
	local disabled_tests=(
78
		accept.c
79
		conn-unreach.t
80
		fpos.c
81
		io_uring_register.c
82
		link-timeout.c
83
		read-before-exit.c
84
		recv-msgall-stream.c
85
		msg-ring.c
86
		wait-timeout.t
87
	)
88
	local disabled_test
89
	for disabled_test in "${disabled_tests[@]}"; do
90
		sed -i "/\s*${disabled_test}/d" test/Makefile \
91
			|| die "Failed to remove ${disabled_test}"
92
	done
93

  
91 94
	emake -C test V=1 runtests
92 95
}
Спасибо!