Diff lld-15.0.7 with a lld-16.0.6

/usr/portage/sys-devel/lld/lld-16.0.6.ebuild 2023-10-09 14:52:35.488368501 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{9..11} )
6
PYTHON_COMPAT=( python3_{9..12} )
7 7
inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs
8 8

  
9 9
DESCRIPTION="The LLVM linker (link editor)"
......
12 12
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
13 13
SLOT="${LLVM_MAJOR}/${LLVM_SOABI}"
14 14
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
15
IUSE="debug test"
15
IUSE="debug test zstd"
16 16
RESTRICT="!test? ( test )"
17 17

  
18 18
DEPEND="
19
	~sys-devel/llvm-${PV}
19
	~sys-devel/llvm-${PV}[zstd=]
20 20
	sys-libs/zlib:=
21
	zstd? ( app-arch/zstd:= )
21 22
"
22 23
RDEPEND="
23 24
	${DEPEND}
......
31 32
	)
32 33
"
33 34
PDEPEND="
34
	>=sys-devel/lld-toolchain-symlinks-15-r2:${LLVM_MAJOR}
35
	>=sys-devel/lld-toolchain-symlinks-16-r2:${LLVM_MAJOR}
35 36
"
36 37

  
37 38
LLVM_COMPONENTS=( lld cmake libunwind/include/mach-o )
38
LLVM_TEST_COMPONENTS=( llvm/utils/{lit,unittest} )
39
LLVM_TEST_COMPONENTS=( llvm/utils third-party )
40
LLVM_PATCHSET=${PV}-r1
39 41
llvm.org_set_globals
40 42

  
41 43
python_check_deps() {
......
68 70
		-DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/llvm/${LLVM_MAJOR}"
69 71
		-DBUILD_SHARED_LIBS=ON
70 72
		-DLLVM_INCLUDE_TESTS=$(usex test)
71
		-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
72 73
	)
73 74

  
74 75
	use test && mycmakeargs+=(
75
		-DLLVM_BUILD_TESTS=ON
76 76
		-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
77 77
		-DLLVM_LIT_ARGS="$(get_lit_flags)"
78 78
		-DPython3_EXECUTABLE="${PYTHON}"
Thank you!