commit: 23964af28bf7a6463abbb774e5d31863ac3c067e Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Apr 24 14:40:46 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Apr 24 14:41:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23964af2
llvm-core/llvm: llvm-mt is built with USE=xml only now Closes: https://bugs.gentoo.org/954312 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> llvm-core/llvm/llvm-21.0.0.9999.ebuild | 8 +++++++- llvm-core/llvm/llvm-21.0.0_pre20250420.ebuild | 8 +++++++- 2 files changed, 14 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 68b0dfb7fe08..d04fe8116598 100644 --- a/llvm-core/llvm/llvm-21.0.0.9999.ebuild +++ b/llvm-core/llvm/llvm-21.0.0.9999.ebuild @@ -161,6 +161,10 @@ check_distribution_components() { llvm-debuginfod) use debuginfod || continue ;; + # used only w/ USE=xml + llvm-mt) + use xml || continue + ;; esac all_targets+=( "${l}" ) @@ -298,7 +302,6 @@ get_distribution_components() { llvm-ml llvm-ml64 llvm-modextract - llvm-mt llvm-nm llvm-objcopy llvm-objdump @@ -357,6 +360,9 @@ get_distribution_components() { use debuginfod && out+=( llvm-debuginfod ) + use xml && out+=( + llvm-mt + ) fi printf "%s${sep}" "${out[@]}" diff --git a/llvm-core/llvm/llvm-21.0.0_pre20250420.ebuild b/llvm-core/llvm/llvm-21.0.0_pre20250420.ebuild index 68b0dfb7fe08..d04fe8116598 100644 --- a/llvm-core/llvm/llvm-21.0.0_pre20250420.ebuild +++ b/llvm-core/llvm/llvm-21.0.0_pre20250420.ebuild @@ -161,6 +161,10 @@ check_distribution_components() { llvm-debuginfod) use debuginfod || continue ;; + # used only w/ USE=xml + llvm-mt) + use xml || continue + ;; esac all_targets+=( "${l}" ) @@ -298,7 +302,6 @@ get_distribution_components() { llvm-ml llvm-ml64 llvm-modextract - llvm-mt llvm-nm llvm-objcopy llvm-objdump @@ -357,6 +360,9 @@ get_distribution_components() { use debuginfod && out+=( llvm-debuginfod ) + use xml && out+=( + llvm-mt + ) fi printf "%s${sep}" "${out[@]}"
