summaryrefslogtreecommitdiff
path: root/llvm-core/llvm/llvm-21.0.0.9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'llvm-core/llvm/llvm-21.0.0.9999.ebuild')
-rw-r--r--llvm-core/llvm/llvm-21.0.0.9999.ebuild7
1 files changed, 6 insertions, 1 deletions
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=