Diff libclc-15.0.7 with a libclc-16.0.6

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

  
4 4
EAPI=8
5 5

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

  
9 9
DESCRIPTION="OpenCL C library"
......
11 11

  
12 12
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )"
13 13
SLOT="0"
14
KEYWORDS="amd64 x86"
14
KEYWORDS="amd64 ~riscv x86"
15 15
IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi"
16 16

  
17
LLVM_MAX_SLOT=15
17
LLVM_MAX_SLOT=16
18 18
BDEPEND="
19 19
	${PYTHON_DEPS}
20 20
	|| (
21 21
		(
22
			sys-devel/clang:16
23
			spirv? ( dev-util/spirv-llvm-translator:16 )
24
		)
25
		(
22 26
			sys-devel/clang:15
23 27
			spirv? ( dev-util/spirv-llvm-translator:15 )
24 28
		)
......
45 49
}
46 50

  
47 51
pkg_setup() {
48
	# we do not need llvm_pkg_setup
52
	llvm_pkg_setup
49 53
	python-any-r1_pkg_setup
50 54
}
51 55

  
......
75 79
	libclc_targets=${libclc_targets[*]}
76 80
	local mycmakeargs=(
77 81
		-DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
78
		-DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
79 82
	)
80 83
	cmake_src_configure
81 84
}
Thank you!