From f99a1c55467dd0eb42265ce1f9674be20066f327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 25 Mar 2025 08:18:02 +0100 Subject: llvm-core/llvm: Disable automagic deps on hsa & CUDA runtimes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/952005 Signed-off-by: Michał Górny --- llvm-core/llvm/llvm-21.0.0.9999.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'llvm-core/llvm/llvm-21.0.0.9999.ebuild') diff --git a/llvm-core/llvm/llvm-21.0.0.9999.ebuild b/llvm-core/llvm/llvm-21.0.0.9999.ebuild index b08fdec3377a..3ca0c5392316 100644 --- a/llvm-core/llvm/llvm-21.0.0.9999.ebuild +++ b/llvm-core/llvm/llvm-21.0.0.9999.ebuild @@ -251,7 +251,6 @@ get_distribution_components() { UnicodeNameMappingGenerator # tools - amdhsa-loader bugpoint dsymutil llc @@ -425,6 +424,12 @@ multilib_src_configure() { # disable OCaml bindings (now in dev-ml/llvm) -DOCAMLFIND=NO + + # disable automagic dependencies on hsa/CUDA runtimes + # these are only used to run tests on GPU and we don't care + # about that + -DCMAKE_DISABLE_FIND_PACKAGE_hsa-runtime64=ON + -DCMAKE_DISABLE_FIND_PACKAGE_CUDAToolkit=ON ) local suffix= -- cgit v1.2.3