diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-03-25 08:18:02 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-03-25 09:15:31 +0100 |
| commit | f99a1c55467dd0eb42265ce1f9674be20066f327 (patch) | |
| tree | d9c71f614831f40fc10b5266372cc583c95c66e4 /llvm-core/llvm/llvm-21.0.0.9999.ebuild | |
| parent | b0d848e9ff18dff2ec1a47d4c4487e010edd80c8 (diff) | |
| download | gentoo-f99a1c55467dd0eb42265ce1f9674be20066f327.tar.gz gentoo-f99a1c55467dd0eb42265ce1f9674be20066f327.tar.bz2 gentoo-f99a1c55467dd0eb42265ce1f9674be20066f327.zip | |
llvm-core/llvm: Disable automagic deps on hsa & CUDA runtimes
Closes: https://bugs.gentoo.org/952005
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'llvm-core/llvm/llvm-21.0.0.9999.ebuild')
| -rw-r--r-- | llvm-core/llvm/llvm-21.0.0.9999.ebuild | 7 |
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= |
