llvm-core/libclc: Remove nonfunctional target check

Remove the check for non-empty libclc_targets that never worked.
Just allow empty targets to preserve the current behavior.

Closes: https://bugs.gentoo.org/890718
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-07-09 06:11:23 +02:00
parent 0a1e18f8e4
commit 27c76a45bf
7 changed files with 6 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_11 )
inherit cmake llvm llvm.org python-any-r1
DESCRIPTION="OpenCL C library"
@@ -70,7 +70,6 @@ src_configure() {
"amdgcn-mesa-mesa3d"
"amdgcn--amdhsa"
)
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
libclc_targets=${libclc_targets[*]}
local mycmakeargs=(

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{11..12} )
inherit cmake llvm llvm.org python-any-r1
DESCRIPTION="OpenCL C library"
@@ -74,7 +74,6 @@ src_configure() {
"amdgcn-mesa-mesa3d"
"amdgcn--amdhsa"
)
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
libclc_targets=${libclc_targets[*]}
local mycmakeargs=(

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{11..12} )
inherit cmake llvm llvm.org python-any-r1
DESCRIPTION="OpenCL C library"
@@ -78,7 +78,6 @@ src_configure() {
"amdgcn-mesa-mesa3d"
"amdgcn--amdhsa"
)
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
libclc_targets=${libclc_targets[*]}
local mycmakeargs=(

View File

@@ -4,7 +4,7 @@
EAPI=8
LLVM_COMPAT=( {17..18} )
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_COMPAT=( python3_{11..13} )
inherit cmake llvm.org llvm-r1 python-any-r1
DESCRIPTION="OpenCL C library"
@@ -52,7 +52,6 @@ src_configure() {
"amdgcn-mesa-mesa3d"
"amdgcn--amdhsa"
)
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
libclc_targets=${libclc_targets[*]}
local mycmakeargs=(

View File

@@ -4,7 +4,7 @@
EAPI=8
LLVM_COMPAT=( {17..19} )
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_COMPAT=( python3_{11..13} )
inherit cmake llvm.org llvm-r1 python-any-r1
DESCRIPTION="OpenCL C library"
@@ -52,7 +52,6 @@ src_configure() {
"amdgcn-mesa-mesa3d"
"amdgcn--amdhsa"
)
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
libclc_targets=${libclc_targets[*]}
local mycmakeargs=(

View File

@@ -52,7 +52,6 @@ src_configure() {
"amdgcn-mesa-mesa3d"
"amdgcn--amdhsa"
)
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
libclc_targets=${libclc_targets[*]}
local mycmakeargs=(

View File

@@ -54,7 +54,6 @@ src_configure() {
"amdgcn-mesa-mesa3d"
"amdgcn--amdhsa"
)
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
libclc_targets=${libclc_targets[*]}
local mycmakeargs=(