Diff opencl-clang-14.0.0 with a opencl-clang-15.0.0
/usr/portage/dev-libs/opencl-clang/opencl-clang-15.0.0.ebuild 2023-10-09 14:52:29.540368351 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
LLVM_MAX_SLOT="14" |
|
6 |
LLVM_MAX_SLOT="15" |
|
7 | 7 | |
8 | 8 |
inherit cmake llvm |
9 | 9 | |
... | ... | |
13 | 13 |
S="${WORKDIR}/${PN}-${PV}" |
14 | 14 | |
15 | 15 |
LICENSE="UoI-NCSA" |
16 |
SLOT="14" |
|
17 |
KEYWORDS="amd64" |
|
16 |
SLOT="$(ver_cut 1)" |
|
17 |
KEYWORDS="amd64 ~riscv" |
|
18 | 18 | |
19 | 19 |
RDEPEND=" |
20 | 20 |
dev-util/spirv-llvm-translator:${SLOT}= |
... | ... | |
24 | 24 | |
25 | 25 |
DEPEND="${RDEPEND}" |
26 | 26 | |
27 |
PATCHES=( |
|
28 |
"${FILESDIR}"/${PN}-8.0.0-clang_library_dir.patch |
|
29 |
"${FILESDIR}"/${PN}-10.0.0.1_find-llvm-tblgen.patch |
|
30 |
) |
|
27 |
PATCHES=( "${FILESDIR}"/${PN}-8.0.0-clang_library_dir.patch ) |
|
31 | 28 | |
32 | 29 |
src_configure() { |
33 | 30 |
local mycmakeargs=( |