Diff spirv-llvm-translator-14.0.0-r1 with a spirv-llvm-translator-15.0.0-r1

/usr/portage/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.0-r1.ebuild 2023-10-09 14:52:31.004368388 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
LLVM_MAX_SLOT="14"
6
LLVM_MAX_SLOT="15"
7 7
MY_PN="SPIRV-LLVM-Translator"
8 8
MY_P="${MY_PN}-${PV}"
9 9

  
......
16 16

  
17 17
LICENSE="UoI-NCSA"
18 18
SLOT="$(ver_cut 1)"
19
KEYWORDS="amd64"
20
IUSE="test +tools"
21
REQUIRED_USE="test? ( tools )"
19
KEYWORDS="amd64 ~riscv ~x86"
20
IUSE="test"
22 21
RESTRICT="!test? ( test )"
23 22

  
24 23
RDEPEND="
24
	dev-util/spirv-tools
25
	sys-devel/llvm:${SLOT}=
26
"
27
DEPEND="${RDEPEND}
25 28
	dev-util/spirv-headers
26
	sys-devel/clang:${SLOT}
27
	sys-devel/llvm:${SLOT}
28 29
"
29

  
30
DEPEND="${RDEPEND}"
31

  
32 30
BDEPEND="
33 31
	virtual/pkgconfig
34
	test? ( dev-python/lit )
32
	test? (
33
		dev-python/lit
34
		sys-devel/clang:${SLOT}
35
	)
35 36
"
36 37

  
37 38
src_prepare() {
......
44 45
		-DCCACHE_ALLOWED="OFF"
45 46
		-DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
46 47
		-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv"
47
		-DLLVM_BUILD_TOOLS=$(usex tools "ON" "OFF")
48 48
		-DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF")
49 49
		-Wno-dev
50 50
	)
Thank you!