summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-12-16 11:40:46 +0100
committerMichał Górny <mgorny@gentoo.org>2024-12-30 12:32:32 +0100
commit0493ab731361510edde65db19ae95cc350fffdc2 (patch)
tree64a9ae1074107ce8836b2d68135de57d0b1cb53f /eclass
parentllvm-r2.eclass: Generate a llvm-config script for CHOST (diff)
downloadgentoo-0493ab731361510edde65db19ae95cc350fffdc2.tar.gz
gentoo-0493ab731361510edde65db19ae95cc350fffdc2.tar.bz2
gentoo-0493ab731361510edde65db19ae95cc350fffdc2.zip
llvm-r2.eclass: Update top-level docs for CBUILD/CHOST support
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/llvm-r2.eclass9
1 files changed, 8 insertions, 1 deletions
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} )