commit:     0493ab731361510edde65db19ae95cc350fffdc2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 16 10:40:46 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 11:32:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0493ab73

llvm-r2.eclass: Update top-level docs for CBUILD/CHOST support

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/llvm-r2.eclass | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass
index e499f9dba38d..3d18f1a0a19c 100644
--- a/eclass/llvm-r2.eclass
+++ b/eclass/llvm-r2.eclass
@@ -18,12 +18,19 @@
 # 2. Use llvm_gen_dep and/or LLVM_USEDEP to add appropriate
 #    dependencies.
 #
-# 3. Use llvm-r2_pkg_setup, get_llvm_prefix or LLVM_SLOT.
+# 3. Use llvm-r2_pkg_setup, llvm_chost_setup, llvm_cbuild_setup,
+#    get_llvm_prefix or LLVM_SLOT.
 #
 # The eclass sets IUSE and REQUIRED_USE.  The flag corresponding
 # to the newest supported stable LLVM slot (or the newest testing,
 # if no stable slots are supported) is enabled by default.
 #
+# Note that the eclass aims for a best-effort support of CHOST builds
+# (i.e. compiling/linking against LLVM) and CBUILD use (i.e. calling
+# LLVM tools at build time).  You need to determine what the package
+# in question needs, and put the appropriate packages in DEPEND and/or
+# BDEPEND appropriately.
+#
 # Example:
 # @CODE
 # LLVM_COMPAT=( {16..18} )

Reply via email to