Diff libclc-22.1.0 with a libclc-23.0.0.9999
| /usr/portage/llvm-core/libclc/libclc-23.0.0.9999.ebuild 2026-03-17 11:46:07.519318565 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
LLVM_COMPAT=( 22 ) |
|
| 6 |
LLVM_COMPAT=( 23 ) |
|
| 7 | 7 |
PYTHON_COMPAT=( python3_{11..14} )
|
| 8 | 8 |
inherit cmake llvm.org llvm-r1 python-any-r1 |
| 9 | 9 | |
| ... | ... | |
| 12 | 12 | |
| 13 | 13 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" |
| 14 | 14 |
SLOT="0" |
| 15 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" |
|
| 16 |
IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi" |
|
| 15 |
IUSE="+spirv video_cards_nvidia video_cards_radeonsi" |
|
| 17 | 16 | |
| 18 | 17 |
BDEPEND=" |
| 19 | 18 |
${PYTHON_DEPS}
|
| ... | ... | |
| 21 | 20 |
llvm-core/clang:${LLVM_SLOT}
|
| 22 | 21 |
') |
| 23 | 22 |
spirv? ( |
| 24 |
>=dev-util/spirv-llvm-translator-22:* |
|
| 23 |
>=dev-util/spirv-llvm-translator-23:* |
|
| 25 | 24 |
) |
| 26 | 25 |
" |
| 27 | 26 | |
| ... | ... | |
| 48 | 47 |
"nvptx64--nvidiacl" |
| 49 | 48 |
"nvptx64-nvidia-cuda" |
| 50 | 49 |
) |
| 51 |
use video_cards_r600 && libclc_targets+=( |
|
| 52 |
"r600--" |
|
| 53 |
) |
|
| 54 | 50 |
use video_cards_radeonsi && libclc_targets+=( |
| 55 |
"amdgcn--" |
|
| 56 |
"amdgcn-amd-amdhsa" |
|
| 57 |
"amdgcn-mesa-mesa3d" |
|
| 51 |
"amdgcn-amd-amdhsa-llvm" |
|
| 58 | 52 |
) |
| 59 | 53 | |
| 60 | 54 |
libclc_targets=${libclc_targets[*]}
|
| 61 | 55 |
local mycmakeargs=( |
| 56 |
-DCMAKE_CLC_COMPILER="$(type -P clang-${LLVM_MAJOR})"
|
|
| 62 | 57 |
-DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
|
| 63 | 58 |
) |
| 64 | 59 |
cmake_src_configure |