Сравнение libclc-14.0.6 с libclc-15.0.7

/usr/portage/dev-libs/libclc/libclc-15.0.7.ebuild 2023-10-09 14:52:29.512368351 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..10} )
6
PYTHON_COMPAT=( python3_{9..11} )
7 7
inherit cmake llvm llvm.org python-any-r1
8 8

  
9 9
DESCRIPTION="OpenCL C library"
......
12 12
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
13 13
SLOT="0"
14 14
KEYWORDS="amd64 x86"
15
IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi"
16
IUSE="${IUSE_VIDEO_CARDS}"
17
REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )"
15
IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi"
18 16

  
19
LLVM_MAX_SLOT=14
17
LLVM_MAX_SLOT=15
20 18
BDEPEND="
21 19
	${PYTHON_DEPS}
22 20
	|| (
23
		sys-devel/clang:14
24
		sys-devel/clang:13
21
		(
22
			sys-devel/clang:15
23
			spirv? ( dev-util/spirv-llvm-translator:15 )
24
		)
25
		(
26
			sys-devel/clang:14
27
			spirv? ( dev-util/spirv-llvm-translator:14 )
28
		)
29
		(
30
			sys-devel/clang:13
31
			spirv? ( dev-util/spirv-llvm-translator:13 )
32
		)
25 33
	)
26 34
"
27 35

  
......
29 37
llvm.org_set_globals
30 38

  
31 39
llvm_check_deps() {
40
	if use spirv; then
41
		has_version -b "dev-util/spirv-llvm-translator:${LLVM_SLOT}" ||
42
			return 1
43
	fi
32 44
	has_version -b "sys-devel/clang:${LLVM_SLOT}"
33 45
}
34 46

  
......
40 52
src_configure() {
41 53
	local libclc_targets=()
42 54

  
55
	use spirv && libclc_targets+=(
56
		"spirv-mesa3d-"
57
		"spirv64-mesa3d-"
58
	)
43 59
	use video_cards_nvidia && libclc_targets+=(
44 60
		"nvptx--"
45 61
		"nvptx64--"
......
54 70
		"amdgcn-mesa-mesa3d"
55 71
		"amdgcn--amdhsa"
56 72
	)
57
	# TODO: spirv
58 73
	[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
59 74

  
60 75
	libclc_targets=${libclc_targets[*]}
Спасибо!