Diff opencl-clang-15.0.0 with a opencl-clang-16.0.0-r1
/usr/portage/dev-libs/opencl-clang/opencl-clang-16.0.0-r1.ebuild 2023-10-09 14:52:29.540368351 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
LLVM_MAX_SLOT="15" |
|
6 |
LLVM_MAX_SLOT="16" |
|
7 | 7 | |
8 | 8 |
inherit cmake llvm |
9 | 9 | |
... | ... | |
24 | 24 | |
25 | 25 |
DEPEND="${RDEPEND}" |
26 | 26 | |
27 |
PATCHES=( "${FILESDIR}"/${PN}-8.0.0-clang_library_dir.patch ) |
|
27 |
PATCHES=( |
|
28 |
"${FILESDIR}"/${PN}-16.0.0-clang_library_dir.patch |
|
29 |
"${FILESDIR}"/${PN}-16.0.0-cxx17.patch |
|
30 |
"${FILESDIR}"/${PN}-16.0.0-llvm.patch |
|
31 |
"${FILESDIR}"/${PN}-16.0.0-standalone-build.patch |
|
32 |
) |
|
28 | 33 | |
29 | 34 |
src_configure() { |
30 | 35 |
local mycmakeargs=( |
36 |
-DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib |
|
31 | 37 |
-DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})" |
32 |
-DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib/clang |
|
33 | 38 |
-Wno-dev |
34 | 39 |
) |
35 | 40 |