diff options
Diffstat (limited to 'llvm-core')
| -rw-r--r-- | llvm-core/llvm/llvm-21.0.0.9999.ebuild | 7 | ||||
| -rw-r--r-- | llvm-core/llvm/llvm-21.0.0_pre20250322.ebuild | 7 |
2 files changed, 12 insertions, 2 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= diff --git a/llvm-core/llvm/llvm-21.0.0_pre20250322.ebuild b/llvm-core/llvm/llvm-21.0.0_pre20250322.ebuild index b08fdec3377a..3ca0c5392316 100644 --- a/llvm-core/llvm/llvm-21.0.0_pre20250322.ebuild +++ b/llvm-core/llvm/llvm-21.0.0_pre20250322.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= |
