commit:     768388d601c7e2e416cc5a4d2b9fd4c909eeabb7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 12 08:56:08 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 13:29:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768388d6

dev-libs/libclc: Prepare for removing LLVM_CONFIG variable in 16.x

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/libclc/libclc-16.0.0.9999.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-libs/libclc/libclc-16.0.0.9999.ebuild 
b/dev-libs/libclc/libclc-16.0.0.9999.ebuild
index ed252b9ab52d..64df7867eed3 100644
--- a/dev-libs/libclc/libclc-16.0.0.9999.ebuild
+++ b/dev-libs/libclc/libclc-16.0.0.9999.ebuild
@@ -49,7 +49,7 @@ llvm_check_deps() {
 }
 
 pkg_setup() {
-       # we do not need llvm_pkg_setup
+       llvm_pkg_setup
        python-any-r1_pkg_setup
 }
 
@@ -79,7 +79,6 @@ src_configure() {
        libclc_targets=${libclc_targets[*]}
        local mycmakeargs=(
                -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
-               -DLLVM_CONFIG="$(get_llvm_prefix 
"${LLVM_MAX_SLOT}")/bin/llvm-config"
        )
        cmake_src_configure
 }

Reply via email to